Category Archives: Fixes

How to change Terminal Server’s listening port

An oldie but goodie. I use this often – http://support.microsoft.com/kb/187623

Regedit.
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp

Change the port number from Decimal 3389 to something else.

You will have to restart the server after this.

PS. To access Remote Desktop quickly, type mstsc -v:[server, IP, or net address] from a command prompt.

Getting rid of a Sync’ed server

Finally found an answer to a problem that had been bugging me for some time.
When a new server gets put into place, some workstations with XP Pro might have offline files configured. How do we get rid of these entries? It wasn’t enough to just delete the files. The PC kept wanting to look for the old server.

1. Open Up Windows Explorer. Tools. Folder Options. Offline Files. View Files. Ctrl-A to select all files. SHIFT-DEL to delete all offline files stored on the PC.
2. Regedit. HKCU\software\microsoft\windows\currentversion\netcache\. Locate and remove all entries pointing to the old server.
3. Do this for all users loggin on to the PC.

PS. Daniel Mundy added a comment on the previous blog site:
Or you can set the following registry key once, avoid having to log in as each user:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\NetCache
Key Name: FormatDatabase
Key Type: DWORD
Key Value: 1