en-US office user

Set password rules level

Verified with Microsoft 365/Office 5568.1000 — updated on September 4, 2026

Microsoft 365/Office 5568.1000

Supported on: At least Windows Server 2008 R2 or Windows 7

Path in the GPO console

User Configuration\Administrative Templates\Microsoft Office 2016\Security Settings

Description

This policy setting allows you to set the password rules level. If you enable this policy setting, you may specify a password rules level: - No password checks: There are no complexity checks - Local length check: Minimum length checks - Local length and complexity checks: Minimum length checks plus 3 of 4 character groups checks. - Local length, local complexity, and domain policy checks: All the previous checks plus Windows domain password rules enforced. If you select "Local length and complexity checks" or "Local length, local complexity, and domain policy checks," then the password must contain characters from at least three of four character sets: lowercase a-z, uppercase A-Z, digits 0-9, or non-alphabetic characters. When this complexity is enforced, the minimum password length needs to be at least 6, but can be more depending on the value set in the "Set minimum password length" policy setting. If you select "Local length, local complexity, and domain policy checks," then Microsoft Office will use the Windows domain policy as well as all the settings "Local length and complexity checks." This allows a custom password filter that is installed for Windows passwords to be used. If you are offline or a domain controller cannot be contacted, then the Windows password settings are not used, and only the "Local length and complexity checks" settings are used. If you don’t have a custom password filter, then "Local length and complexity checks" saves a trip across the network and would be the best choice. If you disable or do not configure this policy setting, the behavior is the same as if this policy setting were enabled and "No password checks" selected.

Registry

HKCU software\policies\microsoft\office\16.0\common\security\passwordcomplexity

More options available

Options

policylevel enum
  • No password checks -> 0 (default)
  • Local length check -> 1
  • Local length and complexity checks -> 2
  • Local length, local complexity, and domain policy checks -> 3

Export Builder

BETA

Configure the state, scope and options, then generate .reg, PowerShell, Intune and SCCM outputs — or add the setting to a multi-setting collection.

These exports write the registry — this is not a managed GPO.

.reg file

Windows Registry Editor Version 5.00

; Exported from gporais.com
; Policy: Set password rules level
; State: Enabled
; Supported on: At least Windows Server 2008 R2 or Windows 7

[HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\common\security\passwordcomplexity]
"policylevel"=dword:00000000
More formats (PowerShell, Intune, SCCM)

PowerShell

# Exported from gporais.com
# Policy: Set password rules level
# State: Enabled
# Supported on: At least Windows Server 2008 R2 or Windows 7
# Warning: In SYSTEM context (the Intune default), HKCU targets the SYSTEM profile. Run this script using the logged-on credentials.

$path = 'HKCU:\software\policies\microsoft\office\16.0\common\security\passwordcomplexity'
New-Item -Path $path -Force | Out-Null
Set-ItemProperty -Path $path -Name 'policylevel' -Value 0 -Type DWord

Building a multi-setting collection? Add this setting and generate combined .reg / PowerShell / GPO scripts.

Open the Builder

Embed this policy on your site

What to embed
Theme

Adds one script line: the theme follows your site’s appearance and the height fits the content. If your site blocks scripts, the embed follows the visitor’s system theme.

Preview