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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

find out: lists of which user logged on to which machine

Status
Not open for further replies.

bickyatbickyz

Technical User
Nov 9, 2007
29
GB
Is there anyway to get a list of which domain user is logged on to which machines.
 
the link u provided info regarding auditing but i want a lists where there will be all the names of the computers in my domain and which domain users are currently logged on to it.

im not sure but is it possible?
 
Logon / LogOff scripts through GPO's that execute a command to update a file on a disk or send events to an event log, etc.

Make your logon script something like

Code:
echo ON|%computername%|%username%|%date%|%time% >> \\server\share\activity.txt

and then your log off script
Code:
echo OFF|%computername%|%username%|%date%|%time% >> \\server\share\activity.txt

and read that in reverse order. Now the above are the "old style" dos commands for a batch file. I'm sure if you poke around MarcDMac's library he has a much more elegant and prettier set you can do through vbScript

Mark / TNG
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top