change RDP listening port in Windows 2003 server?

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\
  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.