Task: change the incoming port of the RDP service (Terminal Server) from the default 3389 to a different one.
1) Open the Registry Editor (Start -> Run -> regedit.exe)
2) Navigate to the following key:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp
3) Find the PortNumber value and change it to the port number you need.
When connecting from Windows client computers, specify the port in the address. For example, if you changed the port to 12345, and the address of the server (or just the computer you're connecting to) is: myserver, then the MSTSC connection would look like this:
mstsc -v:myserver:12345
Comments