Re: How can I track user login / logout times?

From: Chriss3 [MVP] (noSpamHere_at_chrisse.se)
Date: 03/04/05


Date: Fri, 4 Mar 2005 22:27:13 +0100

You can track the lastlogon by query the lastlogontimestamp attribute of the
particular user account you tracking. There is no way to native tack logoffs
in AD.

If you need more detailed information about logon/logoff you may wish to
enable auditing, see the articles below for how to enable auditing:

Audit Policy
This module describes how to set different settings that apply to auditing.
It also provides an example of audit events created by several common tasks.
http://www.microsoft.com/technet/security/guidance/secmod50.mspx

Microsoft Security: Threats and Countermeasures Guide - Audit Policy
An audit log records an entry whenever users perform certain actions that
you specify. For example, the modification of a file or a policy can trigger
an audit entry.
http://www.microsoft.com/technet/Security/topics/hardsys/tcg/tcgch03.mspx

Microsoft Windows XP - Audit Policy
This section covers:...
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/aptopnode.mspx

814595 - HOW TO: Audit Active Directory Objects in Windows Server 2003
This step-by-step article describes how to use Windows Server 2003 auditing
to track user activities and system-wide events in Active Directory. When
you use Windows Server 2003 auditing, you can track both user activities and
Windows Server 2003...
http://support.microsoft.com/default.aspx?scid=kb;en-us;814595

314955 - HOW TO: Audit Active Directory Objects in Windows 2000
This step-by-step article describes how to use Windows 2000 auditing to
track user activities and system-wide events in Active Directory. When you
use Windows 2000 auditing, you can track both user activities and Windows
2000 activities, which are...
http://support.microsoft.com/default.aspx?scid=kb;en-us;314955

HOW TO: Enable Local Security Auditing in Windows 2000:
http://support.microsoft.com/default.aspx?scid=kb;en-us;248260

HOWTO: Enabling Local Auditing Policies on Windows 2000:
http://support.microsoft.com/default.aspx?scid=kb;en-us;252412

-- 
Regards
Christoffer Andersson
Microsoft MVP - Directory Services
No email replies please - reply in the newsgroup
------------------------------------------------
http://www.chrisse.se - Active Directory Tips
<boudreau@bright.net> skrev i meddelandet 
news:jqeh21pk6d7p4fkoognlrd4h5j91r34m6f@4ax.com...
> I've been asked to log certain users login and logout times on the
> system and can't find any references to do this in my Server 2003
> books.  All I need is time logged into the domain and time logged off.
>
> I'm sure I haven't searched all possibilities but I can't think of any
> other way to word it in searches and I haven't found what I'm looking
> for yet.
>
> Any help is greatly appreciated.
>
> Denis
> 


Relevant Pages

  • Re: Last to Modify
    ... The audit log question is moot though unless you have AD changes being logged ... Joe Richards Microsoft MVP Windows Server Directory Services ... >>To track changes within Active Directory you have to enable auditing. ... >>to track user activities and system-wide events in Active Directory. ...
    (microsoft.public.windows.server.active_directory)
  • Re: Last to Modify
    ... least point the audit log to a specific time? ... > To track changes within Active Directory you have to enable auditing. ... > Microsoft Windows XP - Audit Policy ...
    (microsoft.public.windows.server.active_directory)
  • Re: Deleted User
    ... Hello, If Auditing wasn't configured properly during the moment this doesn't going to help this time, but here is a few resources on how to configure auditing and tacking of changed in Active Directory: ... It also provides an example of audit events created by several common tasks. ... Microsoft Windows XP - Audit Policy ...
    (microsoft.public.windows.server.active_directory)
  • RE: Monitor File Access, Change or Delete
    ... folder with auditing for Windows Server 2003. ... Locate the file or folder that you want to audit. ... and then click the Auditing tab. ...
    (microsoft.public.windows.server.sbs)
  • Re: Printer Disapear and Strange Admin Objects
    ... Printers disappearing from Active Directory: ... This module describes how to set different settings that apply to auditing. ... It also provides an example of audit events created by several common tasks. ... Microsoft Windows XP - Audit Policy ...
    (microsoft.public.windows.server.active_directory)