Advertisement

Change Remote Desktop (RDP) Port in Windows 10

RDP stands for Remote Desktop Connection. It is a special network protocol which allows a user to establish a connection between two computers and access the Desktop of a remote host. It is used by Remote Desktop Connection. The local computer is often referred to as the "client". In this article, we'll see how to change the port that Remote Desktop listens on.

Advertisеment

The default port is 3389.

Before we continue, here are some details about how RDP works. While any edition of Windows 10 can act as Remote Desktop Client, to host a remote session, you need to be running Windows 10 Pro or Enterprise. You can connect to a Windows 10 Remote Desktop host from another PC running Windows 10, or from an earlier Windows version like Windows 7 or Windows 8, or Linux. Windows 10 comes with both client and server software out-of-the-box, so you don't need any extra software installed. I will use Windows 10 "Fall Creators Update" version 1709 as a Remote Desktop Host.

First of all, ensure that you had properly configured RDP in Windows 10. Also, you must be signed in with an administrative account to continue.

To change the Remote Desktop (RDP) port in Windows 10, do the following.

  1. Open the Registry Editor app.
  2. Go to the following Registry key.
    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp

    See how to go to a Registry key with one click.

  3. On the right, modify the 32-Bit DWORD value "PortNumber". By default, it is set to 3389 in decimals. Note: Even if you are running 64-bit Windows you must use a 32-bit DWORD value.
    Rpd Port ValueSwitch it to Decimal and enter a new value for the port. For example, I will set it to 3300.Change RDP Port In Windows 10
  4. Open the new port in Windows Firewall. See how to open a port.
  5. Restart Windows 10.

Now, you can connect to the RDP server using the built-in "Remote Desktop Connection" tool (mstsc.exe). The procedure is described in detail in the following article:

https://winaero.com/blog/connect-windows-10-remote-desktop-rdp/

Once you change the port, you should specify the new port value in the connection string on the client machine. Add it separated by a double comma after the address of the remote computer (your RDP server's address). See the following screenshot.Client Mstsc New RDP PortI have successfully connected with the new port value.

Connected With New RDP Port

 

To save your time and avoid manual Registry editing, you can use Winaero Tweaker. The app has the appropriate option under Network\RDP port.

Tweaker RDP Port

You can download Winaero Tweaker here:

Download Winaero Tweaker

That's it.

Support us

Winaero greatly relies on your support. You can help the site keep bringing you interesting and useful content and software by using these options:

If you like this article, please share it using the buttons below. It won't take a lot from you, but it will help us grow. Thanks for your support!

Advertisеment

Author: Sergey Tkachenko

Sergey Tkachenko is a software developer who started Winaero back in 2011. On this blog, Sergey is writing about everything connected to Microsoft, Windows and popular software. Follow him on Telegram, Twitter, and YouTube.

8 thoughts on “Change Remote Desktop (RDP) Port in Windows 10”

  1. This does not work because you must ALSO change the port settings for Windows Firewall, and it won’t let you change the Remote Desktop rules!

  2. This does not appear to work for Win 10 version 1809. After changing registry settings and a reboot, RDP is still listening on port 3389.

    Just a piece of advice for anyone who might read this, if you setup standard RDP on port 3389 and allow firewall pass through, you will be under a world wide assault within minutes.

    1. Nutty IDEA!
      change the Routers port forwarding to 65535 on the PUBLIC side and on the internal side point that forward to 3389…

  3. Update your article to include that a NEW inbound firewall rule must be created. The existing rule has predefined fields that cannot be updated to reflect the new port. The computer WILL listen on the new port, but traffic will not be accepted through the firewall without a new rule.

Leave a Reply

Your email address will not be published.

css.php
Using Telegram? Subscribe to the blog channel!
Hello. Add your message here.