Instructions to change the Remote Desktop port

1. Change the Remote Desktop port in the registry

Step 1: You press Windows + R key combination to open the Run dialog box . Next, enter the command regedit (1) => OK (2) .

Instructions to change the Remote Desktop port Picture 1

Step 2: You access the path HKEY_LOCAL_MACHINESystemCurrentControlSetControlTerminal ServerWinStationsRDP-Tcp .

Next, right-click the PortNumber key (1) => Modify . (2) .

Instructions to change the Remote Desktop port Picture 2

Step 3: Click Decimal (1) to convert to decimal. Next, change the number of ports you want in the Value data (2) => OK (3) section . Once done, restart the computer to change the settings

Instructions to change the Remote Desktop port Picture 3

2. Grant access to the newly changed port in Windows Firewall

In case you cannot access the Remote desktop after changing the port, it is possible that your Remote desktop port is blocked by Windows Firewall.

Step 1: Press the key combination Windows + S (Windows) or Start (Windows 7) and search for the keyword firewall (1) => Windows Defender Firewall (2) .

Instructions to change the Remote Desktop port Picture 4

Step 2: Choose Advanced settings .

Instructions to change the Remote Desktop port Picture 5

Next, you select to Inbound Rules (1) => New Rule . (2) .

Instructions to change the Remote Desktop port Picture 6

Step 3: Choose Port (1) => Next (2) .

Instructions to change the Remote Desktop port Picture 7

Step 4: Next, select TCP (1) => Specific local ports (2) => enter the port number you just changed (3) => Next (4) .

Instructions to change the Remote Desktop port Picture 8

Step 5: Choose Allow the connection (1) => Next (2) .

Instructions to change the Remote Desktop port Picture 9

Next, click Next .

Instructions to change the Remote Desktop port Picture 10

Step 6: You name the access command (1) => write description information about the access command (2) => Finish (3) .

Instructions to change the Remote Desktop port Picture 11

3. Access Remote Desktop with new port

To access the Remote desktop with the new port name, open the remote desktop on Windows and use the syntax in the Computer section

(IP address) :( port number)

Instructions to change the Remote Desktop port Picture 12

or (Host name / Computer name) :( port number)

Instructions to change the Remote Desktop port Picture 13

By changing the port in the Remote desktop, you can secure the remote desktop connection than leaving the default port. Good luck!

4 ★ | 1 Vote

May be interested