Windows IT Pro is the leading independent community for IT professionals deploying Microsoft Windows server and client applications and technologies.
  
  
  Advanced Search 


Return to article

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.







Reader Comments

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.)

mutsje -November 25, 2004
Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro DevProConnections IT Job Hound
Left-Brain.com Technology Resource Directory asp.netPRO ITTV Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 © 2009 Penton Media, Inc. Terms of Use | Privacy Statement