List of tools to find and disable Active Directory unused accounts
Example 1 oldcmp -report -age 0 -format csv -delim tab
The current one will generate csv file (tab delimited) report of all cmpaccs
Also you can run oldcmp /? and get a full list of switches.
Usage: cscript //nologo LastLogonTimeStamp.vbs > output.txtomputer accounts not logged on within X number of days
# Find expired and unused Active Directory accounts
# Locate inactive user or computer accounts and disable, delete, move or enable Active Directory accounts in seconds.
# Shows disabled accounts, last logon/logoff time, OS type, etc.
# Export report to CSV,XLS,HTML,PDF and CSVDE
Unused Account Ferret
Find, disable and delete old user and computer accounts in Active Directory.
It queries all the domain controllers to determine which accounts have not been used for a specified number of days.