Guest vat2do@gmail.com Posted January 26, 2008 Posted January 26, 2008 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. Regards
Guest Richard Mueller [MVP] Posted January 26, 2008 Posted January 26, 2008 Re: View User logon time in Active Directory <vat2do@gmail.com> wrote in message news:194a0e0c-1ea4-4889-9515-7d4a93d13c77@y5g2000hsf.googlegroups.com... > 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 --
Recommended Posts