Yep, actually that's exactly what I used. Thanks everybody

<mc>
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 30, 2004 8:54 PM
To: [EMAIL PROTECTED]
Subject: RE: [ActiveDir] getting a user login count

You haven't been looking at the tricks here
http://www.rlmueller.net/freecode4.htm
 
 
Sincerely,

Dèjì Akómöláfé, MCSE MCSA MCP+I
Microsoft MVP - Directory Services
www.readymaids.com - we know IT
www.akomolafe.com
Do you now realize that Today is the Tomorrow you were worried about
Yesterday?  -anon

________________________________

From: [EMAIL PROTECTED] on behalf of [EMAIL PROTECTED]
Sent: Wed 6/30/2004 1:52 PM
To: [EMAIL PROTECTED]
Subject: Re: [ActiveDir] getting a user login count


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.
 
Alan Cuthbertson
 
Policy Management Software:- http://www.sysprosoft.com/pol_summary.shtml
ADM Template Editor:-  http://www.sysprosoft.com/adm_summary.shtml
 
  


        ----- Original Message ----- 
        From: Rachui, Scott <mailto:[EMAIL PROTECTED]>  
        To: [EMAIL PROTECTED] 
        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...

                -----Original Message-----
                From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Creamer, Mark
                Sent: Tuesday, June 29, 2004 2: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

List info   : http://www.activedir.org/mail_list.htm
List FAQ    : http://www.activedir.org/list_faq.htm
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/


List info   : http://www.activedir.org/mail_list.htm
List FAQ    : http://www.activedir.org/list_faq.htm
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/

Reply via email to