This will be my last article which focuses on Deleting the Internet Explorer 7 (IE7) Temporary Files, Cookies, Browser History etc… In my previous 2 Articles, I talked about How-To Clear the Browser History files manually and via CMD line however if you need help doing this via a Batch File, read on. The below Step-by-Step Tutorial should be simple to follow. I’ll be using a Windows Vista machine for the Tutorial and Screen Shots however the process is pretty much the same for Windows XP and other Windows Operating Systems.
1. Right Click on your Desktop and Click New, Text Document
You should now have a new Document on your Desktop that looks like this:

3. Double Click the Document to open it. Type or Paste the following text into the empty document
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 255
It should now look like this:
3a. Click File, Save then Close the Document
Ok, now it’s time to convert the document into a Batch file. It’s a simple process or changing the file extension to a .cmd file.
4. Right Click on the Document and Click Rename
5. Delete the document name and Type ClearHistory.cmd (or whatever you want to call it).
After Rename –
Your Done! To test it out, just Double Click the File and you should see a Internet Explorer 7 box open telling you it’s clearing it’s Temporary Files
If your REALLY paranoid, you can setup a Windows Task to run your new Batch file every 15 or 30 Minutes. Personally, I only clear my Browsing History and Temp files to get rid of clutter on my Hard Drive.
Comments? Would love to hear from you and, if you have a question, please post them in our Free Message Forum.
Tags: Internet Explorer, ie7, security, privacy, clear history

This is awesome! Just created the batch file and my history is being nuked every 90 minutes!
Just because i’m paranoid doesnt mean they aren’t out to get me!
@Tony
Exactly! I’m glad you enjoyed the article!
Very usefull information…..
regards,
Nayeem N.S
Thanks a Ton
oh no, this didn’t work for me! maybe i’m doing something wrong? ):
@Cherry – What exactly is not working? Please post your issue / question in our Forum – http://www.groovypost.com/forum/
Error in Inetcpl.cpl
Missing entry:ClearMyTracksByProcess
@Strider
I take it that was your error message box that popped up when you ran the command.
What version of windows are you running and what version of IE ?
Thank you.
[...] 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. [...]
even i am getting the same problem it is giving an error saying that
Error in Inetcpl.cpl
Missing entry:ClearMyTracksByProcess
using windows Xp service pack – 2
Learning very much from Mr. Groove.
Thanks a Lot.
Great stuff and nice sharing. Its req for me.
Thanks
Thanks…
Thanks!