Save 15% on Instant Deploy Bare-Metal Servers in 26 Global Markets with Coupon Code: EdgeSave

Change the port Terminal Services listens on

In order to change the listening port:

1) Run REGEDIT on your server.

2) Export the following key:
HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlTerminal ServerWinStationsRDP-Tcp

3) Edit the REG file and change the name of the key to something like:
HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlTerminal ServerWinStationsRDP-Tcp-New

4) In the REG file find
and change it to whatever port you want.

5) Import the REG file back to the registry.

You can now connect to the new port by using the “old” Windows 2000 Terminal Server client. A better option is to use the XP RDP 5.1 or the newer Windows Server 2003 RDP 5.2 client.

To Alter the Port on the client side:

1) Go to the Start menu and click on Run.

2) On the Run menu, type MSTSC and click Enter.

Note: To use RDP on computers with operating systems other than Windows XP/2003 you will first need to install the RDP client.

3) In the RDP window, in the Computer box, scroll to the computer name or IP to which you wish to connect.

4) Add a “:Port” (without the quotes) where “Port” is the decimal value of the destination port.

5) Press Connect.

Another method of connecting to a different port than the default is to run the MSTSC command with the required command line parameters:

For example: MSTSC /v:

Share on Twitter
Share on Facebook