Disable Dormant User Accounts

Disable AD or Local user accounts that haven't been logged into in X months.

Disable Dormant User Accounts

This component will identify all user accounts that have not been logged into in the amount of months entered. Leave the AuditOnly check box checked to print a list of accounts that match the criteria. You can also specify accounts that should be exempt from being disabled.

First the component will check if the device is an AD server, if not we assume its a member server or workstation. If its an AD server, the component will affect AD accounts. If not, it will work with local accounts. It then pulls a list of accounts that have not logged in within the specified amount of time. If the AuditOnly checkbox is checked, it will simply print the list to StdOut. If AuditOnly is not checked, it will disable each account that doesnt match an entry in the ExemptAccounts list. As each account is disabled, it will print it to the StdOut and the System Log.

Level
Name
Value
Notes
Component
Months
12
Amount of months since last login
Component
ExemptAccounts
blank
CSV list of accounts that you wish to leave enabled
Component
AuditOnly
Checked
Checkbox to perform disabling accounts, or only print results

If this component downloads any external files other than grabbing the script from our repository, they will be listed here so you can do your own due diligence if needed.

Filename
URL
Path
Notes
No Files downloaded from the internet.

2/28/2023 – Initial Release

11/24/2023 – Updated to v4 launcher

GET IN TOUCH