Remote Desktop Protocol (RDP)
Remote Desktop Protocol is the protocol Microsoft uses for Terminal Services
in both Windows 2000 and Windows XP. This protocol uses TCP port 3389 to
communicate on a TCP/IP network.
Terminal Services Client:
\WINNT\system32\clients\tsclient\net
RDP TCP Port:
TCP:3389: RDP (Remote Desktop Protocol / Terminal Services)
Remote Enable RDP:
Open regedit.exe, connect to remote registry of target host, browse to
HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server.
Under the Terminal Server key, you'll find a REG_DWORD value named fDenyTSConnections.
Double-click on that value to open the Edit DWORD Value box and change the value data
from 1 (Remote Desktop disabled) to 0 (Remote Desktop enabled).
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server]
"fDenyTSConnections"=dword:00000000
"TSEnabled"=dword:00000001
"TSUserEnabled"=dword:00000000
Enable RDP on Alternate Ports:
Export key:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp]
Change key name to something like RDP-Tcp-3390 and import back into registry, change dword
value PortNumber in decimal to the port you want to use.
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp-3390]
"PortNumber"=dword:00000d3e
Microsoft Terminal Services
Remote Desktop Protocol (RDP) Features and Performance
Terminal Services Advanced Client (IE/ActiveX)