How to disable Delete browsing history on Windows 10/11

by Ivan Jenic
Ivan Jenic
Ivan Jenic
Troubleshooting Expert
Passionate about all elements related to Windows and combined with his innate curiosity, Ivan has delved deep into understanding this operating system, with a specialization in drivers and... read more
Affiliate Disclosure
  • To disable users from deleting browsing history on Chrome, you just have to tweak some browser settings. 
  • If you want to know how to lock history on Google Chrome, you can modify a couple of privacy settings.
  • However, most methods are only partial, but efficient workarounds. 
  • There is no clear way to prevent history deletion in Chrome or any other browser.  
stop delete browser history
Strugling with your current browser? Upgrade to a better one: OperaYou deserve a better browser! 350 million people use Opera daily, a fully-fledged navigation experience that comes with various built-in packages, enhanced resource consumption and great design. Here's what Opera can do:

  • Easy migration: use the Opera assistant to transfer exiting data, such as bookmarks, passwords, etc.
  • Optimize resource usage: your RAM memory is used more efficiently than in other browsers
  • Enhanced privacy: free and unlimited VPN integrated
  • No ads: built-in Ad Blocker speeds up loading of pages and protects against data-mining
  • Gaming friendly: Opera GX is the first and best browser for gaming
  • Download Opera

For one reason or another, your computer or mobile phone’s browser(s) may be accessible to many users be it friends, family, and/or co-workers.

In this case, you might want to maintain a close watch on every activity or site visited on your browser by any third-party user.

Basically, all anyone needs to do is to clear/delete browsing history and close the browser, and their tracks would be covered. However, there have been significant upgrades to browser privacy over the years.

This has enabled proprietary users to keep track of the visited sites. So if you want to disable the delete browsing history option on your Chrome browser, you can now do that with no second thoughts.

And in this article, we’ll be walking you through the process of preventing cookies and browser deletion history on Firefox, Chrome, and Edge.

How to stop users from deleting browser history?

Prevent users from deleting history in Firefox

1. Lock (Disable) the Clear Browsing History on Exit option

  • Open your Firefox browser and navigate to the Firefox icon at the top right corner, and then click on Options.
  • Navigate to Privacy and click on it.
  • Under Privacy, go to History.
  • Under Firefox will: drop-down, select Use custom settings for history option.custom settings history firefox
  • Uncheck the Always use private browsing mode box.
  • Check the Remember my browsing and download history box.
  • Check the Remember search and form history and Accept cookies from sites tickbox.
  • On the Accept third-party cookies drop-down menu, select Always.
  • Under the Keep Until drop-down menu, select they expire.
  • Uncheck the Clear history when Firefox closes the box.
  • Save your privacy preferences by clicking OK at the bottom of your screen.

With the above-highlighted steps, you’ll be able to view every site visited by third-party users. However, users can still clear their browser history before exiting Firefox.

Nevertheless, you can make use of Firefox‘s about:config option to modify certain privacy functions, aimed at discouraging users from clearing browser history. Below is a configurative function for elongating browser history’s expiration period.

2. Use About:config to set maximum number of pages to retain in history

  • Navigate to about:config on your Firefox browser.
  • Open a new configuration by clicking the + icon.
  • Select New and Integer.
  • Input the code: places.history.expiration.max pages.disable delete browsing history
  • Input your desired number of pages.
  • Save changes.

With this, you can set maximum pages in their hundreds. Hence, you are able to retain your browser history for years.

NoteHowever, it should be noted that the about:config option is not limited to the above-outlined function. Basically, you can customize virtually all Firefox options with it.

Lastly, it is important to point that there is no defined method to prevent users from deleting cookies and browser history on Firefox.

As such, to monitor web traffic, especially at work, you may have to adopt the services of a proxy server or you can simply password key sections (like the privacy section) of your browser. You can also use extensions and/or plugins.

Prevent users from deleting history in Chrome

1. Modify Google Chrome privacy settings

First and foremost, you need to modify your privacy settings to save all cookies and data on your Chrome browser, and ensure you can access every information on your browser history. To do this, simply follow the steps below.

  • Open your Chrome and navigate to the menu option (denoted by “…”) at the top right corner.
  • Tap on Settings.
  • Under Settings, select  Advanced Settings.disable delete browsing history
  • Select Content Settings.
  • Navigate to Cookies and check the Allow local data to be set box.
  • Scroll down and uncheck the Block third-party cookies box.disable delete browsing history

With the above steps, you’ld be able to view the history (sites visited) on your browser, provided the users fail to clear the browser history.

However, to ensure you keep abreast of sites visited via your browser, you may have to disable the delete browsing history option on your Chrome.

Expert Tip: Some PC issues are hard to tackle, especially when it comes to corrupted repositories or missing Windows files. If you are having troubles fixing an error, your system may be partially broken. We recommend installing Restoro, a tool that will scan your machine and identify what the fault is.
Click here to download and start repairing.

On the other hand, Google Chrome does not offer any straightforward method for disabling browser history.

This is unlike Internet Explorer, which offers a direct option to prevent users from deleting cookies and browser history.

Nevertheless, there are few options (hacks & tweaks) that have been tried in the past.

2. Using Google Apps Admin Console

  • Under Google’s C-Panel (Google Apps Admin Console), navigate to Device Management.
  • Under Device Management, go to Chrome Management.
  • Select User Settings and navigate to Security.
  • Under the Incognito Mode drop-down menu, select Disallow Incognito Mode.block Incognito Mode chrome
  • Scroll down to the Browser History drop-down option and select Always save browser history.

This is relatively a rudimentary method, and any user with mid-level tech know-how would easily by-pass it and clear the browser history. Nevertheless, you can also try the method below.

3. Blacklist History Frame& Clear Browser Data Frame

Note: This is also a function of Google Apps Admin Console

  • Under C-Panel, click on Device Management.
  • Select Chrome Management, then navigate to User Setting.
  • Locate URL Blacklist, under URL Blocking.
  • In the URL Blacklist boxes, enter the following
    • chrome://settings/clearBrowserData/
    • chrome://settings-frame/clearBrowserData
    • chrome://history-frame/
    • chrome://history/
  • Save changes.

This method has been proven to work on old Chrome versions. With newer versions, however, users are easily able to work around it and successfully clear history. Moreover, it only works when a user signs into Chrome with his/her Google account.

4. Use Google History Extension

  • Get a Google History Extension and install it on your computer
  • Link it to your Chrome account

This records all sites visited via Chrome and you’ll be able to access browsing history, even after the user has cleared it.

Note: Setting Chrome to Incognito mode effectively renders this method useless. Also, if a user logs out of the Chrome account, he/she can easily clear his/her browser history, without leaving any trace.

Lastly, you can easily block any inappropriate site on your Chrome browser, especially with the use of OpenDNS (and a host of other tools). With this, no user will be able to access blacklisted site(s) via Chrome on your PC.

Prevent users from deleting browsing history in Edge

  1. Disable Clear Browsing Data on Exit on Edge
  • Launch Microsoft Edge web browser.
  • Click on the three dots (…) menu, and then click on settings.disable delete browsing history
  • In the settings bar, under Clear browsing data, click on Choose what to clear.disable delete browsing history
  • Uncheck the Browsing history tickbox, and then toggle off the Always clear this when I close the browser option.disable delete browsing history
  • Exit Microsoft Edge afterward.

Note: This method only works with a set of Windows 10 computers, specifically Windows 10 Education & Windows 10 Pro Enterprise.

Mozilla Firefox, Google Chrome, and Microsoft Edge, as emphasized above, do not provide clearly-defined options to prevent users from deleting cookies and browser history.

There are, however, various forms of hacks and tweaks, which, if properly implemented, would restrict or outrightly prevent third-party users from deleting browser history.

Some of these tweaks and hacks range from extending browser history expiration period to disabling default clearing of browser history on exit.

Bottom line, there is no clear-cut method for disabling delete browsing history on Mozilla Firefox, Google Chrome, and Microsoft Edge. The only browser that supports this function is Internet Explorer.

Hence, if you want to have unfettered access to your kids’ or employees’ browsing history, Internet Explorer is the ideal browser for you.

idee restoro Still having issues? Fix them with this tool:
  1. Download this PC Repair Tool rated Great on (download starts on this page).
  2. Click Start Scan to find Windows issues that could be causing PC problems.
  3. Click Repair All to fix issues with Patented Technologies (Exclusive Discount for our readers).

Restoro has been downloaded by 0 readers this month.

Frequently Asked Questions

  • Google does not keep your search history indefinitely, it only records your search query and browsing history for the last 10 years.

  • Incognito Mode doesn’t record your browsing history but your ISP can still see the list of websites you visited while using Incognito mode. But here’s a way to hide it completely.

  • Each browser has a History feature somewhere in its settings. Also, you can find dedicated software that tracks browsing history and analyze user behavior.