Configure cookies
Jump to overview

Policy overview

Key metadata and intent for this policy.

Category
Microsoft Edge > Content settings
Supported on
Microsoft Edge version 77, Windows 7 or later

Supported OS tags: Windows7

Control whether websites can create cookies on the user's device. This policy is all or nothing - you can let all websites create cookies, or no websites create cookies. You can't use this policy to enable cookies from specific websites. Set the policy to 'SessionOnly' to clear cookies when the session closes. If you don't configure this policy, the default 'AllowCookies' is used, and users can change this setting in Microsoft Edge Settings. (If you don't want users to be able to change this setting, set the policy.) Policy options mapping: * AllowCookies (1) = Let all sites create cookies * BlockCookies (2) = Don't let any site create cookies * SessionOnly (4) = Keep cookies for the duration of the session, except ones listed in 'SaveCookiesOnExit' (Save cookies when Microsoft Edge closes) Use the preceding information when configuring this policy.

Internal name
DefaultCookiesSetting
Policy ID
47dddeb91a4d
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
Configure cookies
ID DefaultCookiesSetting
enum
Path
Software\Policies\Microsoft\Edge
Value name
DefaultCookiesSetting
Type
REG_DWORD
Options: Let all sites create cookies (1), Don't let any site create cookies (2), Keep cookies for the duration of the session, except ones listed in "SaveCookiesOnExit" (4)
Configure cookies
Both · Type enum
Registry mapping
Path
Software\Policies\Microsoft\Edge
Value name
DefaultCookiesSetting
Type
REG_DWORD
Details
Options: Let all sites create cookies (1), Don't let any site create cookies (2), Keep cookies for the duration of the session, except ones listed in "SaveCookiesOnExit" (4)