How Do You Change The RDP Port No?

by [Published on 17 Dec. 2008 / Last Updated on 19 Sept. 2008]

This articles explains a registry entry you can modify to change the default RDP Port No. for Terminal Services.

Terminal Services uses TCP Port 3389 by default, however since it is well known port that Terminal Services uses this port it can be a target for the attack by the intruders.

You can change the port no. by editing the following registry entry:

  • Key Name: HKEY_LOCAL_MACHINE\System\CurrentConrolSet\Control\TerminalServer\WinStations\RDP-Tcp
  • Entry Name: Port Number
  • Type: REG_DWORD
  • Data: 3389(d) or d3d(h)


See Also

The Author — Nirmal Sharma

Nirmal Sharma avatar

Nirmal Sharma is a MCSEx3, MCITP, and was awarded Microsoft MVP in Directory Services. In his spare time, he likes to help others and share some of his knowledge by writing tips and articles for various online communities. Nirmal can also be found contributing to PowerShell based Dynamic Packs for ADHealthProf.ITDynamicPacks.Net solutions.

Featured Links