How to Change the RDP Port in Windows?

STEP 1
Connect to the Windows Client/Server over RDP
Launch the Registry Editor (press WIN+R, type regedit, press Enter)

STEP 2
Navigate to the Remote Desktop Registry (RDP-Tcp)
Go to HKEY_LOCAL_MACHINESystemCurrentControlSetControlTerminal ServerWinStationsRDP-Tcp.

STEP 3
Change the default RDP port number
Double-click on the PortNumber value and change the port to 33091 (Decimal).
Click OK to save the changes
Restart your Windows computer or restart RDP services using the command prompt for changes to apply.
Cmd: net stop termservice & net

STEP 4
Connect to the windows computer after restarting via RDP and include the new RDP port.

STEP 5
Confirm listening port for RDP
Once you have successfully connected to the windows computer using the new RDP port, you can use the netstat -na | Find ?List? command to confirm Remote Desktop Service is listening on the new port.
Changing RDP port helps to reduce the risk of port scanners and RDP vulnerabilities.

Share :

How to Change the RDP Port in Windows?