Wednesday, June 27

Finding unused computers in the AD


Recently, one of our customer is asking, how can we managed the computer accounts in AD? We want to delete the account that is not active.

This can be hard if:

1) You are still using Windows NT4, 2000 domain
2) Your Windows 2003 domain is not in Windows 2003 domain functional level

You can run the query:

dsquery computer forestroot -inactive (NoOfWeek)

What if i am not using Windows 2003 AD?

You can find more information using joeware utility - OldCmp

get it from