OldCmp icon

OldCmp

3.6/5 1
Certified 100% CLEAN Freeware   

Primarily used to find and cleanup old computer accounts that haven't been used #Account cleaner  #Active Directory query  #Command line  #Cleaner  #Clean  #Query  

Description

changelog

Free Download

OldCmp was designed to be a command line Active Directory query tool. Primarily used to find and cleanup old computer accounts that haven't been used. Can also be used to clean up user accounts when the proper filter is specified.

OldCmp was built because there was no decent way to find/report on/delete old computers in Active Directory. You can use dsget combined with dsrm but you are really taking your life in your hands. OldCmp has all sorts of safeties built in to try and prevent you from shooting your own foot. Note that you can still shoot yourself in the foot, it just takes more work. This appeals to the paranoid, scared, admin in myself.

The tool will work with a Windows 2000 AD as well as a Windows 2003 AD. It can key off the pwdLastSet attribute or in a Windows 2003 Domain Functional Domain on lastLogonTimestamp. This means you are going after IDs that have not had their password reset in x days or you can go after accounts that haven't logged on x days where by default x, is 90 days.

I chose 90 days because computers should change their password at least every 30 days unless they have had their registries modified to prevent that password change. There are exceptions like when a mobile user goes away and doesn't log into the network for a long time or for some poorly written SAN/NAS solutions that don't change the password on the machine accounts on a regular basis. Generally, however, if the password on a computer account is between 90-120 days, you can safely remove it.

OldCmp also is flexible enough to add your own components to the filter so if you want to only find disabled computer accounts or computer accounts in the xx dept or whatever, you have the ability to add any standard LDAP queries onto the base filter generated.

OldCmp as mentioned above has some safeties built in, the list is:

■ You can not delete a machine account that isn't already disabled. ■ You must specify a safety limit of how many machines it can manipulate at once if you want more than 10. By default it will only affect up to 10 accounts. ■ If you want to work up to 50 machines you can say 50, if you want up to 100, specify 100. ■ You must specify the FORREAL option if you really want it to make changes, otherwise it will just report what it will try to do... I.E. It will be toothless. ■ It will not modify domain controller accounts at all. Period. Just too many dangers there.

The tool can create output in several formats based on the switches specified. By default the output will be standard HTML. However you can specify Dynamic HTML (dhtml) or CSV as well. The dhtml allows for dynamic sorting by clicking on column headers.

What's new in OldCmp 1.05.00:

  • Bug Fix: Re-added ability to sort by age.
  • Bug Fix: Corrected append switch functionality
  • Bug Fix: Corrected error display info for stamp/disable option
  • Added -excldn, -excldndelim, -users, -newparent, -move, -realage, -llts, -rsort.
Read the full changelog

OldCmp 1.05.00

add to watchlist add to download basket send us an update REPORT
  runs on:
Windows 2003
Windows Vista
Windows XP
Windows 2K
  file size:
222 KB
  filename:
OldCmp.zip
  1 screenshot:
OldCmp - The main window of OldCmp software where you will be able to view the command line syntax that you can use to to find and cleanup old computer accounts that haven't been used.
  main category:
System
  developer:
  visit homepage

Microsoft Teams

Effortlessly chat, collaborate on projects, and transfer files within a business-like environment by employing this Microsoft-vetted application
Microsoft Teams

Windows Sandbox Launcher

Set up the Windows Sandbox parameters to your specific requirements, with this dedicated launcher that features advanced parametrization
Windows Sandbox Launcher

ShareX

Capture your screen, create GIFs, and record videos through this versatile solution that includes various other amenities: an OCR scanner, image uploader, URL shortener, and much more
ShareX

IrfanView

With support for a long list of plugins, this minimalistic utility helps you view images, as well as edit and convert them using a built-in batch mode
IrfanView

calibre

Effortlessly keep your e-book library thoroughly organized with the help of the numerous features offered by this efficient and capable manager
calibre

4k Video Downloader

Export your favorite YouTube videos and playlists with this intuitive, lightweight program, built to facilitate downloading clips from the popular website
4k Video Downloader

Context Menu Manager

Customize Windows’ original right-click context menu using this free, portable and open-source utility meant to enhance your workflow
Context Menu Manager

Bitdefender Antivirus Free

Feather-light and free antivirus solution from renowned developer that keeps the PC protected at all times from malware without requiring user configuration
Bitdefender Antivirus Free

7-Zip

An intuitive application with a very good compression ratio that can help you not only create and extract archives, but also test them for errors
7-Zip

Zoom Client

The official desktop client for Zoom, the popular video conferencing and collaboration tool used by millions of people worldwide
Zoom Client

38% discount
Bitdefender Antivirus Free
  • Bitdefender Antivirus Free
  • 7-Zip
  • Zoom Client
  • Microsoft Teams
  • Windows Sandbox Launcher
  • ShareX
  • IrfanView
  • calibre
  • 4k Video Downloader
  • Context Menu Manager
essentials


Click to load comments
This enables Disqus, Inc. to process some of your data. Disqus privacy policy