Last Logon Date and Time

R

Reith

How could you filter from each DC the logon time and date
per user for each day? We need to know when the user
logged in and when the user logged out of the system on a
daily basis. Any third party tools that could be
recommended in the absence of a MS solution?
 
M

Matjaz Ladava [MVP]

You would have to write a script or program, which queries each DC for
lastLogon attribute of user account and make the report. lastLogoff
attribute is not populated in AD, so you cant use it for tracking User
Logoff.
If you need any help with writing a script/program then post back, but first
you must decide how do you want to implement this.

--
Regards

Matjaz Ladava, MCSE (NT4 & 2000), Windows MVP
(e-mail address removed)
http://ladava.com
 
R

Reith

If lastLogoff is not Populated on AD, we may want to run
the script/program on both the DC's which are in use. We
could then colate the data to generate some reports.
Could you provide us some assistance on the script/program
file?
 
M

Matjaz Ladava [MVP]

Yes, I can provide you help with writing the script. I would suggest you to
use VBScript, as it has quite easy interface to Active Directory objects.
Now you have to provide what output do you want from this script ? Maybe an
Excel file ? What if user does not logon to the system that day ? You must
be specific on what you need.

--
Regards

Matjaz Ladava, MCSE (NT4 & 2000), Windows MVP
(e-mail address removed)
http://ladava.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top