How to determine when a specific user logs on to their PC on our SBS 2008 network

I need to see when a specific user is logging on to our network; they are physically on the network, not remoted in. I'm running SBS2008 and the user's PC is Windows 7 Pro 64-bit.

I need to gather a log that shows a specific user's log on and off times. I feel I should be looking in the Event Viewer on the SBS2008 system but I'm not sure where to look or how to find a specific user's information.

Unfortunately I'm on a short deadline for this to be completed. I would like to thank everyone in advance for their help.
Who is Participating?
JAN PAKULAICT Infranstructure ManagerCommented:
several ways to achieve it

1 use account auditing

2 use batch file (better solution)

Step 1: Create the following two files using Notepad or your favorite text editor:

echo logon %username% %computername% %date% %time% >> \\sbs\share\logon.log

echo logoff %username% %computername% %date% %time% >> \\sbs\share\logon.log

Step 2: Update Group Policy to run the appropriate batch file. In Group Policy, go to:
User Configuration-> Windows Settings-> Scripts (Logon/Logoff)-> Logon
Steven CarnahanNetwork ManagerCommented:
I agree with Jan that using a batch file is quicker and can modified easily in the future if you want to gather additional information besides just log on/off. We gather quite a bit of information about the computer using this method
DahliaLadyAuthor Commented:
Thank you both. I'm going to give this a try and see what the results are. I will post later today or tomorrow on the outcome.
DahliaLadyAuthor Commented:
Thank you both for the solution. At this time I've been asked to table the project. At least they know we can get the data if we need it. We are in the process of rolling out a new system and my guess is this logging will be implemented on the new system.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.