Thanks
Say some one has logged into another machine via Mstsc
then the current machine,Current user,Remote machine,Remote machine user name used to login with date and time is needed.
Main Topics
Browse All TopicsHi,
Find who from where has logged into the machine.
I need help with a login script that can record these details in a UNC path
Date & Time From machine to machine by Users with user name
So this will give me a clear data on who from where has logged into the machine with which user.
Can anyone help with this please.
Regards
Sharath
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
For the users that are logging in via mstsc, why not enable the logging?
http://ask-leo.com/can_i_m
Hope this helps!
:o)
Bartender_1
an easy way to do this is to create a logon script that records when a user has logged on or off a machine..
The script below was grabbed off of the "Hello, Scripting Guy" website.. not exactly sure of the URL, but the concept is that it is set as a logon and logoff script.
So when the user logs on, the username and date/time is recorded in the Description field of the computer in Active Directory. You'll have to make sure that domain users have "write" privileges to the computer description field in Active Directory.
Then you can just go into Active Directory and see who's logged onto what machine by just searching/querying their username.
And if the Description field is currently in use, you can use other fields (see my previously posted question)
http://www.experts-exchang
Sharath, for this one, can you use the script from here:http://www.experts-ex
and change the strLogFile to \\server\share\%username%.
and just remove the
If LCase(objNetwork.UserName)
filter?
Regards,
Rob.
Business Accounts
Answer for Membership
by: xxdcmastPosted on 2009-11-02 at 09:27:42ID: 25721420
Something simple like this should do it for you. Just put the unc path before %computername%.txt
Select allOpen in new window