Configure how Microsoft Edge treats Cookies

Internet Cookies is not a new term of today’s computing generation. It is an interaction between a web browser and a server holding a web page in which the server sends a Cookie to the browser, and the browser sends it back when requesting another page. Websites store cookies on your system so that your browsing can be enhanced in various ways for better surfing experience. Today we’re going to talk about how cookies are treated inside the new browser Microsoft Edge

By default, Edge treats the cookies in the same fashion as the others browsers do. However, there is a way using which you can configure how this browser must handle cookies. You can manually select how cookies are treated in Edge by navigating as follows:

Edge > Settings > Advanced Settings > Cookies.

This post will show you how to allow or block Cookies in Edge browser.


In case, if you’re controlling a number of Windows 10 machines in an organization, you can set a policy to allow or prevent cookies on all machines at once. Here is what have to do on the central machine:

Configure how Microsoft Edge treats Cookies

NOTE: Local Group Policy Editor is available in Windows Pro and Enterprise editions only.

1. Press Windows Key + R combination, type put gpedit.msc in Run dialog box and hit Enter to open the Local Group Policy Editor.

2. In the left pane of Local Group Policy Editor window, navigate here:

Computer Configuration -> Administrative Templates -> Windows Components -> Microsoft Edge


3. Moving on, in the right of above shown window, look for Setting named Configure how Microsoft Edge treats cookies. It must be Not Configured by default.

This settings lets you decide how Microsoft Edge should treat cookies. If you enable this setting, you have 3 additional options: (1) Don’t block. Cookies can download from all websites. This is the default value. (2) Block only third-party cookies. Stops third-party cookies from downloading. (3) Block all cookies. Stops all cookies from downloading.

Double click on it to get this:


4. Finally in the above-shown window, select Enabled and then select your desired option in the Configure Cookie Setting section. You can either block all cookies or block only 3rd-party cookies.

Click Apply followed by OK. Close Local Group Policy Editor now and reboot the machine to make changes effective.

If your Windows does not GPEDIT, then open REGEDIT and navigate to the following Registry Key:

HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\AppContainer\Storage\microsoft.microsoftedge_8wekyb3d8bbwe\MicrosoftEdge\Main

Now in the right pane, change the value of Main to 2 to allow all Cookies.

The values are:

  • 0 – Block all cookies
  • 1 – Block only 3rd-party cookies
  • 2 – Don’t block cookies

That’s it!

Posted by on , in Category Uncategorized with Tags
An Electrical Engineer by profession, Kapil is a Microsoft MVP and a Microsoft Content Creator. Please read the entire post & the comments first & create a system restore point before making any changes to your system.