Tracking How Long Users Remain Logged On to a Domain

I want to track users' logon and logoff times to our domain. I've enabled success and failure auditing for both the Audit logon events and Audit account logon events categories in our domain controller's (DC's) audit policy. When I look at the DC's Security logs, I find users' logon times but not their logout times. Is it possible to determine user logon and logout time by looking at DC Security logs?

Unfortunately, no. DCs perform only the initial user authentication—they don't track how long users remain logged on interactively at workstations or connected to servers. You must look for event ID 528 (Successful Logon) and event ID 538 (Logon Failure) in the Security log on each workstation to determine a user's exact logon and logoff time. For more information, see "Tracking Logon and Logoff Activity in Win2K," InstantDoc ID 16430.

Discuss this Article 2

mutsje (not verified)
on Nov 25, 2004
Like I already noticed in the magazine you claim that eventid 538 is for Logon Failure... well check again it's Logoff eventid... (in windows server 2003 can't imaging that MS changed it.)

Please or Register to post comments.

IT/Dev Connections

Las Vegas
September 30th - October 4th

Paul ThurottYou'll have the opportunity to experience:
• The Microsoft
Technology Roadmap
• Office 365 Implementation
• Hyper-V Optimizing
• Windows 8 Deployment
and much more!

Come See Paul Thurrott & Rod Trent in Person!

Early Registration Now Open

Upcoming Training

Mastering SharePoint 2013: Succeeding, Not Just Surviving

Building on the success of the “Mastering SharePoint 2010” seminars, the presenters have updated the content to cover the latest and greatest SharePoint product: SharePoint 2013. While SharePoint 2013 is relatively new on the marketplace, the presenters have been working with SharePoint 2013 for well over a year, and have implemented it with a number of clients in production environments.

Register Now

Current Issue

May 2013 - The NameTranslate object is useful when you need to translate Active Directory object names between different formats, but it's awkward to use from PowerShell. Here's a PowerShell script that eliminates the awkwardness.

CURRENT ISSUE / ARCHIVE / SUBSCRIBE

Windows Forums

Get answers to questions, share tips, and engage with the Windows Community in our Forums.