Discussion Locked

Old computer objects in AD

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I need to give an accurate count of live computers (servers included) to the director. Does anyone know of a way to age/scavenge old computer objects from Active Directory so it only leaves me with live computer objects. (I know this can be done in DNS but I'm looking for AD.)

Many thanks

3 replies

by jacobgin1

The AD will not show u the exact count of computers as most Administrators just remove a pc from the network without removing from the domain first. Hence this removed omputer will still stay in AD. So i would say to check the DNS or use any 3rd party tools for network management.

by lowlands

Computer accounts in AD by default reset their password every thirty days. So any computer account in AD with a password age over 30 days is either gone, has not been rebooted or logged in to. Run "dsquery computer domainroot -inactive x (where x is in weeks). I disable (use dsmod) computer accounts that have been inactive for 13 weeks, delete (use dsrm) them at 20 weeks of inactivity.

This discussion is closed to new replies.