AD-PWDPOL-06: Account lockout duration should be retrievable
| ID | AD-PWDPOL-06 |
| Severity | Info |
| Suite | Active Directory (on-premises) |
| Product | Active Directory |
| Feature | Password policy |
| Security area | Authentication |
| Resource type | Tenant |
| MITRE ATT&CK | T1110 |
| Reads from | On-premises Active Directory |
What this checks and how to fix it
Section titled “What this checks and how to fix it”Account lockout duration is a critical control for preventing brute-force attacks while maintaining usability:
- Brute-force protection: Lockouts prevent attackers from trying unlimited password combinations
- Automatic recovery: Users can regain access after the duration expires without administrative intervention
- Balance point: Too short provides little protection; too long impacts productivity
A lockout duration of at least 30 minutes provides adequate protection against automated attacks while minimizing help desk calls. Setting it to 0 (until administrator unlocks) provides maximum security but requires administrative overhead.
Control Type
Section titled “Control Type”Preventive
Security Recommendation
Section titled “Security Recommendation”Configure the account lockout duration to at least 30 minutes for automatic unlock, or set to 0 for manual unlock only (maximum security).
To configure this setting:
- Open Group Policy Management
- Navigate to the Default Domain Policy
- Edit: Computer Configuration > Policies > Windows Settings > Security Settings > Account Policies > Account Lockout Policy
- Set Account lockout duration to 30 minutes or more (or 0 for manual unlock)
How the Test Works
Section titled “How the Test Works”This test retrieves the default domain password policy using Get-ADDefaultDomainPasswordPolicy and extracts the LockoutDuration value. The test reports:
- Current lockout duration in minutes (or “until administrator unlocks” if 0)
- Recommended minimum (30 minutes)
- Whether the configuration meets security best practices
Related Tests
Section titled “Related Tests”Test-MtAdAccountLockoutThreshold- Checks the number of failed attempts before lockout
Mito check. Author: soulemike. Open-source licences.
Open-source licences. CIS Benchmark material © Center for Internet Security, Inc.; CISA SCuBA baselines are public domain (CC0).
© 2026 Virtual Petals. Mito is a Virtual Petals service, hosted in Microsoft Azure UAE North.
