Jan
16

Removing Terminal Server licenses from an RDP client

If an unlicensed client connects to a Terminal Server for the first time, the Terminal Server issues the client a temporary Terminal Server Client Access License (CAL) token. After the user has logged into the session, the Terminal Server instructs the License Server to mark the issued temporary Terminal Server CAL token as being validated. The next time the client connects, an attempt is made to upgrade the validated temporary Terminal Server CAL token to a full Terminal Server CAL token. If no license tokens are available, the temporary Terminal Server CAL token will continue to function for 90 days. The license is stored in the client’s registry.

RDP clients store their license under the key HKEY_LOCAL_MACHINE\Software\Microsoft\MSLicensing.

Jan
12

Outlook Notes Syncing with iPhone

A number of users going from the blackberry to iPhone miss been able to get outlook notes synced to the iPhone.  I have been looking around for an app that will do this and could find plenty of paid ones but managed to find an app that will allow you to sync this for free.  Sync Outlook tasks & notes, both via Wi-Fi and G3 using iMExchange 2.

Jan
05

Free PC programs everyone should have

Anti-virus and malware protection

Most computer users realize that they need protection on their computer or may have an installed anti-virus program from their computer manufacturer. What most don’t realize is that there are free programs that are just as good and in some cases better than the commercial products. Below are our recommendation of what to use.

Anti-virus program:  AVG

Malware / Spyware protection: Malwarebytes

Backup solutions

There are dozens of free and commercially available backup programs for computers. Unfortunately many of those backups are stored locally, meaning if your house were to catch fire, get robbed, or if you lost your backup discs all your data would be lost. This is why when dealing with important data we suggest users use online backup services.

Online backup solution: Mozy * or Dropbox
* Free 2GB of online backup for personal use

Browsers

Although Microsoft Internet Explorer comes pre-installed on Windows computers. There are several excellent free alternatives that everyone should try. These free alternatives can often be faster, have more options, and in many cases be more secure than Internet Explorer.

Internet Browser: Mozilla Firefox or Google Chrome

Disc ripper and creation utility

Creating an audio or data CD/DVD, ripping the data from an audio CD, or creating a CD from a .ISO file can also be done freely using our below free recommendation.

CD burner / ripper utility: CDBurnerXP

E-mail

E-mail is yet another service that can be done freely. Most users today use online e-mail solutions like the one listed below. However, for those still using an e-mail client such as Microsoft Outlook we strongly suggest one or both of the below suggestions.

E-mail client: Mozilla Thunderbird

Online e-mail: Gmail

FTP, SFTP, and SSH Utility

Users who maintain their own web page or need to upload or download files to or from a server will have to use an FTP utility or a SSH client. There are many commercial programs capable of doing this but our below free recommendations beats them all.

FTP client: Filezilla

SSH client: Putty

Multimedia

There are dozens of different multimedia programs with different capabilities and limitations. Below are our top free multimedia programs for watching video files and recording audio.

Audio editing and creating tool: Audacity

Video and DVD Player: VLC

Office Suite

An Office suite such as Microsoft Office is often one of the most expensive programs that a user can install on their computer. Why install these expensive programs when there are free solutions that are just as good.

Office suite: OpenOffice

Notepad / Source code editor: Notepad++

Dec
07

iPad,iPhone 4s Showing All Contacts.

IT Problem

Upon setting the iPhone 4 and iPad’s  to sync with exchange 2010 I found that I went from have my usual hundred or so contacts to literally thousands. So finding people to call or text was a major pain for the users. After playing around with the iPhone and outlook 2010 I found the solution to stop the iPhone syncing unwanted contacts.

IT Solution

It turned out to that the iPhone will always pull all your contacts in outlook, the trick is to clear down your “suggested” contacts. For me this is not an issues as I email hundreds of people per week and the last thing I need is all their information in my iPhone. We need to disable the feature in outlook to stop adding suggested contacts to the iPhone

So first , launch outlook 2010 and click on File.

Then select Options. Once done select the contacts option as seen below, you will need to then take the tick out of automatically create outlook contacts for recipients. This still leaves all of your old suggested contacts in place, it  does not remove them and no further suggested contacts will be added.

Now that we have disabled this feaute we now need to remove the existing suggested contacts.  So select contacts.

Then browse to suggested contacts at the top of the screen. Simply select all of your suggested contacts and them delete. there may be thousands in there.

Then finally we need to resync our iPhone or iPad so we dont not see all of the old suggested contacts.

On your iPhone or iPad go to Settings > Mail, Contacts, Calendars > select the email account, turn the contacts syncing off, and back on again.

Your iPhone will then resync in some cases it will need to to a restart of the device.

Dec
06

PowerShell scripts for Exchange 2010 administrators

You can use the Exchange Management Shell to perform every task available in the Exchange Management Console and tasks that you can’t perform in the Exchange Management Console. What’s more, when you perform a task in the Exchange Management Console, the same command is made available to the Exchange Management Shell and called to process the request.

Exchange Server 2010 includes numerous Exchange Management Shell cmdlets, but it also provides some PowerShell scripts that are designed to accomplish more complex tasks.

Below is a list of some of the most useful scripts that are included with Exchange Server 2010. All these scripts can be found in the server’s \Program Files\Microsoft\Exchange Server\V14\Scripts folder.

1: CheckInvalidRecipients.ps1

The CheckInvalidRecipients.ps1 script is designed to correct situations in which a recipient has two different SMTP addresses set as the primary address. If such a recipient is detected, this script will set the WindowsEmailAddress as the primary SMTP address.

You can also use this script to ensure that a distribution group is truly hidden if the HideDLMembershipEnabled attribute is set to true. Exchange 2010 has a bug in which the membership may not truly be hidden if the ReportToManagerEnabled, ReportToOriginatorEnabled, or SendOofMessageToOriginatorEnabled attributes are set to true. The script looks for such conditions and sets these attributes to false so that DL membership will remain hidden.

2: CollectOverMetrics.ps1

The CollectOverMetrics.ps1 script reads the Database Availability Group member’s event logs and compiles a report of recent activity. The report indicates when databases were mounted or dismounted and when a failover has occurred, and it provides information about other relevant events, such as database moves.

All the events are written to a CSV file. Each line of the CSV file contains the event, the database identity, the time of the event, the server on which the database was mounted, the reason for the operation, and whether the operation was successful.

3:  CollectReplicationMetrics.ps1

The CollectReplicationMetrics.ps1 script can help you find out how well database replication is performing. When the script is run, it gathers real-time performance data by using Performance Monitor counters. The script compiles replication performance data from multiple mailbox servers and writes each server’s data to a separate CSV file. You can specify individual servers to monitor or you can run the script against the entire Database Availability Group. Although the script creates a separate report for each server, it also creates a summary report named HaReplPerfReport.<timestamp>.csv

4: Install-AntispamAgents.ps1

One of the Edge Transport Server’s jobs is to perform message hygiene by checking inbound and outbound messages for viruses and spam. However, smaller organizations often opt to save money by not deploying an Edge Transport Server. Instead, Internet mail is brought directly into the Hub Transport Server.

The Hub Transport Server performs the same types of message hygiene as an Edge Transport Server, but the anti-spam agents are not installed by default. You can install them by using the Install-AntispamAgents.ps1 script.

5: Export-OutlookClassification.ps1

Before Outlook can classify messages or report on message classifications, it needs to know which message classifications are in use in your Exchange organization. To determine this, run the Export-OutlookClassification script on your Exchange Server and redirect the output to an XML file. To do so, you can use a command like this one:

./Export-OutlookClassification.ps1 > C:\Classifications.xml

Once you have created the XML file, you must copy it to each user’s computer. To complete the process, get Outlook to use the XML file by creating the following registry entries:

[HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Common\Policy]
"AdminClassificationPath"="c:\\Classifications.xml"
"EnableClassifications"=dword:00000001
"TrustClassifications"=dword:00000001

Keep in mind that editing the registry is dangerous and you can destroy Windows and / or your applications if you make a mistake. You should always create a full system backup prior to making any registry modifications.

6: MoveAllReplicas.ps1

Occasionally, you may need to decommission a public folder server and replace it with another server. While the process of removing the public folder replicas from the old server and creating the replicas on the new server can be done manually, Microsoft provides a script for the job: MoveAllReplicas.ps1.

To use this script, just supply the -Server switch, the name of the old server, the -NewServer switch, and the name of the new server. Here is an example of how to use the script:

.\MoveAllReplicas.ps1 -Server Server1 -NewServer Server2

7: MoveMailbox.ps1

If you’ve been working with Exchange 2007 or Exchange 2010 for awhile, you are no doubt familiar with the Move-Mailbox cmdlet. What you might not know is that Microsoft also provides a script named MoveMailbox.ps1.

At its simplest, this script requires you to provide the name of the mailbox you want to move and the identity of the target mailbox database. For example, if I wanted to move my own mailbox, the command might look like this:

.\MoveMailbox.ps1 -Identity "Brien@contoso.com"  -TargetDatabase "DB2"

8: MailboxDatabaseReseed.ps1

If you have problems with the replication in a Database Availability Group, your active and passive databases could fall out of sync. In extreme situations, you may need to reseed the passive database copy. You can accomplish the reseeding process using the MailboxDatabaseReseed.ps1 script. Reseeding the passive copy essentially removes the passive database copy and then rebuilds by replicating the Active database. Although you can reseed manually, this script simplifies the reseeding process.

9: Move-TransportDatabase.ps1

The message queues on a hub transport server rely on databases that are similar to mailbox databases and public folder databases. By default, Microsoft stores these databases on the Hub transport server at C:\Program Files\Microsoft\Exchange Server\V14\TransportRoles\Data\Queue.

If the server’s C: drive begins running low on space, or if system performance becomes an issue, you many need to move the transport database to a new location. You can do this with the Move-TransportDatabase.ps1 script. You just need to provide a new database path and a new database logging path. For example, the command might look like this:

Move-TransportDatabase.ps1 -QueueDatabasePath D:\Exchsrvr -QueueDatabaseLoggingPath D:\Exchsrvr\logs

10: Get-SetupLog.ps1

Any time you install Exchange 2010, Setup creates a folder named C:\ExchangeSetupLogs. This folder contains numerous log files related to the installation process. Although you can read any of these log files using a text editor like Notepad, doing so can be cumbersome, to say the least. Microsoft has provided the Get-SetupLog.ps1 script to make reading the logs easier. When you run this script, important log entries are color-coded to indicate errors and warnings.

Nov
25

Your media usage rights have become corrupted or are no longer valid.

Your media usage rights have become corrupted or are no longer valid.  I receive this message in Windows Media Player and here is how to fix the issue.

To resolve this problem, reset the DRM store on the computer. To do this, follow these steps:

1. If Windows Media Player 11 is running, exit Windows Media Player 11.
2. Locate the DRM folder on the hard disk, and then rename the DRM folder to DRMbackup.
3. By default, this folder is in the following location in Windows Vista:
%SystemDrive%\ProgramData\Microsoft\Windows\DRM
4. Visit the following Microsoft Web site:
http://drmlicense.one.microsoft.com/Indivsite/en/indivit.asp
5. Follow the instructions on the Web site to update the security component of Windows Media Player 11. This procedure enables you to obtain new licenses for media content. You can also reset licenses for purchased content so that you can play that content on a computer.
Note On a Windows Vista-based computer, you must run Internet Explorer as an administrator before you update the security component of Windows Media Player 11. To do this, follow these steps:
a. Click Start, and then click All Programs.
b. Right-click Internet Explorer, and then click Run as Administrator.
If you are prompted for an administrator password or for confirmation, type your password, or click Continue.

 

Nov
24

How to disable the Autorun functionality in Windows

The purpose of Autorun

The main purpose of Autorun is to provide a software response to hardware actions that you start on a computer. Autorun has the following features:

  • Double-Click
  • Contextual Menu
  • AutoPlay

These features are typically called from removable media or from network shares. During AutoPlay, the Autorun.inf file from the media is parsed. This file specifies which commands the system runs. Many companies use this functionality to start their installers.  But also some viruses can also install the same way.

Method 1

  1. Click Start, type Gpedit.msc in the Start Search box, and then press ENTER. 
    If you are prompted for an administrator password or for confirmation, type the password, or clickAllow.
  2. Under Computer Configuration, expand Administrative Templates, expand Windows Components, and then click Autoplay Policies.
  3. In the Details pane, double-click Turn off Autoplay.
  4. Click Enabled, and then select All drives in the Turn off Autoplay box to disable Autorun on all drives.
  5. Restart the computer.

Method 2

  1. Click Start, type Gpedit.msc in the Start Search box, and then press ENTER.
    If you are prompted for an administrator password or for confirmation, type the password, or clickAllow.
  2. Under Computer Configuration, expand Administrative Templates, expand Windows Components, and then click Autoplay Policies.
  3. In the Details pane, double-click Default Behavior for AutoRun.
  4. Click Enabled, and then select Do not execute any autorun commands in the Default Autorun behavior box to disable Autorun on all drives.
  5. Restart the computer.

Nov
14

Trust Relationship Between Workstation and Domain Fails

When trying to login the user is getting an error “The trust relationship between this workstation and the primary domain failed.” and fails to login.   The computer’s machine account has the incorrect role or its password has become mismatched with that of the domain database.

If you login as local admin and take the computer off the domain and back on the domain will be able to login again.

Nov
11

How to import NK2 file to Microsoft Office 2010

Earlier versions of Outlook store the nickname cache .nk2 file in the following folder.

  • Windows XP
    Drive:\Documents and Settings\Username\Application Data\Microsoft\Outlook
  • Windows Vista and later versions
    Drive:\Users\Username\AppData\Roaming\Microsoft\Outlook

Once you have copied the NK2 fike to the location in Microsoft Office 2010 needs to import this.

  • Click Start, and then click Run.
  • In the Open box, type outlook.exe /importnk2, and then click OK. This will import the .nk2 file into the Outlook 2010 profile.  This will then rename the nk2 file to .nk2.old once outlook finishes to open you will find the Suggested Contacts are now back in outlook that you had.

Nov
09

Windows domain profile issue

When trying to recreate a profile in Windows 7, Vista or XP keeps login user in as temp user rather than creating a new profile.

HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList

And you’ll see a list of profiles with meaningless names
 
Select through till you see you’re profile and then delete that entry.  Log off and on again (reboot maybe required but log off appears to work) and you’re new profile will be created.

Older posts «