Windows

How to Change Remote Desktop Port in Windows 11

Richard
Written by
Richard
Jul 5, 2022 Updated Apr 15, 2026 1 min read

This guide explains how to change the remote desktop listening port in Windows 11.

When you use Remote Desktop to connect to your computer, it listens for a signal on a specific door, known as a port. By default, this is set to 3389. Because everyone knows this number, changing it can make your computer harder for strangers to find.

Why change the port? Changing this number adds a layer of security by hiding your connection from standard scans.

What happens when done? Your computer will stop listening on the old port and only accept connections through the new number you choose.

Before you begin, check out our guide on how to enable remote desktops in Windows 11. You can also view more tips here: How to enable remote desktop in Windows 11..

How to change the Remote Desktop port

To change this setting, you must edit the Windows Registry. Note: This step requires administrator privileges.

  1. Click the Search icon and type regedit to open the registry editor.
  2. Use the folder tree on the left to navigate to this path: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp
Windows 11 settings for changing the default Remote Desktop port

  1. Find the item named PortNumber on the right side.
  2. Right-click it and select Modify.
  3. Select the Decimal option.
  4. Type your new port number in the box and click OK.
Editing the PortNumber value in Windows Registry Editor for RDP

  1. Close the Registry Editor and restart your computer to save the changes.

Summary

Changing your Remote Desktop port is a simple way to improve your computer’s security. By moving away from the default 3389, you make it much harder for unauthorized users to target your system. Remember to save your new port number in a safe place, as you will need it to connect in the future.

Was this guide helpful?

Tags: #Windows 11
Richard

About the Author

Richard

Tech Writer, IT Professional

Richard, a writer for Geek Rewind, is a tech enthusiast who loves breaking down complex IT topics into simple, easy-to-understand ideas. With years of hands-on experience in system administration and enterprise IT operations, he’s developed a knack for offering practical tips and solutions. Richard aims to make technology more accessible and actionable. He's deeply committed to the Geek Rewind community, always ready to answer questions and engage in discussions.

Leave a Reply

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

Exit mobile version