HOW TO: Change the Listening Port for Remote Desktop

Last modified: April 13, 2020
You are here:
Estimated reading time: < 1 min

To change the port that Remote Desktop listens on, follow the below steps –

These are the steps you can take to modify your registry. Make sure you properly modify the registry, as anything goes wrong, it may cause problems. Backup the registry before changing it for safety.

  1. Start the Registry Editor.
  2. Locate and click the following registry sub-key –
  3. HKEY_LOCAL_MACHINESystemCurrentControlSetControlTerminalServerWinStationsRDP-TcpPortNumber
  4. Go to the Edit menu, click Modify and then click Decimal.
  5. Enter the new port number and click OK.
  6. Exit the Registry Editor.
  7. Restart your machine.

Note: It is important to type the new port number when you try to connect to this computer with the Remote Desktop Connection. Before connecting this device you will need to set your firewall to allow the fresh port number with the Remote Desktop connection.

Was this article helpful?
Dislike 0
Views: 27