Windows Desktop/Server: Change Remote Desktop Port
Changing your computer or server’s remote desktop port from the default 3389
in Windows is just one additional layer of obscurity. The process is very simple but will require a reboot of your computer or server. This can be easily achieved by modifying a registry entry for Terminal Server.
You’ll want to open “regedit” and make your way down to:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp
Look for the registry entry for PortNumber
and simply modify the value in Decimal
to your new desired port. Once you save your changes, you will be required to reboot your computer or server for the changes to take effect.