Using the Command Line to Delete IE7 / IE8 Browsing History

Contributor Icon Contributed by Rob Rogers  
Tag Icon Tagged: Internet Explorer IE7  

You can use the command line to delete the browsing history (cookies, internet files, history, form data, and/or passwords) from IE7 or IE8. These commands can come in handy if you want to create batch files to clear the browsing history.


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 Files and Settings Stored by Add-Ons
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 4351

 

4 Comments -


  1. slurpking said on December 25, 2008

    What is the advantage of using the commands over the tools menu in IE7?

  2. Kingsly said on April 16, 2009

    it is not working

  3. ted said on June 4, 2009

    to hell with deleting all this stuff – how do I get my url’s to stay so I can use the down arrow and just click on site I want and not have to type it all again?

  4. Afds said on July 21, 2010

    you guys are the dummest people ever. I guess you don’t know about the world of IT. Get a clue….IE 6 never had anything like this and when you want to delete history it was a pain. Now you can use a batch file to clear all this things in one file…

 

RSS feed for comments on this post. TrackBack URL

Leave a comment -