Windows Server 2000/2003 Thread, Tracking Users with event viewer in Technical; Hi , Im using event viewer to track user logon times, and then developing a database application to analyse the ...
16th July 2009, 09:33 AM #1
- Rep Power
Tracking Users with event viewer
Hi , Im using event viewer to track user logon times, and then developing a database application to analyse the data, is there a way of identifying the machine ID at the same time ?
16th July 2009, 09:41 AM #2
wouldnt something like
be easier just dumps the info a csv file on the server just add it to logon scripts and if you want logoff as well same with logoff (though id be tempted to add logon and logoff to the scripts
echo -------Log user access to Machine-------
echo %username%,%computername%,%mytime%,%date% >> \\server\log$\userlog.txt
Last edited by sted; 16th July 2009 at 04:39 PM.
Thanks to sted from:
philjones2000 (21st January 2010)
16th July 2009, 09:53 AM #3
Also if your using FOG, the client agent has a login/logout tracker.
16th July 2009, 10:32 PM #4
Sounds like a perfect use for Windows Event Forwarding. Having all the event logs in one place should make analysis quicker/easier and negate the need for a database wouldn't it?
16th July 2009, 11:19 PM #5
- Rep Power
A second vote for sted's suggestion. We use the same system but to make things more manageable (and to avoid having one huge log file) we have seperate log files for each computer and user and have the script write to both the computer log and the user log at each logon.
17th July 2009, 11:01 AM #6
If you're going to try and build it from the Event Log, have a look at logparser.exe one of the Microsoft tools - you already have the database in the form of the Event Log, you just need a tool to query it
By Geoff in forum Windows
Last Post: 23rd January 2010, 03:59 PM
By rpycroft in forum Windows Server 2000/2003
Last Post: 19th March 2009, 03:20 PM
Last Post: 2nd October 2008, 01:45 PM
By woody in forum Windows
Last Post: 7th December 2006, 10:08 AM
By ricki in forum Educational Software
Last Post: 5th July 2006, 01:55 PM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)