How to change the listening port for Remote Desktop in Windows

This article describes how to change the listening port that Remote Desktop listens on. You can use the Remote Desktop feature in Microsoft Windows to connect to your computer from another remote computer.

Do note that the Remote Assistance feature in Microsoft Windows XP may not work correctly if you change the listening port.

To fix this problem automatically, download and apply Microsoft Fix it 50595. Click Run in the File Download dialog box and follow the steps in the Fix it wizard. [UPDATE: Microsoft Fix it 50595 appears to have been taken down – so you have to do it manually now].

Change the listening port for Remote Desktop

To fix it manually, yourself, start Registry Editor.

Locate and then click the following registry subkey:


On the Edit menu, click Modify, and then click Decimal.

Type the new port number, and then click OK.

Quit Registry Editor.

Restart the computer.

Source: K306759.

This should work for all Windows, but remember to create a system restore point first.

Read next: How to Remove History entries from Remote Desktop Connection.

Posted by on , in Category Windows with Tags
Anand Khanse is the Admin of, a 10-year Microsoft MVP Awardee in Windows (2006-16) & a Windows Insider MVP. Please read the entire post & the comments first, create a System Restore Point before making any changes to your system & be careful about any 3rd-party offers while installing freeware.


  1. Dimitrios G. Panagiotidis

    The “Microsoft Fix it 50595” is not available at the link you provided. Any ideas where to find it? Thanks!

  2. Microsoft Fix it 50595 appears to have been taken down. Thanks for pointing this out. Pls use the instructions mentioned in K306759.

  3. Dimitrios G. Panagiotidis

    Yes, what a pity, MS has removed all references to this nifty Fix It utility! Changing the RDP port can be easily done via the Registry, still the ‘Fix It’ was quicker, easier and …safer. I am sad to see it go … surely someone must have saved a copy, somewhere, but how to find it is another story. A quick Google search I did produced nothing! Thanks for your reply!

Leave a Reply

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

7 + 7 =