STIGUI
V-254289CAT II — Medium severitySV-254289r1260025_rule

Windows Server 2022 maximum password age must be configured to 180 days or less.

Rule version WN22-AC-000050 · STIG v2 · 2026-08-19

Discussion

The longer a password is in use, the greater the opportunity for someone to gain unauthorized knowledge of the passwords. Scheduled changing of passwords hinders the ability of unauthorized system users to crack passwords and gain access to a system.

Check

Verify the effective setting in Local Group Policy Editor.

Run "gpedit.msc".

Navigate to Local Computer Policy >> Computer Configuration >> Windows Settings >> Security Settings >> Account Policies >> Password Policy.

If the value for the "Maximum password age" is greater than "180" days, this is a finding.

If the value is set to "0" (never expires), this is a finding.

For server core installations, run the following command:

Secedit /Export /Areas SecurityPolicy /CFG C:\Path\FileName.Txt

If "MaximumPasswordAge" is greater than "180" or equal to "0" in the file, this is a finding.

Fix

Configure the policy value for Computer Configuration >> Windows Settings >> Security Settings >> Account Policies >> Password Policy >> Maximum password age to "180" days or less (excluding "0", which is unacceptable).

Identifiers

Group ID
V-254289
Group title
SRG-OS-000076-GPOS-00044
Rule ID
SV-254289r1260025_rule
Check ID
C-57774r1260023_chk
Fix ID
F-57725r1260024_fix