|
Hi Mark
I believe the Last Login Date does not propagate
between DC's. If you check out the Last login Date on all DC's you will get the
correct answer.
Alternatively, assuming you expire passwords on all
accounts, you can check the age of passwords to get an approximate
value.
----- Original Message -----
Sent: Wednesday, June 30, 2004 6:15
AM
Subject: RE: [ActiveDir] getting a user
login count
How
about last login for the account? If it's older than a particular date,
it's probably not being used...
I
need to true up my licenses for a product we use that is based on the number
of users who regularly log in. IOW, if the account exists in AD to store HR
info or whatever, but isn�t actively used by anyone, it doesn�t get counted.
Can someone think of a good way to arrive at a number that would be close to
accurate? We�re at Win2K, so I don�t think I can use dsquery user �inactive
to find the inactive users that I could subtract from the total. But should
I just query each DC for login records and consolidate the data? Or is there
a better way?
Also,
is there a way to query how many are logged on *right now*?
Mark
Creamer
|