Cleanup of old computer accounts

  • Thread starter Thread starter Michael
  • Start date Start date
M

Michael

Is there a utility that will allow you to clean up old computer accounts on
the domain? I want to automatically delete computer accounts that have not
logged in to the domain for 90 days or older.

Thanks.
 
Hi Michael,

There is a vbscript that can do this for you called, Delold.

This one displays and prompts to delete old computer or user accounts.
Should be useful for AD operations team to do their monthly/quarterly
clean-ups of stale computer accounts.

I will forward you the vbscript via separate email.
Thank You.

Diana.

This posting is provided "AS IS" with no warranties, and confers no rights.
 
Hello

I would really like to advice you to take a look at Active Directory
Janitor (http://www.adjanitor.com) It will do exactly this for you in
a controlled and quick way. It can be downloaded and tested right
away. You could try to do the same with a script but it would not give
you this:

* Easy-to-use user interface, don't take my word for it :) look here
for some examples: http://www.adjanitor.com/screenshots
* The scanning operation is multithreaded giving a huge performance
advantage over scripting. The progress of the scanning is displayed
visually and can be aborted.
* The computers can be selected by partial names, by domains/OUs or
even imported from text files on the fly. Multiple domains and
subdomains are supported.
* All the computers are pinged in parallell to help decide if the
accounts are active or not.
* Up to 15 different properties are collected from the computers, for
example last logon, create date, OU. This icludes properties that are
not replicated in AD. The computer list can be sorted by anyone of
these.
* Computers can be selected for deletion, disabling OR enabling.
* A robust well tested application.
* Finally, compare the hours of implementing, testing and maintaining
a script solution to make it reliable and robust to the $49.95 that
Active Directory Janitor costs!

Tomas
Active Directory Janitor DevTeam
 
I got this product since it was 50 bucks but I can't find and delete
old printers with it. Isn't that possbile?

/Karl P.
 
Back
Top