How to Prevent Users From Deleting Cookies & Browser History in Internet Explorer

Ads by Google

Few days back, we told you about  completely deleting your Google search history from the browser. It means anyone can easily delete the traces of his web activity using certain steps. Well, to be honest, one could still recover them but that won’t be easy.

Deleting cookies and browser history is advisable if you are not on your own PC. But if it’s your computer and someone else is using it for a while, then you may not want to get rid of all the cookies and history. This article talks about the ways to prevent a user from deleting them in Internet Explorer.

There are two options to start with. First is to create another user account. Deleting web history in that account won’t affect your account.

If the above method is not feasible then you could always do it by editing the Windows group policy editor and that’s what we are going to discuss in detail.

Here are the steps.

1. To edit the group policy editor settings, click on Start button. Type gpedit.msc in the search box and press enter.

windows group policy editor

2. In Local Group policy editor go to Computer Configuration-> Administrative Templates-> Windows Components->  Internet Explorer-> Delete browsing history.

group policy editor

3. On right you will find many options. You can find options for prevent deleting cookies, history, private filtering data, temporary internet files, favorite site data, form data etc.

Ads by Google

prevent deleting cookies

4. Right click on the first option, i.e. “Prevent deleting cookies”. Select “edit” from the right click menu.

prevent deleting cookies

5. Select the “Enable” option and click OK.

prevent deleting history in internet explorer

6. Similarly right click on second option “Prevent deleting websites that the user has visited” and enable it.

7. To see the steps in action, open the internet explorer and perform the following task.

  • Go to Tools->Internet Options.
  • In the Internet Options dialog box go to General tab. Under browsing history click Delete button.
  • In the Delete Browsing History dialog box, you can’t select checkbox next to Cookies.

delete browsing history1

You can see there is a notification in yellow at the bottom that says, “Some settings are managed by your system administrator”.

So that’s how you use the group policy editor in Windows to prevent deleting browser history and cookies in Internet Explorer. The group policy editor is a nice tool to manage a lot of settings. We’ll talk about it in future articles.

Before You Go...

Just wanted to let you know that we've just launched our YouTube Channel where we'll upload awesome video content. Make sure you hit the subscribe button to stay up to date with the new videos we upload every week.

Get Guiding Tech articles delivered to your inbox.

Also get a free ebook when you subscribe.

We will never share your address. Unsubscribe at any time.