I know the party is over on this but this is one good reason for using a password expiration policy. Note that if you do use that policy, you can actually use my oldcmp on the user objects just as easily as you can on computers.
 
  joe


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Creamer, Mark
Sent: Tuesday, June 29, 2004 3:58 PM
To: [EMAIL PROTECTED]
Subject: [ActiveDir] getting a user login count

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

Reply via email to