Information
The number of complex element types (uppercase and lowercase letters, numbers, and punctuation) required for a strong PIN or password.
When this policy is enabled, passwords must meet the following minimum requirements:
-
Not contain the user's account name or parts of the user's full name that exceed two consecutive characters
-
Be at least six characters in length
-
Contain characters from three of the following categories:
-
English uppercase characters (A through Z)
-
English lowercase characters (a through z)
-
Base 10 digits (0 through 9)
The recommended state for this setting is: Digits lowercase letters and uppercase letters are required.
Note: The enforcement of policies for Microsoft accounts happens on the server, and the server requires a password length of 8 and a complexity of 2. A complexity value of 3 or 4 is unsupported and setting this value on the server makes Microsoft accounts non-compliant.
Passwords that contain only alphanumeric characters are extremely easy to discover with several publicly available tools.
Solution
To establish the recommended configuration via configuration profiles, set the following Settings Catalog path to Digits lowercase letters and uppercase letters are required :
Device Lock\Device Password Enabled: Alphanumeric Device Password Required: Min Device Password Complex Characters
Note: As of January 30 2024 this setting is nested under Alphanumeric Device Password Required and may not fully appear in Settings Catalog unless unchecked and re-checked in the settings picker.
Impact:
If an organization is using Windows Hello for Business the the Device Lock password settings can impact PIN polices if those policies are not first defined elsewhere. Windows will follow the Windows Hello for Business policies for PINs if this key exists: HKLM\SOFTWARE\Microsoft\Policies\PassportForWork\<Tenant-ID>\Device\Policies Otherwise, it will follow Device Lock policies.