Block cookies on specific sites

Define a list of sites, based on URL patterns, that can't 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 'CookiesAllowedForUrls' (Allow 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'

Example value:

https://www.contoso.com
[*.]contoso.edu

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

Block cookies on specific sites

Registry HiveHKEY_LOCAL_MACHINE or HKEY_CURRENT_USER
Registry PathSoftware\Policies\Microsoft\Edge\CookiesBlockedForUrls
Value Name{number}
Value TypeREG_SZ
Default Value

msedge.admx

Administrative Templates (Computers)

Administrative Templates (Users)