Save cookies when Microsoft Edge closes

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 will 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 have been added by an Admin.

If you enable this policy, the list of cookies won't be cleared when the browser closes.

If you disable or don't configure this policy, the user's personal configuration is used.

Example value:

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

Save cookies when Microsoft Edge closes

Registry PathSoftware\Policies\Microsoft\Edge\SaveCookiesOnExit
Value Name{number}
Value TypeREG_SZ
Default Value


Administrative Templates (Computers)

Administrative Templates (Users)