Tuesday, May 19, 2015

Custom RDP port on windows VMs

Issue: It was a customer image using which we had to build a management cluster but upon deployment we realized that RDP is not possible inspite of the RDP being enabled and the firewall being turned off.
Solution : Identify the port being used for RDP and then use that to take RDP or change it to the default RDP port.


HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TerminalServer\WinStations\RDP-Tcp\PortNumber
 select this key and select decimal to know the port number being used. Now if you are using a remote tool like mremote then modify it to use this default port or change this port in the key to match the default.