How to Create a Group Policy to Delete Internet Explorer Cache

by Jeff Grundy
Spencer Platt/Getty Images News/Getty Images

Whether using a shared a computer or one with a guest or roaming profile, browser privacy can be a concern on a system to which you do not have exclusive access. If you want to ensure others can't view your browsing history, deleting all browser cache and temporary Internet files is the only sure solution. To automate the safeguarding of your privacy when surfing the Web, you can create a group policy that deletes the Internet Explorer browsing history and all temporary Internet files each time someone logs out of Windows or shuts down the computer.

Step 1

Log in to Windows with your administrator username and password.

Step 2

Press "Windows+R" to open a Run dialogue box, and then type "gpedit.msc" into the "Open" field. Press "Enter" or click "OK." If a User Account Control warning message appears on the screen, click "Yes."

Step 3

Click the arrow next to "Computer Configuration" in the Local Group Policy Editor window. Click "Administrative Templates | Windows Components | Internet Explorer | Advanced Page."

Step 4

Scroll down to and double-click "Empty Temporary Internet Files When Browser is Closed" in the Settings list. Select the "Enabled" option in the pop-up window. Click "Apply," and then click "OK." Close the Local Group Policy Editor window.

Log out of Windows and log back in again. Open Internet Explorer and surf the Internet normally. When you close Internet Explorer, Windows deletes the temporary Internet files automatically.


  • Using the "Computer Configuration" component in the Local Group Policy Editor window enforces the policy for all users of the computer. If you want to clear the Internet cache only for a select group of users, select the "User Configuration" component in the Local Group Policy Editor, select a group and then enable the same settings used to enforce the policy in the Computer Configuration component.


Photo Credits

  • Spencer Platt/Getty Images News/Getty Images

About the Author

Jeff Grundy has been writing computer-related articles and tutorials since 1995. Since that time, Grundy has written many guides to using various applications that are published on numerous how-to and tutorial sites. Born and raised in South Georgia, Grundy holds a Master of Science degree in mathematics from the Georgia Institute of Technology.

More Articles