How to Change Remote Desktop (RDP) Port Number in Windows 11 to Improve Security

19 August 2022

Home » Blogs » Windows » Tips and Tricks » How to Change Remote Desktop (RDP) Port Number in Windows 11 to Improve Security

Remote Protocol () is a protocol that allows users to connect to other computers over a connection using a graphical interface.

Remote Desktop software can use several protocols, including , Independent Computing Architecture (ICA), and virtual network computing (VNC), but is the most commonly used protocol.

The Remote Protocol (RDP) uses Terminal Server and Terminal Server Client to communicate. RDP is encapsulated and encrypted in the .

Advantages of Changing RDP Port Number

Since port “3389” is the universal default port for the RDP Protocol, an attacker attempting to infiltrate your system via Remote will know exactly where to look, especially if your Remote host PC is connected to the Internet.

TOP TUTORIALS:  Automatically Lock Windows 11 PC after inactivity

If you change this port, it might make it harder for an attacker to infiltrate by performing an RDP port exploit. By changing the RDP , the attacker must scan all ports to find the RDP port you are using.

Changing this does not guarantee that your PC will be safe from attacks through the RDP port, but it will increase the difficulty of breaking into your PC. Also enable other security features, such as antivirus, , and others.

TOP TUTORIALS:  Mouse Without Borders – How to Use 1 Keyboard and Mouse for 4 Computers

How To Change RDP Port In Windows 11

  1. Open the “ Editor“. You can open it by clicking the Start button and then type “” in the search box.
registry editor open
  1. In the Editor window that opens, navigate to
Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp
registry editor change port number
  1. Next to the right side of the window, find the key “PortNumber“. Then edit the indigo by double-clicking or right-clicking and selecting the “Modify” option.
  2. After that, a pop-up window will appear to edit the value. Select “Decimal” to display the port in decimal number format. Then enter the port number you want in “Value data“. You can use port numbers up to 65535. And do not use the port number that is by default used by the operating system. Then click the OK button to save the changes and close the Editor.
TOP TUTORIALS:  How to Run High Priority Apps on Windows
registry editor change portnumber
  1. Next, restart your PC to apply all these changes.


Submit a Comment