View User logon time in Active Directory
Is there any way in windows server 2003 AD to view the log for, How
long a user logon on its account in a given time spell, lets say in a
day or month.
Your quick response will be highly appreciated.
Re: View User logon time in Active Directory
<email@example.com> wrote in message
> Is there any way in windows server 2003 AD to view the log for, How
> long a user logon on its account in a given time spell, lets say in a
> day or month.
> Your quick response will be highly appreciated.
This information is not tracked in Active Directory or the logs. Even if you
turned on auditing you would have a lot of work analyzing log files to get
However, you can use logon and logoff scripts to track information. I have
an example VBScript logon script that writes user name, computer name,
date/time, and IP address to a log file linked here:
You can have a similar logoff script (configured in Group Policy) write
date/times of logoff. Then you can load a copy of the log file into a
spreadsheet program for analysis. One line is appended to the shared log
file for each logon and logoff. In Excel you can filter on users or
Microsoft MVP Scripting and ADSI
Hilltop Lab - http://www.rlmueller.net
|Tags: active, directory, view|
|Thread Tools||Search this Thread|
|Similar Threads for: "View User logon time in Active Directory"|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Auto logon to Windows XP SP2 pc and active directory domain||saathii||Windows XP Support||2||04-02-2009 09:01 PM|
|Active Directory Current time & Local Time configuration||rasena||Window 2000 Help||1||28-03-2008 06:24 PM|
|active directory user properties new tab||hatred||Active Directory||1||26-03-2008 11:15 PM|
|Rename active directory user||Rachel G||Active Directory||1||19-09-2007 02:21 AM|
|Getting the properties of a DirectoryEntry (local user) in c# whenthe user is a domain account? Active Directory||Michael Howes||Active Directory||5||13-06-2007 07:23 AM|