Reset Local User Password Age
Summary
This remote monitor checks the local user's login password age to see if it is set to unlimited. If so, it will change the user's password setting from Never Expire to expire and will also change the default user policy password age to 90 days. It outputs the users whose password age is set to Never Expire and indicates any failures in changing the password age.
Details
Suggested "Limit to": Windows Computers excluding Infrastructure Master
Suggested Alert Style: Once
Suggested Alert Template: △ Custom - Ticket Creation - Computer
Insert the details of the monitor in the table below.
Check Action | Server Address | Check Type | Execute Info | Comparator | Interval | Result |
---|---|---|---|---|---|---|
System | 127.0.0.1 | Run File | REDACTED | Regex Match | 86400 |
Target
Windows Machines
Ticketing
Subject: Failed to Reset Local Users Password Age on %Computername% at %Clientname%
Success Body: No users found with Password Age set to Not Expire.
Failure Body: Failed to Reset Local Users Password Age on %Computername% at %Clientname%. Password is still set to Not Expire on the following users: %RESULT%