How to automatically delete cookies, temporary Internet files

Reading Time: < 1 minute

Works with Internet Explorer 7

To delete cookies, temporary internet files before logging off, you can copy the text below to a notepad file. Next rename the notepad file to a .bat file e.g. clean.bat

C:\WINDOWS\system32\rundll32.exe InetCpl.cpl,ClearMyTracksByProcess 255

or

RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 4351

You can use the above script and create a scheduled task on your machine or push out to a domain/network.