Windows – How to change the RDP listening port

remote desktopwindows

How do I change the port that I use to remotely access a Windows (7) computer?

Best Answer

This Microsoft Support aticle gives the answer. Just change the following registry key:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TerminalServer\WinStations\RDP-Tcp\PortNumber

Although this article does not call out Windows 7 specifically, it does work and is actually referenced by this RDP FAQ for Windows 7(see the last question).