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 the Microsoft MVP award in Directory Services and Windows Networking. He specializes in Microsoft Azure, Office 365, Directory Services, Failover Clusters, Hyper-V, PowerShell Scripting and System Center products. Nirmal has been involved with Microsoft Technologies since 1994. In his spare time, he likes to help others and share some of his knowledge by writing tips and articles on various sites and contributing to PowerShell-based Dynamic Packs for www.ITDynamicPacks.Net solutions.

Featured Links