SV-226247r569184_rule
V-226247
SRG-OS-000076-GPOS-00044
WN12-GE-000016
CAT II
10
Configure all enabled user account passwords to expire.
Uncheck "Password never expires" for all enabled user accounts in Active Directory Users and Computers for domain accounts and Users in Computer Management for member servers and standalone systems. Document any exceptions with the ISSO.
Review the password never expires status for enabled user accounts.
Open "Windows PowerShell" with elevated privileges (run as administrator).
Domain Controllers:
Enter "Search-ADAccount -PasswordNeverExpires -UsersOnly | Where PasswordNeverExpires -eq True | FT Name, PasswordNeverExpires, Enabled".
Exclude application accounts and disabled accounts (e.g., Guest).
Domain accounts requiring smart card (CAC/PIV) may also be excluded.
If any enabled user accounts are returned with a "PasswordNeverExpires" status of "True", this is a finding.
Member servers and standalone systems:
Enter 'Get-CimInstance -Class Win32_Useraccount -Filter "PasswordExpires=False and LocalAccount=True" | FT Name, PasswordExpires, Disabled, LocalAccount'.
Exclude application accounts and disabled accounts (e.g., Guest).
If any enabled user accounts are returned with a "PasswordExpires" status of "False", this is a finding.
V-226247
False
WN12-GE-000016
Review the password never expires status for enabled user accounts.
Open "Windows PowerShell" with elevated privileges (run as administrator).
Domain Controllers:
Enter "Search-ADAccount -PasswordNeverExpires -UsersOnly | Where PasswordNeverExpires -eq True | FT Name, PasswordNeverExpires, Enabled".
Exclude application accounts and disabled accounts (e.g., Guest).
Domain accounts requiring smart card (CAC/PIV) may also be excluded.
If any enabled user accounts are returned with a "PasswordNeverExpires" status of "True", this is a finding.
Member servers and standalone systems:
Enter 'Get-CimInstance -Class Win32_Useraccount -Filter "PasswordExpires=False and LocalAccount=True" | FT Name, PasswordExpires, Disabled, LocalAccount'.
Exclude application accounts and disabled accounts (e.g., Guest).
If any enabled user accounts are returned with a "PasswordExpires" status of "False", this is a finding.
M
4217