en-US edge computer user

Revert to legacy SameSite behavior for cookies on specified sites (obsolete)

Verified with Microsoft Edge 152.0.4191.53 — updated on July 10, 2026

Microsoft Edge 152.0.4191.53

Supported on: Microsoft Edge version 80-132, Windows 7 or later

Path in the GPO console

Computer Configuration\Administrative Templates\Microsoft Edge\Content settings

Description

OBSOLETE: This policy is obsolete and doesn't work after Microsoft Edge 132. Cookies set for domains match specified patterns revert to legacy SameSite behavior. Reverting to legacy behavior causes cookies that don't specify a SameSite attribute to be treated as if they were "SameSite=None", removes the requirement for "SameSite=None" cookies to carry the "Secure" attribute, and skips the scheme comparison when evaluating if two sites are same-site. If you don't set this policy, the global default value is used. The global default is also used for cookies on domains not covered by the patterns you specify. The global default value can be configured using the 'LegacySameSiteCookieBehaviorEnabled' (Enable default legacy SameSite cookie behavior setting) policy. If 'LegacySameSiteCookieBehaviorEnabled' is unset, the global default value falls back to other configuration sources. For detailed information about valid URL patterns, see https://go.microsoft.com/fwlink/?linkid=2095322. Patterns you list in this policy are treated as domains, not URLs, so you shouldn't specify a scheme or port. The policy is discontinued from Edge 132. Example value: www.example.com [*.]example.edu

Registry

HKLM Software\Policies\Microsoft\Edge
HKCU Software\Policies\Microsoft\Edge

More options available

Options

Revert to legacy SameSite behavior for cookies on specified sites
List (registry values) list
- list under Software\Policies\Microsoft\Edge\LegacySameSiteCookieBehaviorEnabledForDomainList

Export Builder

BETA

Configure the state, scope and options, then generate .reg, PowerShell, Intune and SCCM outputs — or add the setting to a multi-setting collection.

These exports write the registry — this is not a managed GPO.

Scope

.reg file

Windows Registry Editor Version 5.00

; Exported from gporais.com
; Policy: Revert to legacy SameSite behavior for cookies on specified sites (obsolete)
; State: Enabled
; Scope: Computer (HKLM)
; Supported on: Microsoft Edge version 80-132, Windows 7 or later

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Edge\LegacySameSiteCookieBehaviorEnabledForDomainList]
; List values: enter one value per line in the builder UI.
More formats (PowerShell, Intune, SCCM)

PowerShell

# Exported from gporais.com
# Policy: Revert to legacy SameSite behavior for cookies on specified sites (obsolete)
# State: Enabled
# Scope: Computer (HKLM)
# Supported on: Microsoft Edge version 80-132, Windows 7 or later

$path = 'HKLM:\Software\Policies\Microsoft\Edge\LegacySameSiteCookieBehaviorEnabledForDomainList'
New-Item -Path $path -Force | Out-Null
# List values: enter one value per line in the builder UI.

Building a multi-setting collection? Add this setting and generate combined .reg / PowerShell / GPO scripts.

Open the Builder

Embed this policy on your site

What to embed
Theme

Adds one script line: the theme follows your site’s appearance and the height fits the content. If your site blocks scripts, the embed follows the visitor’s system theme.

Preview