get last login of a user

im trying to figure out when a user last logged in, this is not active directory, ist just plain old user accounts on a machine.
LVL 8
rodmjayAsked:
Who is Participating?
 
jkrConnect With a Mentor Commented:
The event viewer stores the logon events, so you should be able to get that information from there - and 'PsLogList' (http://technet.microsoft.com/en-us/sysinternals/bb897544.aspx) should help.
0
 
LeeTutorretiredCommented:
Open Event Viewer by typing EVENTVWR.MSC in the search dialog box at the bottom of the Start Menu and hitting Ctrl, Shift and Enter keys.  Open up Windows Logs in the left pane, click on Security under that.  Logon events have event ID 4624, logoff have ID 4634.
0
 
LeeTutorretiredCommented:
rodmjay, any feedback?
0
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.