views:

334

answers:

2

How do I detect if a remote client is running Remote Desktop Protocol? and it is also accepting remote desktop connections ??

Like Open an port to detect HTTP and send request, receive request headers and see in request headers information about HTTP so I will know the person is running HTTP weather if he changed the port e.g: running HTTP 6551.

+1  A: 

You could do netstat -a in the command line and see if the default port for remote desktop connection is listening, ie. TCP:3389 but thats only if the client hasn't changed the ports for MSTSC

Anthony Forloney
How to do this on Remote computer through programmatic way ???
Aizaz
i am not sure how it can be done by implementing a program, i am not doubting the fact, just never thought about it. If the purpose is to connect to a computer that you can physically touch, I suggest you should try either through the command line tools or just viewing the remote settings.
Anthony Forloney
+1  A: 
pst
Thanks very much my problem is solved. Thanks for giving me wonderful and pin point information.
Aizaz