Remote Desktop Port 3389 How to change
To Alter the Port on the Client Side
- Open Client Connection Manager.
- On the File menu, click New Connection, and then create the new connection. After running the wizard, you should have a new connection listed there.
- Making sure that the new connection is highlighted, on the File menu, click Export. Save it asname.cns.
- Edit the .cns file using Notepad changing “Server Port=3389” to “Server Port=xxxx” where xxxx is the new port that you specified on Terminal Server.
- Now import the file back into Client Connection Manager. You may be prompted to overwrite the current one, if it has the same name. Go ahead and overwrite it. You now have a client that has the correct port settings to match your change Terminal Server settings.
To Alter the Port on the Server Side
To change the default port for all new connections created on the Terminal Server:
- Run Regedt32 and go to this key:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp
NOTE: The above registry key is one path; it has been wrapped for readability.
- Find the “PortNumber” subkey and notice the value of 00000D3D, hex for (3389). Modify the port number in Hex and save the new value.To change the port for a specific connection on the Terminal Server:
- Run Regedt32 and go to this key:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Terminal Server\WinStations\connection
NOTE: The above registry key is one path; it has been wrapped for readability.
- Run Regedt32 and go to this key:
- Find the “PortNumber” subkey and notice the value of 00000D3D, hex for (3389). Modify the port number in Hex and save the new value.