Registry data refreshed from vendors: Last vendor change detected: 5 Dec 2026Next refresh: 1st of the monthApp v1.4.0 (5 Dec 2026): Cleanup or tattoo: see what stays behind after a GPO is removed. Release notes
Windows (ADMX) · sam.admx

sam.admx: 2 policies

Generated from Microsoft Windows Server 2025 Datacenter build 26100 in-box templates + Windows 11 ADMX package (download id 108394) on 2026-12-05. Titles, explanations and "Supported on" text are Microsoft's own, from the en-US ADML file.

Configure SAM change password RPC methods policy

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows 10 (from the template reference name SUPPORTED_Windows10)

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\SAM
OptionValueTypeAllowed values
Options for Sam password change RPC method policy:SamrChangeUserPasswordApiPolicy1 (REG_DWORD) = Block all change password RPC methods
2 (REG_DWORD) = Allow strong encryption change password RPC method only
3 (REG_DWORD) = Allow all change password RPC methods
What it does (vendor explanation)

This policy enables an administrator to configure the remote usage of change user password RPC methods in security account manager(SAM).

When the policy is enabled, following options are supported:

Block all change password RPC methods: block remote usage of all the security account manager(SAM) change password RPC methods.

Allow strong encryption change password RPC method: allow remote use of the change password RPC method which uses strong encryption and blocks remote use of weak encryption methods.

Allow all change password RPC methods: allows remote usage of all the change password RPC methods irrespetive of the encryption.

Default policy: 1. Domain member computers - block all change password RPC methods. 2. Domain controllers - allow strong encryption change password RPC method.

Note: If the policy is disabled or not configured, the machine will use the default policy.

Group Policy path: Computer Configuration > Administrative Templates > System > Security Account Manager > Configure SAM change password RPC methods policy

PowerShell equivalent (generated from the template)
# Options for Sam password change RPC method policy:
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\SAM' -Name 'SamrChangeUserPasswordApiPolicy' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: sam.admx · policy name SamrChangeUserPasswordApiPolicy

Configure validation of ROCA-vulnerable WHfB keys during authentication

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Vista

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\SAM
OptionValueTypeAllowed values
Options for handling ROCA-vulnerable WHfB keys:SamNGCKeyROCAValidation0 (REG_DWORD) = Ignore ROCA-vulnerable WHfB keys
1 (REG_DWORD) = Audit ROCA-vulnerable WHfB keys on use
2 (REG_DWORD) = Block ROCA-vulnerable WHfB keys on use
What it does (vendor explanation)

This policy setting allows you to configure how domain controllers handle Windows Hello for Business (WHfB) keys that are vulnerable to the "Return of Coppersmith's attack" (ROCA) vulnerability.

For more information on the ROCA vulnerability, please see:

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-15361

https://en.wikipedia.org/wiki/ROCA_vulnerability

If you enable this policy setting the following options are supported:

Ignore: during authentication the domain controller will not probe any WHfB keys for the ROCA vulnerability.

Audit: during authentication the domain controller will emit audit events for WHfB keys that are subject to the ROCA vulnerability (authentications will still succeed).

Block: during authentication the domain controller will block the use of WHfB keys that are subject to the ROCA vulnerability (authentications will fail).

This setting only takes effect on domain controllers.

If not configured, domain controllers will default to using their local configuration. The default local configuration is Audit.

A reboot is not required for changes to this setting to take effect.

Note: to avoid unexpected disruptions this setting should not be set to Block until appropriate mitigations have been performed, for example patching of vulnerable TPMs.

More information is available at https://go.microsoft.com/fwlink/?linkid=2116430.

Group Policy path: Computer Configuration > Administrative Templates > System > Security Account Manager > Configure validation of ROCA-vulnerable WHfB keys during authentication

PowerShell equivalent (generated from the template)
# Options for handling ROCA-vulnerable WHfB keys:
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\SAM' -Name 'SamNGCKeyROCAValidation' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: sam.admx · policy name SamNGCKeyROCAValidation