Browsers and Mail Allow or Block Cookies for Sites in Microsoft Edge

Microsoft_Edge.jpeg

Microsoft has adopted the Chromium open source project in the development of Microsoft Edge on the desktop to create better web compatibility. This new Microsoft Edge runs on the same Chromium web engine as the Google Chrome browser, offering you best in class web compatibility and performance.

The new Chromium based Microsoft Edge is supported on all versions of Windows 7, Windows 8.1, Windows 10, Windows Server (2016 and above), Windows Server (2008 R2 to 2012 R2), and macOS.

Cookies are small files that websites put on your PC to store information about you and your preferences. Cookies can make your browsing experience better by letting sites remember your preferences or letting you avoid signing in each time you visit certain sites. Cookies can also help a website remember your location, so it can provide you with locally relevant content, like weather. However, some cookies might put your privacy at risk by tracking sites that you visit.

Microsoft Edge allows all cookies from all websites by default.

See also: Temporarily allow cookies and site data in Microsoft Edge | Microsoft Edge Support

This tutorial will show you how to allow or block cookies for sites in the Chromium based Microsoft Edge.


Contents

  • Option One: Turn On or Off Allow Cookies for All Sites in Microsoft Edge for Current User
  • Option Two: Allow Cookies for a Specific Site via pop-up in Microsoft Edge for Current User
  • Option Three: Allow or Block Cookies for Specific Sites in Microsoft Edge from Settings for Current User
  • Option Four: Allow or Block Cookies for Specific Sites in Microsoft Edge from Cookies in Use for Current User
  • Option Five: Force Always Allow or Block Cookies for All Sites in Microsoft Edge for All Users using a REG file





OPTION ONE

Turn On or Off Allow Cookies for All Sites in Microsoft Edge for Current User


Sites added to the Allow or Block list in Option Three or Option Four will override the setting in this option.


1 Open Microsoft Edge.

2 Click/tap on the Settings and more (Alt+F) button (3 dots), and click/tap on Settings. (see screenshot below)

Microsoft_Edge_settings.jpg

3 Click/tap on Cookies and site permissions on the left side, and click/tap on Manage and delete cookies and site data on the right side under "Cookies and data stored". (see screenshot below)

You will need to click/tap on Cookies and site data on the right side instead for the stable channel of Microsoft Edge.

If you do not see a left pane, then either click/tap on the 3 bars menu button towards the top left OR widen the horizontal borders of the Microsoft Edge window until you do.


Cookies_Microsoft_Edge.png

4 Turn On (default) or Off Allow sites to save and read cookie data for what you want. (see screenshots below)

Turning off Allow sites to save and read cookie data will also turn off and disable the Block third-party cookies setting.


Turn_on_cookies_in_Microsoft_Edge.png
Turn_off_cookies_in_Microsoft_Edge.png

5 When finished, you can close the Settings tab if you like.





OPTION TWO

Allow Cookies for a Specific Site via pop-up in Microsoft Edge for Current User


1 Open Microsoft Edge.

2 If you get a pop-up while on a site asking to allow cookies for the site, click/tap on the Accept button if wanted. (see screenshot below)

Accept_cookies_pop-up_Microsoft_Edge.png





OPTION THREE

Allow or Block Cookies for Specific Sites in Microsoft Edge from Settings for Current User


1 Open Microsoft Edge.

2 Click/tap on the Settings and more (Alt+F) button (3 dots), and click/tap on Settings. (see screenshot below)

Microsoft_Edge_settings.jpg

3 Click/tap on Cookies and site permissions on the left side, and click/tap on Manage and delete cookies and site data on the right side under "Cookies and data stored". (see screenshot below)

You will need to click/tap on Cookies and site data on the right side instead for the stable channel of Microsoft Edge.

If you do not see a left pane, then either click/tap on the 3 bars menu button towards the top left OR widen the horizontal borders of the Microsoft Edge window until you do.


Cookies_Microsoft_Edge.png

4 Click/tap on the Add button to Block or Allow cookies for a specific site you want. (see screenshot below)

Allow_or_block_cookies_for_sites_in_Microsoft_Edge-1.png

5 Type the site's URL address, check or uncheck (default) the Include third-party cookies on this site box for what you want, and click/tap on Add. (see screenshot below)

Allow_or_block_cookies_for_sites_in_Microsoft_Edge-2.png

6 If needed, you can click/tap on the More actions (3 dots) button for an added site to either move to Allow list, move to Block list, move to Clear on exit list, Edit, or Remove. (see screenshots below)

Allow_or_block_cookies_for_sites_in_Microsoft_Edge-3.png
Allow_or_block_cookies_for_sites_in_Microsoft_Edge-4.png

7 When finished, you can close the Settings tab if you like.





OPTION FOUR

Allow or Block Cookies for Specific Sites in Microsoft Edge from Cookies in Use for Current User


1 Open Microsoft Edge.

2 While you have a site open in a tab, click/tap on the View site information (lock) icon on the left side of the address bar, and click/tap on Cookies. (see screenshot below)

Cookies_from_cookies_in_use-1.png

3 Do step 4 (allow) or step 5 (block) below for what you want.


4 To Allow Cookies for a Site in Microsoft Edge

This will add the site(s) to the same Allow list in Option Three.


A) Click/tap on Blocked. (see screenshot below)​

B) Select a blocked site you want to allow all cookies from.​

C) Click/tap on Allow.​

D) When finished allowing cookies for sites, click/tap on Done.​

Cookies_from_cookies_in_use-3.png


5 To Block Cookies for a Site in Microsoft Edge

This will add the site(s) to the same Block list in Option Three.


A) Click/tap on Allowed. (see screenshot below)​

B) Select an allowed site you want to block all cookies from.​

C) Click/tap on Block.​

D) When finished blocking cookies for sites, click/tap on Done.​

Cookies_from_cookies_in_use-2.png





OPTION FIVE

Force Always Allow or Block Cookies for All Sites in Microsoft Edge for All Users using a REG file


You must be signed in as an administrator to do this option.

This option uses the DefaultCookiesSetting policy to 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 Microsoft Edge is running in background mode, the session might not close when the last window is closed, meaning the cookies won't be cleared when the window closes. See BackgroundModeEnabled policy for information about configuring what happens when Microsoft Edge runs in background mode.

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.)

The downloadable .reg files below will add and modify the DWORD value in the registry key below.

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge

DefaultCookiesSetting DWORD

(delete) = Default - user choice
1 = Always allow
2 = Always block
4 = SessionOnly


1 Do step 2 (allow), step 3 (block), step 4 (SessionOnly), or step 5 (default) below for what you would like to do.


2 To Force Always Allow Cookies for All Sites in Microsoft Edge for All Users

This step will turn on and disable changing the Allow sites to save and read cookie data and Block third-party cookies settings in Option One.

Force_allow_cookies_for_sites_in_Microsoft_Edge.png


A) Click/tap on the Download button below to download the file below, and go to step 6 below.​

Always_allow_cookies_for_all_sites_in_Microsoft_Edge_for_all_users.reg



3 To Force Always Block Cookies for All Sites in Microsoft Edge for All Users

This step will turn off and disable changing the Allow sites to save and read cookie data and Block third-party cookies settings in Option One.

Force_block_cookies_for_sites_in_Microsoft_Edge.png


A) Click/tap on the Download button below to download the file below, and go to step6 below.​

Always_block_cookies_for_all_sites_in_Microsoft_Edge_for_all_users.reg



4 To Force SessionOnly Cookies for All Sites in Microsoft Edge for All Users

A) Click/tap on the Download button below to download the file below, and go to step6 below.​

Always_SessionOnly_cookies_for_all_sites_in_Microsoft_Edge_for_all_users.reg



5 Default User Choice to Allow or Block Cookies for Sites in Microsoft Edge

This is the default setting.

This step will allow users to change the Allow sites to save and read cookie data and Block third-party cookies settings in Option One.


A) Click/tap on the Download button below to download the file below, and go to step 6 below.​

Default_user_choice_cookies_for_sites_in_Microsoft_Edge.reg



6 Save the .reg file to your desktop.

7 Double click/tap on the downloaded .reg file to merge it.

8 When prompted, click/tap on Run, Yes (UAC), Yes, and OK to approve the merge.

9 If Microsoft Edge is currently open, then close and reopen Microsoft Edge to apply.

10 You can now delete the downloaded .reg file if you like.


That's it,
Shawn Brink


 

Attachments

  • microsoft_edge_chromium.png
    microsoft_edge_chromium.png
    28 KB · Views: 62
  • Always_allow_cookies_for_all_sites_in_Microsoft_Edge_for_all_users.reg
    610 bytes · Views: 88
  • Always_block_cookies_for_all_sites_in_Microsoft_Edge_for_all_users.reg
    610 bytes · Views: 81
  • Always_SessionOnly_cookies_for_all_sites_in_Microsoft_Edge_for_all_users.reg
    610 bytes · Views: 88
  • Default_user_choice_cookies_for_sites_in_Microsoft_Edge.reg
    584 bytes · Views: 86
Last edited:

DTG1

Death to Gnomes!!!
Member
VIP
Local time
4:27 PM
Posts
138
Location
SE MI
Option 6: Don't use Edge.
 

My Computer

System One

  • Operating System
    Win10
    Computer type
    PC/Desktop
    Manufacturer/Model
    ME
    CPU
    AMD FX-9370
    Motherboard
    ASUS SABERTOOTH 990FX R2.0 +SB950
    Memory
    G.Skill Sniper 16gb DDR3 2400
    Graphics Card(s)
    Msi GTX1080 Gaming X
    Sound Card
    onboard (realtek?) -- SPKRS:Logitech Z623 200w 2.1
    Monitor(s) Displays
    2x Dell S2440L (16:9) 1 Nixeus NX-EDG27S
    Hard Drives
    C:\Samsung Evo (500GB)
    D:\Samsung Evo (1TB)
    F:\Seagate (2TB)
    PSU
    Corsair HX1000i
    Case
    Phanteks Enthoo Primo w/9 140mm fans
    Cooling
    CM Nepton 280L(CPU) (4 fan P/P)
    Keyboard
    Logitech 910s Orion Spark
    Mouse
    Logitech G604 LightSpeed
    Internet Speed
    faster than dialup
    Browser
    Waterfox
    Antivirus
    none
    Other Info
    potato image lighted > http://i.imgur.com/gYkHqxU.jpg

Brink

Administrator
Staff member
MVP
Local time
3:27 PM
Posts
2,300
Thread starter

My Computer

System One

  • Operating System
    Windows 10 Pro for Workstations
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom self build
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    16 GB (8GBx2) G.SKILL TridentZ DDR4 3200 MHz
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G7 27"
    Hard Drives
    1TB Samsung 980 PRO M.2,
    1TB Samsung 970 EVO Plus M.2,
    6TB WD Black WD6001FZWX
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gbps Download and 35 Mbps Upload
    Browser
    Google Chrome
    Antivirus
    Microsoft Defender and Malwarebytes Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    Linksys EA9500 router,
    Arris SB8200 cable modem,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S20 Ultra 5G phone
Top