Batch file to update password & account lockout policy for all windows systems Following Settings can be updated using the script :
- Password Expiration for Local Accounts
- Minimum password age
- Maximum password age
- Minimum password length
- Maximum number of login attempts
- Account lockout duration
- To Change Account Lockout Counter for Local Accounts i.e, account lockout observation window
Note: Value of each setting can be changed as per the requirement. This script works for all windows servers & systems