How To Change Remote Desktop (RDP) Port On Windows 10

Written by Brendan Smith
Many PC owners enjoy the feature of Remote Desktop for accessing their home or work PCs on Windows 10. Implementing this feature 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? How to set up remote access and maintain your system in a safe environment? The trick is simple – modify the 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 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):
    Run Regedit
  2. Go to HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp:
    Regedit RDP
  3. Perform a double-click on the PortNumber value:
    RDP TCP
  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:
    RDP port changes
  6. Don’t 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. Type
    mstsc
  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:
    Remote Desktop Connection
  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 it to investigate/attack common ports to access 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”:
    RDP Options
  • 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.

Sending
User Review
0 (0 votes)
Comments Rating 0 (0 reviews)

About the author

Brendan Smith

I'm Brendan Smith, a passionate journalist, researcher, and web content developer. With a keen interest in computer technology and security, I specialize in delivering high-quality content that educates and empowers readers in navigating the digital landscape.

With a focus on computer technology and security, I am committed to sharing my knowledge and insights to help individuals and organizations protect themselves in the digital age. My expertise in cybersecurity principles, data privacy, and best practices allows me to provide practical tips and advice that readers can implement to enhance their online security.

Leave a Reply

Sending