How to Turn On or Off Clear Browsing Data on Exit of Microsoft Edge in Windows 10
Microsoft Edge is a new web browser that is available across the Windows 10 device family. It is designed for Windows 10 to be faster, safer, and compatible with the modern Web.
Your browsing data is the information that Microsoft Edge remembers and stores on a PC as your browse the web. This includes info you've entered into forms, passwords, and sites you've visited, and it helps make your browsing experience better. If you're using a shared or public PC, you might not want Microsoft Edge to remember your browsing data.
Starting in Windows 10 Insider Preview Build 14271, you can now turn on or off to always clear browsing data when you close Microsoft Edge.
This tutorial will show you how to turn on or off to automatically clear browsing data when closing Microsoft Edge for your account or all users in Windows 10.
CONTENTS:
- Option One: To Turn On or Off Clear Browsing Data on Exit for Current User in Microsoft Edge Settings
- Option Two: To Turn On or Off Clear Browsing Data on Exit for Current User using a REG file
- Option Three: Enable or Disable Clear Browsing Data on Exit for All Users in Local Group Policy Editor
- Option Four: Enable or Disable Clear Browsing Data on Exit for All Users using a REG file
OPTION ONE
To Turn On or Off Clear Browsing Data on Exit for Current User in Microsoft Edge Settings
1. Open the
Microsoft Edge app.
2. Click/tap on the
Settings and more (Alt+X) button at the top right corner, and click/tap on
Settings. (see screenshot below)
3. Click/tap on
Privacy & security on the left side, and click/tap on the
Choose what to clear button under
Clear browsing data on the right side. (see screenshot below)
4. Turn
on or
off (default)
Always clear this when I close the browser for what you want to do. (see screenshot below)
If turned on, check the items you want to be cleared on exit, and uncheck the items you don't want cleared.
OPTION TWO
To Turn On or Off Clear Browsing Data on Exit for Current User using a REG file
The downloadable .reg files below will modify the DWORD in the registry key below.
Code:
HKEY_CURRENT_USER\SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\AppContainer\Storage\microsoft.microsoftedge_8wekyb3d8bbwe\MicrosoftEdge\Privacy
ClearBrowsingHistoryOnExit DWORD
0 = Off
1 = On
1. Do
step 2 (on) or
step 3 (off) below for what you would like to do.
2. To Turn On Clear Browsing Data On Exit of Microsoft Edge
A) Click/tap on the Download button below to download the file below, and go to
step 4 below.
Turn_On_Microsoft_Edge_ClearBrowsingHistoryOnExit.reg
Download
3. To Turn Off Clear Browsing Data On Exit of Microsoft Edge
This is the default setting.
A) Click/tap on the Download button below to download the file below, and go to
step 4 below.
Turn_Off_Microsoft_Edge_ClearBrowsingHistoryOnExit.reg
Download
4. Save the .reg file to your desktop.
5. Double click/tap on the downloaded .reg file to merge it.
6. When prompted, click/tap on
Run,
Yes (
UAC),
Yes, and
OK to approve the merge.
7. If you like, you can delete the downloaded .reg file if you like.
OPTION THREE
Enable or Disable Clear Browsing Data on Exit for All Users in Local Group Policy Editor
You must be signed in as an administrator to do this option.
If enable or disabled, this option will override and gray out Option One and Option Two.
The Local Group Policy Editor is only available in the Windows 10 Pro, Enterprise, and Education editions.
All editions can use Option FOUR below.
1. Open the
Local Group Policy Editor.
2. In the left pane of Local Group Policy Editor, navigate to the location below. (see screenshot below)
Computer Configuration\Administrative Templates\Windows Components\Microsoft Edge

3. In the right pane of
Microsoft Edge in Local Group Policy Editor, double click/tap on the
Allow clearing browsing data on exit policy to edit it. (see screenshot above)
4. Do
step 5 (enable),
step 6 (disable), or
step 7 (default) below for what you want.
5. To Always Enable Clear Browsing Data on Exit for All Users
A) Select (dot)
Enabled, click/tap on
OK, and go to
step 8 below. (see screenshot below)
6. To Always Disable Clear Browsing Data on Exit for All Users
A) Select (dot)
Disabled, click/tap on
OK, and go to
step 8 below. (see screenshot below)
7. Not Configure (default) Clear Browsing Data on Exit for All Users
A) Select (dot)
Not Configured, click/tap on
OK, and go to
step 8 below. (see screenshot below)

8. You can close the Local Group Policy Editor if you like.
9. If
Microsoft Edge is currently open, then close and reopen the browser to apply.
OPTION FOUR
Enable or Disable Clear Browsing Data on Exit for All Users using a REG file
You must be signed in as an administrator to do this option.
If enabled or disabled, this option will override and gray out Option One and Option Two.
The downloadable .reg files below will add and modify the DWORD value in the registry key below.
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\MicrosoftEdge\Privacy
ClearBrowsingHistoryOnExit DWORD
delete = Not Configured (default)
0 = Disable
1 = Enable
1. Do
step 2 (enable),
step 3 (disable), or
step 4 (default) below for what you want.
2. To Always Enable Clear Browsing Data on Exit for All Users
A) Click/tap on the Download button below to download the file below, and go to
step 5 below.
Always_enable_ClearBrowsingHistoryOnExit_of_Microsoft_Edge.reg
Download
3. To Always Disable Clear Browsing Data on Exit for All Users
A) Click/tap on the Download button below to download the file below, and go to
step 5 below.
Always_disable_ClearBrowsingHistoryOnExit_of_Microsoft_Edge.reg
Download
4. Not Configure (default) Clear Browsing Data on Exit for All Users
A) Click/tap on the Download button below to download the file below, and go to
step 5 below.
Default_not_configured_ClearBrowsingHistoryOnExit_of_Microsoft_Edge.reg
Download
5. Save the .reg file to your desktop.
6. Double click/tap on the downloaded .reg file to merge it.
7. When prompted, click/tap on
Run,
Yes (
UAC),
Yes, and
OK to approve the merge.
8. If
Microsoft Edge is currently open, then close and reopen the browser to apply.
9. If you like, you can now delete the downloaded .reg file.
That's it,
Shawn