Automatically Clear IE7 Browser Temporary Files at Exit
Sep 26th, 2008 by MrGroove
Earlier in the week, I wrote an article on how to manually clear the Browser History, Cookies and other Temp files from Internet Explorer 7 (IE7). Today I’m going to show you How-To do this automatically when you close your browser as well as from the CMD line or batch file you can place on your desktop and run anytime you like. So first, let’s begin with How-To clear the IE7 browser history each time you close the browser.
1) Open Internet Explorer 7, Click Tools, Internet Options
2) Click Advanced Tab, Scroll Down and Check the box Empty Temporary Internet Files folder when browser is closed, Click OK and your DONE!
It’s also possible to clear all the Browser History Files, Cookies, Temp Files etc… using one of the commands below:
Delete Temporary Internet Files:
- RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 8
Delete Cookies:
- RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 2
Delete History:
- RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 1
Delete Form Data:
- RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 16
Delete Passwords:
- RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 32
Delete All
- RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 255
Delete All (Also delete files and settings stored by add-ons)
- RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 4351
Now, you can either run these commands from a CMD line, or from the Start, Start Search Run Box in Vista OR, even better from a Batch File. The batch file is a nice touch because you can create it on your desktop and click on it at will without having remember the commands here from groovyPost. Now I understand now everyone knows how to setup a Batch File to execute code so if you need help, take a look at my next article on How-To Create a Batch File to Delete IE7 Browser History and Temp Files.
Tags: Internet Explorer, ie7, security, privacy
