Open in the explorer

Prefer specific key exchange 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/PreferSlowKexAlgorithms

Explanation

This policy configures Microsoft Edge to prioritize certain key agreement algorithms (supported groups) in TLS 1.3 based on compliance requirements.

If you set this policy to 'cnsa2', Microsoft Edge prefers the algorithms required for the Commercial National Security Algorithm Suite 2.0 (CNSA 2.0). If you leave this policy unset or set it to 'default', the browser uses its standard key exchange order.

This policy does not guarantee negotiation of a specific algorithm. It is designed to help server operators distinguish clients with compliance requirements and apply higher-strength, non-default algorithms only when appropriate.

This policy applies only to TLS 1.3 and QUIC. The default cryptography used by Microsoft Edge already provides strong security, but enabling this policy may reduce performance when accessing websites.

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:

* CNSA2.0 (cnsa2) = Prefer key exchange methods satisfying the requirements of CNSA 2.0

* Default (default) = Use Microsoft Edge's default supported groups

Use the preceding information when configuring this policy.

Example value: cnsa2

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/PreferSlowKexAlgorithms
$k = 'HKLM:\Software\Policies\Microsoft\Edge'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Prefer specific key exchange algorithms for TLS
# Possible options:
#   Prefer key exchange methods satisfying the requirements of CNSA 2.0 = cnsa2
#   Use Microsoft Edge's default supported groups = default
Set-ItemProperty -Path $k -Name 'PreferSlowKexAlgorithms' -Value 'cnsa2' -Type String

Disable

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

Revert to "Not configured"

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

User (HKCU)

Enable

Disable

Revert to "Not configured"

Options (1)

LabelControlRegistry valueREG typeConstraints / details
Prefer specific key exchange algorithms for TLSPreferSlowKexAlgorithmsDrop-down listenumPreferSlowKexAlgorithmsREG_SZ
LabelValue
Prefer key exchange methods satisfying the requirements of CNSA 2.0REG_SZ = cnsa2
Use Microsoft Edge's default supported groupsREG_SZ = default

Application

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

Official templates downloaded on November 12, 2026.