+ Post New Thread
Results 1 to 6 of 6
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 ...
  1. #1

    Join Date
    Jul 2009
    Posts
    1
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    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 ?

    REgards Jonathan

  2. #2


    Join Date
    Mar 2009
    Location
    Leeds
    Posts
    6,505
    Thank Post
    227
    Thanked 848 Times in 727 Posts
    Rep Power
    287
    wouldnt something like

    Code:
    echo -------Log user access to Machine-------
    set mytime=%TIME:~0,-3%
    echo %username%,%computername%,%mytime%,%date% >> \\server\log$\userlog.txt
    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
    Last edited by sted; 16th July 2009 at 04:39 PM.

  3. Thanks to sted from:

    philjones2000 (21st January 2010)

  4. #3

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,802
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224
    Also if your using FOG, the client agent has a login/logout tracker.

  5. #4


    Join Date
    Feb 2007
    Location
    51.405546, -0.510212
    Posts
    8,706
    Thank Post
    220
    Thanked 2,615 Times in 1,926 Posts
    Rep Power
    777
    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?

  6. #5
    michaelf's Avatar
    Join Date
    Jun 2007
    Location
    Kettering, Northants
    Posts
    81
    Thank Post
    7
    Thanked 13 Times in 10 Posts
    Rep Power
    17
    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.

  7. #6

    Join Date
    Feb 2006
    Location
    Derbyshire
    Posts
    1,381
    Thank Post
    181
    Thanked 211 Times in 171 Posts
    Rep Power
    65
    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

SHARE:
+ Post New Thread

Similar Threads

  1. eps viewer
    By Geoff in forum Windows
    Replies: 5
    Last Post: 23rd January 2010, 03:59 PM
  2. Search description field in event viewer?
    By rpycroft in forum Windows Server 2000/2003
    Replies: 0
    Last Post: 19th March 2009, 03:20 PM
  3. GPO Error in Event Viewer
    By in forum Windows
    Replies: 4
    Last Post: 2nd October 2008, 01:45 PM
  4. Replies: 2
    Last Post: 7th December 2006, 10:08 AM
  5. Software Viewer
    By ricki in forum Educational Software
    Replies: 13
    Last Post: 5th July 2006, 01:55 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •