From: Sunil Virmani on
Hi,

Suppose in one of my machine the rdp port is changed from the default to
something else like 3390.
I want to write a program that can determine the rdp port number. How can i
achieve the same?


Regards,
Sunil
From: Dragos CAMARA on
hi,
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal
Server\WinStations\RDP-Tcp\PortNumber is the port where terminal server
listen for connections
--
Dragos CAMARA
MCSA Windows 2003 server


"Sunil Virmani" wrote:

> Hi,
>
> Suppose in one of my machine the rdp port is changed from the default to
> something else like 3390.
> I want to write a program that can determine the rdp port number. How can i
> achieve the same?
>
>
> Regards,
> Sunil