How to change RDP Port number

In order to change the Windows Remote Desktop Port used to RDP into the machine, you need to update the registry of your windows machine.

Using keyboard shortcut “Windows key+r” you will get the windows Run Command window.

Type “regedit.exe” and click OK button to open the Registry Editor.

Navigate to:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp

Double click on “PortNumber” and change the Base radio button to “Decimal” in order to see the port number.

From here, you can change your port number, suggested 3390 or 3391.