Re: Login/Logoff

Tech-Archive recommends: Fix windows errors by optimizing your registry



Rajnish wrote:

I've given a task to detail in a report of all users in AD with the logoff
and login time ..Ho can do that however auditing is enabled on the
domain..pl
let me know from where and how can i fetch the report to be presented...

One solution is logon and logoff scripts configured in a group policy that
log information to a shared file. I have an example logon script that logs
date, time, username, computername, and IP address linked here:

http://www.rlmueller.net/Logon5.htm

A similar script can be used as a logoff script (replace "Logon" with
"Logoff" where the script writes to the text file). This works best if users
are in one location, so they don't need to write over the WAN to a remote
location. The Group Policy can be applied to an Organizational Unit. I used
similar scripts for years. I could read the log files into a spread*** and
filter on users or computers. The logon and logoff times are logged on
different lines, and sometimes there is no logoff that corresponds to a
logon because the computer was shut off or crashed before the user logged
off.

--
Richard Mueller
MVP Directory Services
Hilltop Lab - http://www.rlmueller.net
--


.


Quantcast