Here is a batch file I just wrote to clean up the various Insecure Explorer (oops, of course I mean "Internet Explorer") traces upon boot. This will work on Windows 2000 and Windows XP Home/Pro, and is best executed using Task Scheduler, with a task set to run "At system startup".
The path to "Eraserl.exe" on your system may vary, and you will (of course) have to plug in the correct value(s) for user name(s) (in place of "[user name #1]" and "[user name #2]").
I didnt really want the "-silent" command-line option in there, but I had to in order to prevent "File not found. Nothing to erase." errors from Eraserl.exe, in the case that some of the target directories were empty. For example, if you erase the directories for one of your user names, then reboot before anything new is written to those same directories by Internet Explorer (for example, because the user didnt log in during that Windows session), youll get a "File not found. Nothing to erase." error message upon your next boot. Adding the "-silent" parameter suppresses that mild annoyance. Unfortunately, it also suppresses the progress dialog. I wish it were possible with Eraserl.exe to keep the progress dialog while suppressing errors, but its not...
The blurb at the end of the batch file (i.e. "rem Comment out...") is simply an explanation as to how to keep the command prompt window on screen after all the Eraserl.exe commands finish. That is, if you change the line "goto end" to read "rem goto end", the "pause" line will execute, which will keep the window present. The only reason I put that in there is because I like to change my command prompt window colors and fonts. [
] If you use this, make sure you change "rem goto end" back to "goto end" after youre done.
Be careful with this batch file--it will blow away ALL of your Insecure Explorer cookies and history, if you run it as is!
<---Start of batch file below this line--->
@echo off
cls
rem Method "DoD" is 7-pass; method "DoD_E" is 3-pass.
rem You can change the number after the "Random" method (e.g. "Random 2" or "Random 3").
rem Choices for launching priorities are:
rem REALTIME
rem HIGH
rem ABOVENORMAL
rem NORMAL
rem BELOWNORMAL
rem LOW
echo.
echo Please wait while Internet items are erased...
echo.
start "" /high "C
rogram FilesEraserEraserl.exe" -folder "C
ocuments and SettingsAdministratorLocal SettingsTemporary Internet FilesContent.IE5" -subfolders -keepfolder -method Random 2 -silent
start "" /high "C
rogram FilesEraserEraserl.exe" -folder "C
ocuments and SettingsAdministratorLocal SettingsHistoryHistory.IE5" -subfolders -keepfolder -method Random 2 -silent
start "" /high "C
rogram FilesEraserEraserl.exe" -folder "C
ocuments and SettingsAdministratorCookies" -subfolders -keepfolder -method Random 2 -silent
start "" /high "C
rogram FilesEraserEraserl.exe" -folder "C
ocuments and SettingsAll UsersLocal SettingsTemporary Internet FilesContent.IE5" -subfolders -keepfolder -method Random 2 -silent
start "" /high "C
rogram FilesEraserEraserl.exe" -folder "C
ocuments and SettingsAll UsersLocal SettingsHistoryHistory.IE5" -subfolders -keepfolder -method Random 2 -silent
start "" /high "C
rogram FilesEraserEraserl.exe" -folder "C
ocuments and SettingsAll UsersCookies" -subfolders -keepfolder -method Random 2 -silent
start "" /high "C
rogram FilesEraserEraserl.exe" -folder "C
ocuments and SettingsDefault UserLocal SettingsTemporary Internet FilesContent.IE5" -subfolders -keepfolder -method Random 2 -silent
start "" /high "C
rogram FilesEraserEraserl.exe" -folder "C
ocuments and SettingsDefault UserLocal SettingsHistoryHistory.IE5" -subfolders -keepfolder -method Random 2 -silent
start "" /high "C
rogram FilesEraserEraserl.exe" -folder "C
ocuments and SettingsDefault UserCookies" -subfolders -keepfolder -method Random 2 -silent
start "" /high "C
rogram FilesEraserEraserl.exe" -folder "C
ocuments and SettingsLocalServiceLocal SettingsTemporary Internet FilesContent.IE5" -subfolders -keepfolder -method Random 2 -silent
start "" /high "C
rogram FilesEraserEraserl.exe" -folder "C
ocuments and SettingsLocalServiceLocal SettingsHistoryHistory.IE5" -subfolders -keepfolder -method Random 2 -silent
start "" /high "C
rogram FilesEraserEraserl.exe" -folder "C
ocuments and SettingsLocalServiceCookies" -subfolders -keepfolder -method Random 2 -silent
start "" /high "C
rogram FilesEraserEraserl.exe" -folder "C
ocuments and SettingsNetworkServiceLocal SettingsTemporary Internet FilesContent.IE5" -subfolders -keepfolder -method Random 2 -silent
start "" /high "C
rogram FilesEraserEraserl.exe" -folder "C
ocuments and SettingsNetworkServiceLocal SettingsHistoryHistory.IE5" -subfolders -keepfolder -method Random 2 -silent
start "" /high "C
rogram FilesEraserEraserl.exe" -folder "C
ocuments and SettingsNetworkServiceCookies" -subfolders -keepfolder -method Random 2 -silent
start "" /high "C
rogram FilesEraserEraserl.exe" -folder "C
ocuments and Settings[user name #1]Local SettingsTemporary Internet FilesContent.IE5" -subfolders -keepfolder -method Random 2 -silent
start "" /high "C
rogram FilesEraserEraserl.exe" -folder "C
ocuments and Settings[user name #1]Local SettingsHistoryHistory.IE5" -subfolders -keepfolder -method Random 2 -silent
start "" /high "C
rogram FilesEraserEraserl.exe" -folder "C
ocuments and Settings[user name #1]Cookies" -subfolders -keepfolder -method Random 2 -silent
start "" /high "C
rogram FilesEraserEraserl.exe" -folder "C
ocuments and Settings[user name #2]Local SettingsTemporary Internet FilesContent.IE5" -subfolders -keepfolder -method Random 2 -silent
start "" /high "C
rogram FilesEraserEraserl.exe" -folder "C
ocuments and Settings[user name #2]Local SettingsHistoryHistory.IE5" -subfolders -keepfolder -method Random 2 -silent
start "" /high "C
rogram FilesEraserEraserl.exe" -folder "C
ocuments and Settings[user name #2]Cookies" -subfolders -keepfolder -method Random 2 -silent
start "" /high "C
rogram FilesEraserEraserl.exe" -folder "C:WINDOWSsystem32configsystemprofileLocal SettingsTemporary Internet FilesContent.IE5" -subfolders -keepfolder -method Random 2 -silent
start "" /high "C
rogram FilesEraserEraserl.exe" -folder "C:WINDOWSsystem32configsystemprofileLocal SettingsHistoryHistory.IE5" -subfolders -keepfolder -method Random 2 -silent
start "" /high "C
rogram FilesEraserEraserl.exe" -folder "C:WINDOWSsystem32configsystemprofileCookies" -subfolders -keepfolder -method Random 2 -silent
rem Comment out the next line to pretty up the windows that displays while the above commands execute.
goto end
pause
:end
<---End of batch file above this line--->