How to Change the RDP Port on Windows 10

Created by Antonio Contreras, Modified on Fri, 17 Feb, 2023 at 5:16 PM by Antonio Contreras


Click the Start menu and type “regedit,” then click the “Registry Editor” icon that appears.

Using the sidebar on the left side of the Registry Editor window, browse to this key (or you can paste it in the Registry Editor address bar):

KEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp

Navigate to this Registry key.

Once you’re looking at the contents of the “RCP-Tcp” key, scroll down in the list in the right half of the window and double-click “PortNumber.”

In Registry Editor, select "PortNumber."

When the small edit window opens, then select the “Decimal” option under “Base.” Using the text entry box, change the value to the new port number you want to use for RDP. For example, if you want to use port “1337” for RDP in the future, you would type in 1337 . Then click “OK” to save the changes.

Tip: If you ever want to change the RDP port back to the default, repeat these steps and enter “3389” as the port number.

Select "Decimal," and type in the new RDP port number.

Close the Registry Editor and restart your computer for the changes to take effect.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article