Open in the explorer

Prefer specific encryption cipher algorithms for TLS

Type
Computer and user
GPO path
Computer Configuration › Policies › Administrative Templates › Microsoft Edge › Cryptography compliance policies User Configuration › Policies › Administrative Templates › Microsoft Edge › Cryptography compliance policies
Supported on
Microsoft Edge version 146, Windows 7 or later
ADMX file
msedge.admx
Internal name
msedge/PreferSlowCiphers

Explanation

This policy configures Microsoft Edge to order its preferred encryption ciphers in TLS 1.3 based on algorithms approved by a specific compliance regime.

Setting this policy does not guarantee that any specific algorithms will be negotiated.

This policy allows server operators who support both compliant and non-compliant clients to differentiate between them, and use certain non-default algorithms with increased cryptographic strength only for clients explicitly configured to prefer them.

Setting the policy to 'cnsa' configures Microsoft Edge to prefer ciphers required for compliance with the Commercial National Security Algorithm Suite versions 1.0 and 2.0 (CNSA 1.0 and 2.0).

Not setting the policy, or setting it to 'default', configures Microsoft Edge to use its default ciphers.

Setting this policy isn't required for security. The default cryptography used by Microsoft Edge is strong enough to withstand a brute-force attack using the entire power of the Sun.

Setting this policy will cause Microsoft Edge to be slower when accessing websites.

This policy only affects TLS 1.3 and QUIC. It doesn't affect earlier versions of TLS.

This policy can be set for the machine and for the user. If set for the user, this policy only affects network requests initiated by the user profile, and may not affect network requests made by Microsoft Edge to carry out browser-wide background tasks; those are controlled by the machine-level value. If this policy is set at both the machine level and the user level, the machine-level value applies, unless the policy precedence order has been changed by the CloudUserPolicyOverridesCloudMachinePolicy policy.

For versions 155 and below, this policy is machine-wide only.

Policy options mapping:

* CNSA (cnsa) = Prefer ciphers satisfying the requirements of CNSA 1.0 and 2.0

* Default (default) = Use Microsoft Edge's default cipher order

Use the preceding information when configuring this policy.

Example value: cnsa

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Edge
HKEY_CURRENT_USER\Software\Policies\Microsoft\Edge
Value name
not defined in the ADMX

Enable / disable values: not defined in the ADMX (see the options below).

PowerShell

PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.

Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.

Computer (HKLM)

Enable

# Enable: msedge/PreferSlowCiphers
$k = 'HKLM:\Software\Policies\Microsoft\Edge'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Prefer specific encryption cipher algorithms for TLS
# Possible options:
#   Prefer ciphers satisfying the requirements of CNSA 1.0 and 2.0 = cnsa
#   Use Microsoft Edge's default cipher order = default
Set-ItemProperty -Path $k -Name 'PreferSlowCiphers' -Value 'cnsa' -Type String

Disable

# Disable: msedge/PreferSlowCiphers
# No value is written in the "Disabled" state (nothing defined in the ADMX)

Revert to "Not configured"

# Revert to "Not configured": msedge/PreferSlowCiphers
$k = 'HKLM:\Software\Policies\Microsoft\Edge'
Remove-ItemProperty -Path $k -Name 'PreferSlowCiphers' -ErrorAction SilentlyContinue

User (HKCU)

Enable

Disable

Revert to "Not configured"

Options (1)

LabelControlRegistry valueREG typeConstraints / details
Prefer specific encryption cipher algorithms for TLSPreferSlowCiphersDrop-down listenumPreferSlowCiphersREG_SZ
LabelValue
Prefer ciphers satisfying the requirements of CNSA 1.0 and 2.0REG_SZ = cnsa
Use Microsoft Edge's default cipher orderREG_SZ = default

Application

Microsoft Edge (+ Edge Update, WebView2) (Microsoft) — November 2026 templates

Official templates downloaded on November 12, 2026.