Save cookies when Microsoft Edge closes

Policy ID
SaveCookiesOnExit
Scope
Computer Configuration, User Configuration
Supported on
Microsoft Edge version 86, Windows 7 or later
Source
Microsoft Edge Policy Templates (version 155.0.4283.45)
Category
Microsoft Edge

Description

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

Options

  • Save cookies when Microsoft Edge closes

Registry

Other policies in the same category

View all policies in this category (438)