Policy
Password Settings
Windows 11 25H2
Policy overview
Key metadata and intent for this policy.
Supported OS tags: Windows10
Configures password parameters Password complexity: which characters are used when generating a new password Default: Large letters + small letters + numbers + special characters Password length Minimum: 8 characters Maximum: 64 characters Default: 14 characters Password age in days Minimum: 1 day (7 days when backup directory is configured to be Azure AD) Maximum: 365 days Default: 30 days Passphrase length Minimum: 3 words Maximum: 10 words Default: 6 words See https://go.microsoft.com/fwlink/?linkid=2188435 for more information. Passphrase list taken from "Deep Dive: EFF's New Wordlists for Random Passphrases" by Electronic Frontier Foundation, and is used under a CC-BY-3.0 Attribution license. See https://go.microsoft.com/fwlink/?linkid=2255471 for more information.
Registry values
How enabled and disabled states update the registry.
No explicit registry values are set for enabled or disabled states.
Policy elements
Inputs and configuration options exposed by this policy.
| Element | Type | Registry mapping | Constraints & behavior |
|---|---|---|---|
Password Length ID LAPS_PasswordLength | decimal | HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\LAPS\PasswordLength Type REG_DWORD | Range: 8 to 64 |
Password Age (Days) ID LAPS_PasswordAgeDays | decimal | HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\LAPS\PasswordAgeDays Type REG_DWORD | Range: 1 to 365 |
Passphrase Length (words) ID LAPS_PassphraseLength | decimal | HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\LAPS\PassphraseLength Type REG_DWORD | Range: 3 to 10 |
Password Complexity ID LAPS_PasswordComplexity | enum | HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\LAPS\PasswordComplexity Type REG_DWORD | Options: Large letters (1), Large letters + small letters (2), Large letters + small letters + numbers (3), Large letters + small letters + numbers + specials (4), Large letters + small letters + numbers + specials (improved readability) (5), Passphrase (long words) (6), Passphrase (short words) (7), Passphrase (short words with unique prefixes) (8) |
Other policies in this category
Explore related policies at the same level.
- ComputerConfigure authorized password decryptorsAt least Microsoft Windows 10 or later
- ComputerConfigure automatic account managementAt least Microsoft Windows 10 or later
- ComputerConfigure password backup directoryAt least Microsoft Windows 10 or later
- ComputerConfigure size of encrypted password historyAt least Microsoft Windows 10 or later
- ComputerDo not allow password expiration time longer than required by policyAt least Microsoft Windows 10 or later
- ComputerEnable password backup for DSRM accountsAt least Microsoft Windows 10 or later
- ComputerEnable password encryptionAt least Microsoft Windows 10 or later
- ComputerName of administrator account to manageAt least Microsoft Windows 10 or later
- ComputerPost-authentication actionsAt least Microsoft Windows 10 or later