How do I change the port that Remote Desktop listens on?

by Feb 05, 2008

Q: How do I change the port that Remote Desktop listens on?

Open registry editor and navigate to

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TerminalServer\WinStations\RDP-Tcp\PortNumber
Enter the new port number in decimal mode and then restart the computer.
You will then connect by appending :newportnumber after the computer name.