Changing the RDP Port

As mentioned earlier, RDS securely communicates over TCP port 3389 using RDP. Organizations requiring even greater security can change the default port by modifying the following Registry key:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp\PortNumber

Or, if RemoteApp programs are being used, the RDP settings can be modified to specify a different port for RDP traffic.

Note

Only clients using RDP version 5.1 or later can connect to the nonstandard port. Also, after the port is changed, the RD Session Host server or RD Virtualization Host server must be restarted.

Get Windows Server® 2012 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.