Windows Server 2022 • Release: 7 Benchmark Date: 05 Jan 2026

CAT I V-254466 WN22-SO-000220

Windows Server 2022 must not allow anonymous enumeration of Security Account Manager (SAM) accounts.

Documentable No
Rule ID SV-254466r991589_rule
CCI References
CCI-000366

Anonymous enumeration of SAM accounts allows anonymous logon users (null session connections) to list all accounts names, thus providing a list of potential points to attack the system.

Check Procedure

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\Control\Lsa\

Value Name: RestrictAnonymousSAM

Value Type: REG_DWORD
Value: 0x00000001 (1)

Fix Action

Configure the policy value for Computer Configuration >> Windows Settings >> Security Settings >> Local Policies >> Security Options >> Network access: Do not allow anonymous enumeration of SAM accounts to "Enabled".