Admin-Ahead Community

Windows => General Windows => Topic started by: Leo.Prince on November 09, 2013, 02:11:01 pm

Title: How to change the RDP port
Post by: Leo.Prince on November 09, 2013, 02:11:01 pm
Hi,

We might needed to change the server RDP port due to security measures. You can do that by the following steps

1, First step should be enabling the RDP from server end. You can go there by right clicking on "My Computer" -> Propreties. Choose "Advanced System Settings" from the left side menu.

(http://4.bp.blogspot.com/-xVhYuY26Zpo/UPlnOaL4FmI/AAAAAAAAAK4/Xc6xbEVOxVY/s400/rdp-enable.png)

2, Next step is to change the RDP port. Open the registry editor (regedit: open cmd -> regedit.exe). Select HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TerminalServer\WinStations\RDP-Tcp\PortNumber . Change to decimal mode, and change the port number, then click ok.

(http://2.bp.blogspot.com/-wcAIkiqpvnQ/UPlnOOiM6fI/AAAAAAAAAKw/lVxNtAHrwZU/s400/rdp-port.png)

3, Now we needed open the port in firewall. Open Server Manager, Select Firewall Settings in the left menu, right click on Inbound Rouls -> New. Choose TCP, set Port number, and name it.

(http://4.bp.blogspot.com/-ufgZOjQykik/UPlnOeyfsJI/AAAAAAAAAK0/2cxV04VcSNc/s400/tcp_friewal.png)

That is it. :)