Re: View User logon time in Active Directory
- From: "Richard Mueller [MVP]" <rlmueller-nospam@xxxxxxxxxxxxxxxxxxxx>
- Date: Sat, 26 Jan 2008 07:17:14 -0600
<vat2do@xxxxxxxxx> wrote in message
news:194a0e0c-1ea4-4889-9515-7d4a93d13c77@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hello!
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
this information.
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:
http://www.rlmueller.net/Logon5.htm
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
computers.
--
Richard Mueller
Microsoft MVP Scripting and ADSI
Hilltop Lab - http://www.rlmueller.net
--
.
- References:
- View User logon time in Active Directory
- From: vat2do
- View User logon time in Active Directory
- Prev by Date: login contain no "this computer"
- Next by Date: Re: login contain no "this computer"
- Previous by thread: View User logon time in Active Directory
- Next by thread: Re: restrict CD and USB
- Index(es):
Relevant Pages
|