Why don't you try using OldCmp (http://www.joeware.net/win/free/tools/oldcmp.htm)  with the following syntax "oldcmp -report -age 120"

It will produce a report for you that will tell you which computers haven't contacted a domain controller in 120 days and will highlight the computers which are disabled in red for you.

Hope this helps!

C.
___________________________
Christopher Drewery

IT Infrastructure Team

T: + 44 (0) 1235 777700 (Ext 2165)
F: +44 (0) 1235 764705
E:
[EMAIL PROTECTED]
W:
http://www.williamsf1.com




"Condra, Jerry W Mr HP" <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]

16/10/2006 18:50

Please respond to
ActiveDir@mail.activedir.org

To
<ActiveDir@mail.activedir.org>
cc
Subject
[ActiveDir] Determine disabled computer accounts





Hello all
I'm trying to determine the number of computer accounts as well as which
are disabled for our three domains. I've tried Quest Reporter, ADUC and
Hyena but I'm not able to get the disabled computers from any of those
tools. I'm assuming at this point it will take a script but I'm not sure
of the attribute to use. From what I've gathered from web searches it
looks like I should use the userAccountControl attribute. But that
doesn't seem to give me the necessary answer either. Any help is
appreciated.

Thanks

Jerry

List info   : http://www.activedir.org/List.aspx
List FAQ    : http://www.activedir.org/ListFAQ.aspx
List archive: http://www.activedir.org/ml/threads.aspx


Reply via email to