Modify and Change Remote Desktop Listening Port

Remote Desktop is a multi-channel protocol that allows a user to remote access or connect to a computer which has enabled Remote Desktop server from another remote computer, through Local Area Network (LAN), Wide Area Network (WAN) or Internet by using Remote Desktop Connection client program. Microsoft Remote Desktop Protocol (RDP) server application can be found pre-installed on Windows Server 2003, Microsoft Windows XP Professional, Microsoft Windows XP Media Center Edition (MCE), Microsoft Windows XP Tablet PC 2005 Edition, Windows Vista Ultimate, and Windows Vista Business Edition. By default, Remote Desktop is using port 3389 TCP (UDP to stream audio redirection) as the listening port for any incoming Remote Desktop connections.

Although Remote Desktop server is using the default listening port of 3389 TCP and UDP, it’s possible to modify or change the listening port of Remote Desktop to another port. It’s especially useful when the remote computer is behind firewall which doesn’t allow incoming and outgoing connections other than standard ports (Windows Firewall in Windows XP Service Pack 2 (SP2) will automatically configure and open required ports when user enable Remote Desktop to allow Remote Desktop connections to the computer, if Don’t Allow Exceptions is not selected, else user will need to manually open the Remote Desktop port in Internet Connection Firewall on Windows XP SP 1 or earlier), or users unable to configure the port forwarding for Remote Desktop if they’re behind firewall or router’s NAT.

How to Change the Listening Port for Remote Desktop

Microsoft has a Knowledge Base article KB306759 that details how to modify and change the Remote Desktop listening port by changing registry value.

  1. Start RegEdit
    Start Registry Editor by clicking on Start -> Run, and type in regedit in the Run text box, and then press Enter or click OK.
  2. Navigate to the following registry branch/subkey:

    HKEY_LOCAL_MACHINE\System\CurrentControlSet\
    Control\TerminalServer\WinStations\RDP-Tcp\

  3. Locate the registry entry PortNumber in the right pane.
  4. Modify PortNumber
    Right click on PortNumber and choose Modify (or select PortNumber, then click on Edit menu and select Modify).
  5. Decimal PortNumber
    On the Edit DWORD Value window, click on Decimal.
  6. Type in the new port number on the Value Data text box.
  7. Click OK when done.

If you don’t want to mess or modify in the Windows registry yourself, IntelliAdmin has a small free utility tool Remote Desktop Port Change (RDPRemotePortChange.exe) that allows users to change the Remote Desktop listening port on local computer or on remote computer across the LAN.

Remote Desktop Port Change

To change listening port for Remote Desktop for local PC (the computer that you’re using now), simply select Local System, or select Remote Computer for other computer and key in the desired computer name or IP plus authentication user name and password to change the listening port. Configure the required settings i.e. the new port number for Remote Desktop, and whether to reboot the PC after the change, and simply press Submit.

Note that Remote Assistance feature in Microsoft Windows XP may not work correctly if the the listening port of Remote Desktop has been changed. Beside, when want to connect or remote control this particular computer with non standard listing port by using the Remote Desktop connection from remote computer, the port number must be specified together with computer host name or IP address to connect to that specific port.


3 Responses to “Modify and Change Remote Desktop Listening Port”

  1. How to Remotely Enable Remote Desktop (Terminal Services or RDP) via Registry in Windows 2000/XP/2000/Vista/2008 » My Digital Life
    June 25th, 2008 02:41
    3

    [...] Remote Desktop for the remote computer has been enabled, and listening on default Remote Desktop port for any incoming Remote Desktop Connection. For security reason, you may want to consider changing the Remote Desktop listening port. [...]

  2. andreas04: close to attraction
    March 6th, 2008 19:01
    2

    [...] default listening port for Remote Desktop (3389) of the computer can be changed to another port number easily. If the Remote Desktop listening port number for the remote computer where the Remote [...]

  3. Connect to Remote Computer using Specific Non Standard Port using Remote Desktop Connection Client » My Digital Life
    December 4th, 2006 18:20
    1

    [...] The default listening port for Remote Desktop (3389) of the computer can be changed to another port number easily. If the Remote Desktop listening port number for the remote computer where the Remote Desktop client is going to connect to has been changed to use non-default and non-standard port to accept Remote Desktop connections, this non-standard specific port number has to be specified in Remote Desktop Connection client. User uses Remote Desktop Connection client to connect to remote computer that has Remote Desktop Protocol (RDP) server enabled and running. In Windows XP, Remote Desktop Connection can be accessed by clicking Start Menu -> All Programs -> Accessories -> Communications, and click on Remote Desktop Connection. Microsoft Knowledge Base article KB304304 provides details on how to configure the Remote Desktop client to connect to a specific port when you use Windows XP, however, the procedure and protocol should be all the same in all operating system that uses Remote Desktop client. [...]

Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe to comments feature has been disabled. To receive notification of latest comments posted, subscribe to My Digital Life Comments RSS feed or register to receive new comments in daily email digest.
Custom Search

New Articles

Incoming Search Terms for the Article

change remote desktop port vista - change RDP port Windows 7 - change rdp port vista - windows 7 change rdp port - windows 7 RDP port - changing remote desktop port vista - how to change remote desktop port in vista - vista change rdp port - windows 7 rdp port change - rdp port change vista - change remote access port - rdp port windows 7 - change rDp port in windows 7 - change default rdp port windows 7 - change rdp listening port vista - change rdp port server 2003 - change rdp port on vista - change my rdp port - change rdp port on windows 7 - change listening port remote desktop vista - change rdp listening port windows 7 - vista change remote desktop port - vista rdp port change - change port remote desktop vista - change RDP port - remote desktop change port vista - change vista remote desktop port - Change vista RDP port - change remote desktop port windows 7 - change listening port rdp windows 7 - change rdc port vista - change rdp port in vista - how to change rdp port on vista - how to change rdp port vista - change windows 7 remote desktop port - windows 7 rdp listening port - change default remote desktop port - rdpremoteportchange - rdp port change windows 7 - remote desktop port vista - windows 7 rdp default port - change rdp port windows server 2008 - remote access port change - change rdp port windows 2008 - rdp port forwarding server 2008 r2 - rdp change port vista - change terminal services port windows 2008 - regedit remote desktop poort wijzigen - change remote desktop listening port vista - Remote Desktop port change vista -