Windows Server 2022 maximum age for machine account passwords must be configured to 30 days or less.
Overview
| Finding ID | Version | Rule ID | IA Controls | Severity |
| V-254454 | WN22-SO-000100 | SV-254454r991589_rule | CCI-000366 | medium |
| Description | ||||
| Computer account passwords are changed automatically on a regular basis. This setting controls the maximum password age that a machine account may have. This must be set to no more than 30 days, ensuring the machine changes its password monthly. | ||||
| STIG | Date | |||
| Microsoft Windows Server 2022 Security Technical Implementation Guide | 2025-05-15 | |||
Details
Check Text (C-254454r991589_chk)
This is the default configuration for this setting (30 days).
If the following registry value does not exist or is not configured as specified, this is a finding:
Registry Hive: HKEY_LOCAL_MACHINE
Registry Path: \SYSTEM\CurrentControlSet\Services\Netlogon\Parameters\
Value Name: MaximumPasswordAge
Value Type: REG_DWORD
Value: 0x0000001e (30) (or less, but not 0)
Fix Text (F-57890r849177_fix)
This is the default configuration for this setting (30 days).
Configure the policy value for Computer Configuration >> Windows Settings >> Security Settings >> Local Policies >> Security Options >> Domain member: Maximum machine account password age to "30" or less (excluding "0", which is unacceptable).