Change RDP port on Windows server

How to Change RDP port on Windows server?

Remote Desktop Protocol is a secure network protocol developed by Microsoft which provides a user interface with good graphics to connect to another computer over a network connection. The user needs to install a RDP client software on their local system and the remote computer must run the RDP server software. To provide better security to Windows server, sometimes we need to change the Remote Desktop Protocol (RDP) port from default 3389 to something else.

Note that the Remote Desktop connection client for the Mac only supports 3389 port, which is the default port of RDP. And also, when we change the RDP port on a Windows server with firewall protection, make sure that the firewall configured properly to allow access to new port. Let’s discuss about how we can change the Remote desktop port on a Windows Server.

 

1) Connect to the server via Remote desktop and open “Register Editor” by typing “regedit” command on run dialog box. Click simultaneously on the Windows logo + ‘R’ to open the “Run” dialog box.

Change RDP port on Windows server

 

2) Locate and then click the following registry subkey from the list:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp\PortNumber

Change RDP port on Windows server

 

Right click on the “Port number” registry key and choose the option “Modify”

Next select “Decimal” option and then type the new port number and click on the “OK” button to save the selection.

Change RDP port on Windows server

 

3) After making the necessary changes quit the Registry editor and Restart the server.

 

That’s it! You now know how to change Windows RDP port.



Easysoftonic