Allow cookies on specific sites

Define a list of sites, based on URL patterns, that are allowed to set cookies.

If you don't configure this policy, the global default value from the 'DefaultCookiesSetting' (Configure cookies) policy (if set) or the user's personal configuration is used for all sites.

See the 'CookiesBlockedForUrls' (Block cookies on specific sites) and 'CookiesSessionOnlyForUrls' (Limit cookies from specific websites to the current session) policies for more information.

Note there cannot be conflicting URL patterns set between these three policies:

- 'CookiesBlockedForUrls'

- CookiesAllowedForUrls

- 'CookiesSessionOnlyForUrls'

To exclude cookies from being deleted on exit, configure the 'SaveCookiesOnExit' (Save cookies when Microsoft Edge closes) policy.

Example value:

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

Allow cookies on specific sites

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


Administrative Templates (Computers)

Administrative Templates (Users)