Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

who is connected to my machine with Remote desktop?

Status
Not open for further replies.
shelling netstat and checking for, I think it's port 3389, will tell you what IP address/machine is connected.

@res=`netstat -a`;

For the user, if it's RDP, I think it kicks you out, but an audit of the event/security logs should tell you which user logged in

HTH

Paul
------------------------------------
Spend an hour a week on CPAN, helps cure all known programming ailments ;-)
 
@host_details=`ping -a $ipaddress`;

and parse the @host_details array

Paul
------------------------------------
Spend an hour a week on CPAN, helps cure all known programming ailments ;-)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top