Change port Remote Desktop Windows 10

Many PC owners enjoy the feature of Remote Desktop for accessing their home or work PCs on Windows 10. Implementing this feature simply requires setting up a specific port forwarding rule by accessing your router settings. As a result, you can get incoming connections on any port and forward them to the RDP port of the Windows computer on the LAN. However, what if your PC is connected to the web without any router in place? How to set up remote access and maintain your system in a safe environment? The trick is simple modify remote desktop port in Windows parameters.

The Remote Desktop by default applies port 3389, which is a well-known fact. This means that hackers can examine the default RDP port and if they manage to obtain a login/password prompt they may initiate the brute force attack and eventually gain access to your system via RDP. Below please find the working solution on how to amend Remote Desktop Port on Windows 10 to some non-standard parameter to enhance security and avoid brute force attacks targeting the default service port.

How To Modify Remote Desktop Port Number On Windows 10

  1. Launch the Registry Editor [press Win+R, type regedit, press Enter]:

  2. Go to HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp:

  3. Perform a double-click on the PortNumber value:

  4. Amend the value to Decimal mode:

  5. Modify the default port from 3389 to your desired port number. For example, set it to be 33089:

  6. Dont forget to click OK to save the changes;
  7. Restart your PC to apply the amendments.

Checking the access via the amended RDP port

  1. Apply the Win + R hotkey.
  2. Typemstsc
  3. Click OK
  4. Provide the IP address of your remote server, as well as the new port number in the Remote Desktop Connection window:

  5. Press Enter to initiate the connection.

Important tip: we strongly advise that you use the RDP session only in conjunction with the OpenVPN or other VPN service available. However, amending the default port for the Remote Desktop tool will make a possible hack a bit more complex as hackers use to investigate/attack common ports to get access to your computer or server.

Another important piece of advice: when you have a specific shortcut to get connected to your remote desktop server, make sure you provide it with the new settings that reflect the change of the port number. Failure to do so will not let you connect properly.

Steps to create a new RDP shortcut or to modify the existing one

  • Apply the Win + R hotkey, then type mstsc and hit Enter to start RDP dialogue:
  • click on Show Options or More Options;
  • optionally provide your user name and, if necessary, check the flag Allow me to save credentials:

  • click on Save as;
  • finally, create a new RDP shortcut, or replace the existing shortcut with the new one.
  • .

Performing the steps above will give your security for your Windows and protect your system from hackers. An example see Dharma ransomware article.

Video liên quan

Chủ Đề