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.

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. 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:

Connect To Windows 10 Using 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.

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

  1. Keith Esau

    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!

    Reply
  2. Jim Ferrell

    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.

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.