Track for Reporting Login and Logoff Times by User Account

Posted on 2010-08-31
Medium Priority
Last Modified: 2013-12-04
I wish to create some sort of logging of when user's log in and log off.  Currently, our PDC is a server 2008 r2 machine, and I am capturing login and logoff times through the event viewer.  However, I do not know how to export the event viewer audits to a format in which I can do reporting.

How does everyone else out there track this information?  The only pieces of data I need are the username, login time, and logoff time, and the date of login / logoff.

I would like this to be an automated process in which the data is automatically dumped into a file of any sort, so I can import it into a database for reporting.

I also have been playing around with PA Power Admin, as we have the software currently, to see if I can log the events that way.
Question by:dzirkelb
  • 2

Author Comment

ID: 33571343
If at all possible, i would like to not have to purchase any third party software; however, if there are no other optins, then I will entertain that idea.
LVL 13

Accepted Solution

Greg Hejl earned 2000 total points
ID: 33573186
Here you go -

Play with this: http://technet.microsoft.com/en-us/library/ee692660.aspx

and here's a sample that looks like what you are looking for:


have fun!

Author Comment

ID: 33577319
Getting closer...I think this should work...thanks!

I'll post a new topic to question how to work with this, as I have some syntax questions and specific Event ID questions.  I'll leave this open for a couple days in case anyone has any other options.

Featured Post

Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

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.

Join & Write a Comment

This month, Experts Exchange’s free Course of the Month is focused on CompTIA IT Fundamentals.
This article will show you step-by-step instructions to build your own NTP CentOS server.  The network diagram shows the best practice to setup the NTP server farm for redundancy.  This article also serves as your NTP server documentation.
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …

624 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question