Configure cookies

Policy ID
DefaultCookiesSetting
Scope
Computer Configuration, User Configuration
Supported on
Microsoft Edge version 77, Windows 7 or later
Source
Microsoft Edge Policy Templates (version 155.0.4283.45)
Category
Microsoft Edge › Content settings

Description

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.

Options

  • Configure cookies
    • Let all sites create cookies
    • Don't let any site create cookies
    • Keep cookies for the duration of the session, except ones listed in "SaveCookiesOnExit"

Registry

ComputerHKEY_LOCAL_MACHINE
  • DefaultCookiesSettingREG_DWORD
UserHKEY_CURRENT_USER
  • DefaultCookiesSettingREG_DWORD

Other policies in the same category

View all policies in this category (75)