2
This question: Get hostname of a RDP client computer, asked how an RDP server can identify a client (i.e., the host that is being used to login remotely), and got this answer:
netstat -na | find "3389" | find "ESTABLISHED" >> C:\path_to_rdplog.txt
date /T >> C:\path_to_rdplog.txt
time /T >> C:\path_to_rdplog.txt
echo. >> C:\path_to_rdplog.txt
echo ----------- >> C:\path_to_rdplog.txt
echo. >> C:\path_to_rdplog.txt
The above captures and logs the IP address of the client host. I want to capture the hostname also; how can that be done?
Hi sorry first time to post, I thought this post was directly go to the user that im referring, anyway here's the link of the post.. http://superuser.com/questions/393203/get-hostname-of-a-rdp-client-computer
– Mark – 2015-07-08T06:02:49.503