Save cookies when Microsoft Edge closes
Jump to overview

Policy overview

Key metadata and intent for this policy.

Category
Microsoft Edge
Supported on
Microsoft Edge version 86, Windows 7 or later

Supported OS tags: Windows7

When this policy is enabled, the specified set of cookies is exempt from deletion when the browser closes. This policy is only effective when: - The 'Cookies and other site data' toggle is configured in Settings/Privacy and services/Clear browsing data on close or - The policy 'ClearBrowsingDataOnExit' (Clear browsing data when Microsoft Edge closes) is enabled or - The policy 'DefaultCookiesSetting' (Configure cookies) is set to 'Keep cookies for the duration of the session'. You can define a list of sites, based on URL patterns, that have their cookies preserved across sessions. Note: Users can still edit the cookie site list to add or remove URLs. However, they can't remove URLs that are added by an Admin. If you enable this policy, the list of cookies aren't cleared when the browser closes. If you disable or don't configure this policy, the user's personal configuration is used. Example value: https://www.contoso.com [*.]contoso.edu

Internal name
SaveCookiesOnExit
Policy ID
d5af4e916db4
Elements
1

Registry values

How enabled and disabled states update the registry.

No explicit registry values are set for enabled or disabled states.

Policy elements

Inputs and configuration options exposed by this policy.

ScopeElementTypeRegistry mappingConstraints & behaviorCopy
Save cookies when Microsoft Edge closes
ID SaveCookiesOnExitDesc
list
Path
Software\Policies\Microsoft\Edge\SaveCookiesOnExit
Value name
1, 2, …
Type
REG_SZ
List: standard
Save cookies when Microsoft Edge closes
Both · Type list
Registry mapping
Path
Software\Policies\Microsoft\Edge\SaveCookiesOnExit
Value name
1, 2, …
Type
REG_SZ
Details
List: standard