OldCmp Active Directory Reporting Tool

OldCmp Active Directory Reporting Tool

OldCmp is an Active Directory query tool used to find and cleanup old computer accounts that haven’t been used. It can also be used to clean up old unused user accounts. Oldcmp was built because there was no easy way to report on old un-used computers in Active Directory.

If a computer account is not properly disjoined from the domain or manually removed those computer accounts are left in Active Directory. Leaving these old computer accounts in Active Directory will result in inaccurate reports and will make managing your Domain infrastructure more difficult.

OldCmp is an executable that has many command line switches. I created a batch file with the options I wanted so I don’t need to type them in everytime. Oldcmp has many safety nets built in so you want accidently delete computers from the domain. By default the tool will only manipulate 10 computer accounts at a time

If you want to work with more then you will need to change the default settings. There is a FORREAL option that you must specify if you want the tool to make changes, otherwise it will just report what it will try to do. My batch file is setup to move computer accounts that have not changed their password in 90 days to an OU called unused computer accounts. I then disable the accounts and put the date in the description field.

This was if I do disable an active account I can just re-enable. After 30 days I will go back and delete the accounts from Active Directory.
Oldcmp can create reports in several different formats. By default it will output the results in an HTML file. You can generate reports in csv and DHTML which allows for sorting.

In summary OldCmp is an excellent and flexible tool used to cleanup old computer accounts. It has many command switches and built in safety to protect against accidentally deleting a bunch of computer accounts.

For more information and complete command line options see links below

Company: joeware
Website: OldCmp Download | Command Line Switch for Oldcmp

VN:F [1.7.9_1023]
Rating: 0.0/5 (0 votes cast)
  • Share/Bookmark