@echo off set pass=1 rem 9:22 PM 8/2/2007: fixed firefox clean script added c:\WINDOWS\Installer rem 1:37 AM 7/29/2007: no gawk needed thanks to jabzor@binrev ! rem 7:04 PM 7/28/2007: fixed issues woth spaces in login name ( used gwak and dir2.bat ) rem 7:04 PM 7/28/2007: added firefox clean ( see :firefoxclean ) rem 2:12 PM 7/25/2007: fixed run/mtu rem 7:09 AM 5/16/2007: added set passes var,ccleaner ini and delete $ntuninstall rem 5:01 PM 10/21/2005 : fixed %temp% issue recreates %temp% after delete no reboot required rem 1:01 AM 4/25/2006 : added sdelete.exe ( secure delete ) cls echo ============================== echo THE QUICK SECURE CLEANER :: rmccurdy.com :: 2.0 echo UPDATED : 02/20/2008 echo ============================== echo WARNING DO NOT RUN THIS IN SAFE MODE !!! echo Here are some of the files this program will delete echo * deletes c:\temp echo * Internet explorer temp files for all users echo * firefox cookies,saved,cache passwords etc for all users echo * temp folders for all users echo * old windows updates echo * recycle bin echo * %SystemRoot%\$ntuninstallK ( old windows updates ) echo * %SystemRoot%/$hf_mig$ ( old windows updates ) echo * c:\WINDOWS\Installer ( install cabs for programs not really needed ) echo * OPTIONAL: all startup items for all users echo * OPTIONAL: all outlook mailbox data and everything under 'Local Settings' for all users pause cls echo REGEDIT74 > %temp%\showhidden.reg echo [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced] >> %temp%\showhidden.reg echo "Hidden"=dword:00000001 >> %temp%\showhidden.reg echo "HideFileExt"=dword:00000000 >> %temp%\showhidden.reg echo "ShowSuperHidden"=dword:00000001 >> %temp%\showhidden.reg regedit /r %temp%\showhidden.reg regedit /s %temp%\showhidden.reg echo REGEDIT4 > c:\clean.reg echo [-HKEY_LOCAL_MACHINE\SOFTWARE\CLASSES\Software\Microsoft\Windows\CurrentVersion\Run] >> c:\clean.reg echo [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run] >> c:\clean.reg echo [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx] >> c:\clean.reg echo [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce] >> c:\clean.reg echo [-HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Run] >> c:\clean.reg echo [-HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Runonce] >> c:\clean.reg echo [-HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Run] >> c:\clean.reg echo [-HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce] >> c:\clean.reg echo [-HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx] >> c:\clean.reg echo [-HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\RunServicesOnce] >> c:\clean.reg echo [-HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Runonce] >> c:\clean.reg echo Running AUTO CLEAN this may take a while... :wipe $ntuninstallK* old windows updates dir /a:dh /b "%SystemRoot%\$ntuninstallK*.*">"%temp%\uninstall.txt" for /f "delims=" %%i IN ('type "%temp%\uninstall.txt"') do ( rd /s /q "%SystemRoot%\%%i" ) :wipe $hf_mig$ old windows updates installert rd /s /q "%SystemRoot%/$hf_mig$" rd /s /q c:\WINDOWS\Installer indexcleaner.exe :mru echo Cleaning MRU items ( Recent File List etc .. ) regedit /r mru.reg regedit /s mru.reg sdelete -s -p %pass% %windir%\prefetch\*.* sdelete -s -p %pass% %systemdrive%\*.tmp sdelete -s -p %pass% %systemdrive%\*._mp sdelete -s -p %pass% %systemdrive%\*.log sdelete -s -p %pass% %systemdrive%\*.gid sdelete -s -p %pass% %systemdrive%\*.chk sdelete -s -p %pass% %systemdrive%\*.old sdelete -s -p %pass% c:\winnt\temp sdelete -s -p %pass% c:\recycled sdelete -s -p %pass% c:\windows\tempor~1\*.??? sdelete -s -p %pass% c:\windows\temp\*.??? sdelete -s -p %pass% c:\windows\*.tmp sdelete -s -p %pass% c:\windows\recent\*.??? if exist C:\ sdelete -s -p %pass% C:\recycled if exist E:\ sdelete -s -p %pass% E:\recycled if exist F:\ sdelete -s -p %pass% F:\recycled if exist C:\ sdelete -s -p %pass% C:\RECYCLER if exist D:\ sdelete -s -p %pass% D:\RECYCLER if exist E:\ sdelete -s -p %pass% E:\RECYCLER if exist F:\ sdelete -s -p %pass% F:\RECYCLER if exist C:\ sdelete -s -p %pass% C:\recycled if exist D:\ sdelete -s -p %pass% D:\recycled if exist E:\ sdelete -s -p %pass% E:\recycled if exist F:\ sdelete -s -p %pass% F:\recycled :clean temp stuff XP FOR /F "delims==" %%A IN ('DIR/B "C:\Documents and Settings"') DO sdelete -s -p %pass% "C:\Documents and Settings\%%A\Local Settings\Temporary Internet Files\*.*" FOR /F "delims==" %%A IN ('DIR/B "C:\Documents and Settings"') DO sdelete -s -p %pass% "C:\Documents and Settings\%%A\Local Settings\History\*.*" FOR /F "delims==" %%A IN ('DIR/B "C:\Documents and Settings"') DO sdelete -s -p %pass% "C:\Documents and Settings\%%A\Local Settings\Temp\*.*" FOR /F "delims==" %%A IN ('DIR/B "C:\Documents and Settings"') DO sdelete -s -p %pass% "C:\Documents and Settings\%%A\Cookies\*.*" FOR /F "delims==" %%A IN ('DIR/B "C:\Documents and Settings"') DO sdelete -s -p %pass% "C:\Documents and Settings\%%A\Recent\*.*" FOR /F "delims==" %%A IN ('DIR/B "C:\Documents and Settings"') DO sdelete -s -p %pass% "C:\Documents and Settings\%%A\Local Settings\Temporary Internet Files\*.*" :clean temp stuff VISTA FOR /F "delims==" %%A IN ('DIR/B "C:\Users"') DO sdelete -s -p %pass% "C:\Users\%%A\AppData\Local\Microsoft\Windows\Temporary Internet Files\Content.IE5\*.*" FOR /F "delims==" %%A IN ('DIR/B "C:\Users"') DO sdelete -s -p %pass% "C:\Users\%%A\AppData\Local\History\*.*" FOR /F "delims==" %%A IN ('DIR/B "C:\Users"') DO sdelete -s -p %pass% "C:\Users\%%A\AppData\Local\Temp\*.*" FOR /F "delims==" %%A IN ('DIR/B "C:\Users"') DO sdelete -s -p %pass% "C:\Users\%%A\AppData\Roaming\Microsoft\Windows\Cookies\*.*" FOR /F "delims==" %%A IN ('DIR/B "C:\Users"') DO sdelete -s -p %pass% "C:\Users\%%A\AppData\Roaming\Microsoft\Windows\Recent\*.*" FOR /F "delims==" %%A IN ('DIR/B "C:\Users"') DO sdelete -s -p %pass% "C:\Users\%%A\Local Settings\Temporary Internet Files\*.*" :firefoxclean XP FOR /F "delims==" %%A IN ('DIR/B "C:\Documents and Settings"') DO sdelete -s -p 7 "C:\Documents and Settings\%%A\Local Settings\Application Data\Mozilla\*" FOR /F "delims==" %%A IN ('DIR/B "C:\Documents and Settings"') DO FOR /F %%B IN ('DIR/B "C:\Documents and Settings\%%A\Application Data\Mozilla\Firefox\Profiles"') DO sdelete -s -p 7 "C:\Documents and Settings\%%A\Application Data\Mozilla\Firefox\Profiles\%%B\cookies.txt" FOR /F "delims==" %%A IN ('DIR/B "C:\Documents and Settings"') DO FOR /F %%B IN ('DIR/B "C:\Documents and Settings\%%A\Application Data\Mozilla\Firefox\Profiles"') DO sdelete -s -p 7 "C:\Documents and Settings\%%A\Application Data\Mozilla\Firefox\Profiles\%%B\formhistory.dat" FOR /F "delims==" %%A IN ('DIR/B "C:\Documents and Settings"') DO FOR /F %%B IN ('DIR/B "C:\Documents and Settings\%%A\Application Data\Mozilla\Firefox\Profiles"') DO sdelete -s -p 7 "C:\Documents and Settings\%%A\Application Data\Mozilla\Firefox\Profiles\%%B\history.dat" FOR /F "delims==" %%A IN ('DIR/B "C:\Documents and Settings"') DO FOR /F %%B IN ('DIR/B "C:\Documents and Settings\%%A\Application Data\Mozilla\Firefox\Profiles"') DO sdelete -s -p 7 "C:\Documents and Settings\%%A\Application Data\Mozilla\Firefox\Profiles\%%B\key3.db" FOR /F "delims==" %%A IN ('DIR/B "C:\Documents and Settings"') DO FOR /F %%B IN ('DIR/B "C:\Documents and Settings\%%A\Application Data\Mozilla\Firefox\Profiles"') DO sdelete -s -p 7 "C:\Documents and Settings\%%A\Application Data\Mozilla\Firefox\Profiles\%%B\signons.txt" FOR /F "delims==" %%A IN ('DIR/B "C:\Documents and Settings"') DO FOR /F %%B IN ('DIR/B "C:\Documents and Settings\%%A\Application Data\Mozilla\Firefox\Profiles"') DO sdelete -s -p 7 "C:\Documents and Settings\%%A\Application Data\Mozilla\Firefox\Profiles\%%B\signons2.txt" FOR /F "delims==" %%A IN ('DIR/B "C:\Documents and Settings"') DO FOR /F %%B IN ('DIR/B "C:\Documents and Settings\%%A\Application Data\Mozilla\Firefox\Profiles"') DO sdelete -s -p 7 "C:\Documents and Settings\%%A\Application Data\Mozilla\Firefox\Profiles\%%B\cert8.db" FOR /F "delims==" %%A IN ('DIR/B "C:\Documents and Settings"') DO FOR /F %%B IN ('DIR/B "C:\Documents and Settings\%%A\Application Data\Mozilla\Firefox\Profiles"') DO sdelete -s -p 7 "C:\Documents and Settings\%%A\Application Data\Mozilla\Firefox\Profiles\%%B\downloads.rdf" :firefoxclean VISTA FOR /F "delims==" %%A IN ('DIR/B "C:\Users"') DO sdelete -s -p 7 "C:\Users\%%A\Local Settings\Application Data\Mozilla\*" FOR /F "delims==" %%A IN ('DIR/B "C:\Users"') DO FOR /F %%B IN ('DIR/B "C:\Users\%%A\AppData\Local\Mozilla\Firefox\Profiles"') DO sdelete -s -p 7 "C:\Users\%%A\AppData\Roaming\Mozilla\Firefox\Profiles\%%B\cookies.txt" FOR /F "delims==" %%A IN ('DIR/B "C:\Users"') DO FOR /F %%B IN ('DIR/B "C:\Users\%%A\AppData\Local\Mozilla\Firefox\Profiles"') DO sdelete -s -p 7 "C:\Users\%%A\AppData\Roaming\Mozilla\Firefox\Profiles\%%B\formhistory.dat" FOR /F "delims==" %%A IN ('DIR/B "C:\Users"') DO FOR /F %%B IN ('DIR/B "C:\Users\%%A\AppData\Local\Mozilla\Firefox\Profiles"') DO sdelete -s -p 7 "C:\Users\%%A\AppData\Roaming\Mozilla\Firefox\Profiles\%%B\history.dat" FOR /F "delims==" %%A IN ('DIR/B "C:\Users"') DO FOR /F %%B IN ('DIR/B "C:\Users\%%A\AppData\Local\Mozilla\Firefox\Profiles"') DO sdelete -s -p 7 "C:\Users\%%A\AppData\Roaming\Mozilla\Firefox\Profiles\%%B\key3.db" FOR /F "delims==" %%A IN ('DIR/B "C:\Users"') DO FOR /F %%B IN ('DIR/B "C:\Users\%%A\AppData\Local\Mozilla\Firefox\Profiles"') DO sdelete -s -p 7 "C:\Users\%%A\AppData\Roaming\Mozilla\Firefox\Profiles\%%B\signons.txt" FOR /F "delims==" %%A IN ('DIR/B "C:\Users"') DO FOR /F %%B IN ('DIR/B "C:\Users\%%A\AppData\Local\Mozilla\Firefox\Profiles"') DO sdelete -s -p 7 "C:\Users\%%A\AppData\Roaming\Mozilla\Firefox\Profiles\%%B\signons2.txt" FOR /F "delims==" %%A IN ('DIR/B "C:\Users"') DO FOR /F %%B IN ('DIR/B "C:\Users\%%A\AppData\Local\Mozilla\Firefox\Profiles"') DO sdelete -s -p 7 "C:\Users\%%A\AppData\Roaming\Mozilla\Firefox\Profiles\%%B\cert8.db" FOR /F "delims==" %%A IN ('DIR/B "C:\Users"') DO FOR /F %%B IN ('DIR/B "C:\Users\%%A\AppData\Local\Mozilla\Firefox\Profiles"') DO sdelete -s -p 7 "C:\Users\%%A\AppData\Roaming\Mozilla\Firefox\Profiles\%%B\downloads.rdf" set vartemp=%temp% mkdir "%vartemp%" sdelete -s -p %pass% c:\temp sdelete -s -p %pass% c:\windows\temp sdelete -s -p %pass% c:\winnt\temp echo wipe known log paths etc... sdelete -s -p %pass% "%ProgramFiles%\AAForwardObserver\FO.log" sdelete -s -p %pass% "%ProgramFiles%\32BITWEB\Data\LastURL.DA0" sdelete -s -p %pass% "%ProgramFiles%\32BITWEB\Data\LastURL.dat" sdelete -s -p %pass% "%ProgramFiles%\Adobe\Acrobat 7.0\ActiveX\*.bak" sdelete -s -p %pass% "%ProgramFiles%\Adobe\Acrobat 7.0\Reader\Updater\*.bak" sdelete -s -p %pass% "%ProgramFiles%\Adobe\Acrobat 7.0\Reader\plug_ins\*.bak" sdelete -s -p %pass% "%ProgramFiles%\Adobe\Acrobat 7.0\Reader\*.bak" sdelete -s -p %pass% "%ProgramFiles%\Ahead\Nero\NeroHistory.log" sdelete -s -p %pass% "%ProgramFiles%\Alwil Software\Avast4\DATA\log\*.*" sdelete -s -p %pass% "%ProgramFiles%\Alwil Software\Avast4\DATA\report\Resident protection.txt" sdelete -s -p %pass% "%ProgramFiles%\Alwil Software\Avast4\DATA\report\Simple user interface*.xml" sdelete -s -p %pass% "%ProgramFiles%\Alwil Software\Avast4\DATA\report\Simple user interface.txt" sdelete -s -p %pass% "%ProgramFiles%\Alwil Software\Avast4\DATA\report\avast.xsl" sdelete -s -p %pass% "%ProgramFiles%\AntiVir PersonalEdition Classic\*.old" sdelete -s -p %pass% "%ProgramFiles%\AntiVir PersonalEdition Premium\*.old" sdelete -s -p %pass% "%ProgramFiles%\AusLogics Disk Defrag\reports\*.*" sdelete -s -p %pass% "%ProgramFiles%\BillP Studios\WinPatrol\history.txt" sdelete -s -p %pass% "%ProgramFiles%\BitComet\Downloads.xml" sdelete -s -p %pass% "%ProgramFiles%\CA\CA Internet Security Suite\CA Anti-Virus\ArcTemp\*.*" sdelete -s -p %pass% "%ProgramFiles%\CA\CA Internet Security Suite\CA Anti-Virus\tmp\*.*" sdelete -s -p %pass% "%ProgramFiles%\CA\eTrust Internet Security Suite\eTrust EZ Antivirus\ArcTemp\*.tmp" sdelete -s -p %pass% "%ProgramFiles%\CA\eTrust Internet Security Suite\eTrust EZ Antivirus\*.log" sdelete -s -p %pass% "%ProgramFiles%\CA\eTrust Internet Security Suite\eTrust EZ Antivirus\*log.txt" sdelete -s -p %pass% "%ProgramFiles%\Common Files\Real\Update_OB\RealPlayer-log.txt" sdelete -s -p %pass% "%ProgramFiles%\CyberLink\PowerDVD\*.pls" sdelete -s -p %pass% "%ProgramFiles%\DAP\Ads\*.*" sdelete -s -p %pass% "%ProgramFiles%\DAP\Log\*.*" sdelete -s -p %pass% "%ProgramFiles%\DAP\Temp\*.*" sdelete -s -p %pass% "%ProgramFiles%\DVDx\*.tmp" sdelete -s -p %pass% "%ProgramFiles%\Driver Cleaner Pro\Log\*.log" sdelete -s -p %pass% "%ProgramFiles%\Eraser\schedlog.txt" sdelete -s -p %pass% "%ProgramFiles%\Ewido Anti-Malware\logfile.txt" sdelete -s -p %pass% "%ProgramFiles%\Ewido\Security Suite\logfile.txt" sdelete -s -p %pass% "%ProgramFiles%\FlashFXP\quick.dat" sdelete -s -p %pass% "%ProgramFiles%\FlashGet\Default.bk*" sdelete -s -p %pass% "%ProgramFiles%\FlashGet\Default.jcd" sdelete -s -p %pass% "%ProgramFiles%\FlashGet\Default.jcd.*" sdelete -s -p %pass% "%ProgramFiles%\GIANT Company Software\GIANT AntiSpyware\cleaner.log" sdelete -s -p %pass% "%ProgramFiles%\GIANT Company Software\GIANT AntiSpyware\errors.log" sdelete -s -p %pass% "%ProgramFiles%\GIANT Company Software\GIANT AntiSpyware\tracksEraser.log" sdelete -s -p %pass% "%ProgramFiles%\GetRight\GetRight.hst" sdelete -s -p %pass% "%ProgramFiles%\Go!Zilla\download.log" sdelete -s -p %pass% "%ProgramFiles%\Go!Zilla\golog.htm" sdelete -s -p %pass% "%ProgramFiles%\Go!Zilla\leech.hst" sdelete -s -p %pass% "%ProgramFiles%\Grisoft\AVG Anti-Spyware 7.5\logfile.txt" sdelete -s -p %pass% "%ProgramFiles%\Hotbar\v3.0\dynamic\*.*" sdelete -s -p %pass% "%ProgramFiles%\Hotbar\v3.0\static\*.*" sdelete -s -p %pass% "%ProgramFiles%\IE Toy\Data\history" sdelete -s -p %pass% "%ProgramFiles%\IE Toy\Data\history_ad" sdelete -s -p %pass% "%ProgramFiles%\IconCoolEditor\IconFileList.src" sdelete -s -p %pass% "%ProgramFiles%\IconCoolEditor\Recentlyused.src" sdelete -s -p %pass% "%ProgramFiles%\Jetico\Jetico Personal Firewall\firewall*.log" sdelete -s -p %pass% "%ProgramFiles%\Lavasoft\Ad-Aware SE Personal\defs.ref.old" sdelete -s -p %pass% "%ProgramFiles%\Lavasoft\Ad-Aware SE Plus\defs.ref.old" sdelete -s -p %pass% "%ProgramFiles%\Lavasoft\Ad-Aware SE Professional\defs.ref.old" sdelete -s -p %pass% "%ProgramFiles%\MUSICMATCH\Musicmatch Jukebox\MMRadio\Cache\*.*" sdelete -s -p %pass% "%ProgramFiles%\MUSICMATCH\Musicmatch Jukebox\TEMP\*.*" sdelete -s -p %pass% "%ProgramFiles%\Microsoft AntiSpyware\cleaner.log" sdelete -s -p %pass% "%ProgramFiles%\Microsoft AntiSpyware\errors.log" sdelete -s -p %pass% "%ProgramFiles%\Microsoft AntiSpyware\tracksEraser.log" sdelete -s -p %pass% "%ProgramFiles%\Netscape\Users\default\cache\*.*" sdelete -s -p %pass% "%ProgramFiles%\Netscape\Users\default\cookies.txt" sdelete -s -p %pass% "%ProgramFiles%\Netscape\Users\default\netscape.hst" sdelete -s -p %pass% "%ProgramFiles%\OpenOffice.org1.1.4\user\registry\data\org\openoffice\Office\Common.xcu" sdelete -s -p %pass% "%ProgramFiles%\Opera 9\profile\cache4\*.*" sdelete -s -p %pass% "%ProgramFiles%\Opera 9\profile\cacheOp\*.*" sdelete -s -p %pass% "%ProgramFiles%\Opera 9\profile\cookies4.dat" sdelete -s -p %pass% "%ProgramFiles%\Opera 9\profile\global.dat" sdelete -s -p %pass% "%ProgramFiles%\Opera 9\profile\vlink4.dat" sdelete -s -p %pass% "%ProgramFiles%\ReGet Deluxe\history\*.*" sdelete -s -p %pass% "%ProgramFiles%\RegScrubVista\*.reg" sdelete -s -p %pass% "%ProgramFiles%\RegSeeker\Backup\*.reg" sdelete -s -p %pass% "%ProgramFiles%\RegistryFix\logs\*.*" sdelete -s -p %pass% "%ProgramFiles%\SecCopy\log-old.rtf" sdelete -s -p %pass% "%ProgramFiles%\SecCopy\log.rtf" sdelete -s -p %pass% "%ProgramFiles%\Softwin\BitDefender9\Logs\*.*" sdelete -s -p %pass% "%ProgramFiles%\Soulseek-Test\search.cfg" sdelete -s -p %pass% "%ProgramFiles%\Soulseek\search.cfg" sdelete -s -p %pass% "%ProgramFiles%\Spybot - Search & Destroy\advdebug.txt" sdelete -s -p %pass% "%ProgramFiles%\Spyware Doctor\Log\*.*" sdelete -s -p %pass% "%ProgramFiles%\Sunbelt Software\CounterSpy Client\cleaner.log" sdelete -s -p %pass% "%ProgramFiles%\Sunbelt Software\CounterSpy Client\errors.log" sdelete -s -p %pass% "%ProgramFiles%\Superhunter\Always Right\FileBackup\*.*" sdelete -s -p %pass% "%ProgramFiles%\Superhunter\Always Right\RegBackup\*.*" sdelete -s -p %pass% "%ProgramFiles%\The Cleaner\logfile.txt" sdelete -s -p %pass% "%ProgramFiles%\The Cleaner\moolive.log" sdelete -s -p %pass% "%ProgramFiles%\The Cleaner\tca.log" sdelete -s -p %pass% "%ProgramFiles%\Total Uninstall\*.GID" sdelete -s -p %pass% "%ProgramFiles%\Total Uninstall\Log.txt" sdelete -s -p %pass% "%ProgramFiles%\Trillian\users\default\buddyicons\*.*" sdelete -s -p %pass% "%ProgramFiles%\Trillian\users\default\instantlookup\*.*" sdelete -s -p %pass% "%ProgramFiles%\Trillian\users\default\logs\*.*" sdelete -s -p %pass% "%ProgramFiles%\TweakNow PowerPack\Backup\*.*" sdelete -s -p %pass% "%ProgramFiles%\Utils\iSysCleaner\traces\*.*" sdelete -s -p %pass% "%ProgramFiles%\Valve\Steam\SteamLogs\*.log" sdelete -s -p %pass% "%ProgramFiles%\Valve\Steam\Steam.log" sdelete -s -p %pass% "%ProgramFiles%\VentSrv\ventrilo_srv.log" sdelete -s -p %pass% "%ProgramFiles%\WM Recorder 10\log.txt" sdelete -s -p %pass% "%ProgramFiles%\WM Recorder 10\urls.txt" sdelete -s -p %pass% "%ProgramFiles%\Webroot\Spy Sweeper\Temp\*.*" sdelete -s -p %pass% "%ProgramFiles%\Winamp\Plugins\ml\cache\*.*" sdelete -s -p %pass% "%ProgramFiles%\Winamp\Plugins\ml\recent.dat" sdelete -s -p %pass% "%ProgramFiles%\Winamp\winamp.m3u" sdelete -s -p %pass% "%ProgramFiles%\Winamp\winamp.m3u8" sdelete -s -p %pass% "%ProgramFiles%\X-Cleaner\XCL_LOG.txt" sdelete -s -p %pass% "%ProgramFiles%\X-Clea~1\XCL_LOG.txt" sdelete -s -p %pass% "%ProgramFiles%\YPOPs\ypops.log" sdelete -s -p %pass% "%ProgramFiles%\Yahoo!\Messenger\Cache\*.*" sdelete -s -p %pass% "%ProgramFiles%\Yahoo!\Messenger\IMVCache\*.*" sdelete -s -p %pass% "%ProgramFiles%\Yahoo!\Messenger\Profiles\*.*" sdelete -s -p %pass% "%ProgramFiles%\Yahoo!\Messenger\ypager.log" sdelete -s -p %pass% "%ProgramFiles%\eBay\eBay Toolbar2\eBayDaemon.log" sdelete -s -p %pass% "%ProgramFiles%\eBay\eBay Toolbar2\toolbar.log" sdelete -s -p %pass% "%ProgramFiles%\eMule\config\AC_SearchStrings.dat" sdelete -s -p %pass% "%ProgramFiles%\eMule\config\known.met" sdelete -s -p %pass% "%ProgramFiles%\eMule\config\known2.met" sdelete -s -p %pass% "%ProgramFiles%\neXBC\Logs\Hosted\*.*" sdelete -s -p %pass% "%ProgramFiles%\neXBC\Logs\Joined\*.*" sdelete -s -p %pass% "%ProgramFiles%\neXBC\messages.txt" sdelete -s -p %pass% "%USERPROFILE%\LOCAL SETTINGS\APPLICATION DATA\MICROSOFT\WINDOWS NT\NTBACKUP\DATA\*.log" sdelete -s -p %pass% "%allusersprofile%\.clamwin\log\*.*" sdelete -s -p %pass% "%allusersprofile%\Application Data\AntiVir PersonalEdition Classic\FAILSAVE\*.*" sdelete -s -p %pass% "%allusersprofile%\Application Data\AntiVir PersonalEdition Classic\INFECTED\*.*" sdelete -s -p %pass% "%allusersprofile%\Application Data\AntiVir PersonalEdition Classic\LOGFILES\*.*" sdelete -s -p %pass% "%allusersprofile%\Application Data\AntiVir PersonalEdition Classic\SYSSAVE\*.*" sdelete -s -p %pass% "%allusersprofile%\Application Data\AntiVir PersonalEdition Classic\TEMP\*.*" sdelete -s -p %pass% "%allusersprofile%\Application Data\AntiVir PersonalEdition Classic\UPDATE\*.*" sdelete -s -p %pass% "%allusersprofile%\Application Data\AntiVir PersonalEdition Premium\FAILSAVE\*.*" sdelete -s -p %pass% "%allusersprofile%\Application Data\AntiVir PersonalEdition Premium\INFECTED\*.*" sdelete -s -p %pass% "%allusersprofile%\Application Data\AntiVir PersonalEdition Premium\LOGFILES\*.*" sdelete -s -p %pass% "%allusersprofile%\Application Data\AntiVir PersonalEdition Premium\SYSSAVE\*.*" sdelete -s -p %pass% "%allusersprofile%\Application Data\AntiVir PersonalEdition Premium\TEMP\*.*" sdelete -s -p %pass% "%allusersprofile%\Application Data\AntiVir PersonalEdition Premium\UPDATE\*.*" sdelete -s -p %pass% "%allusersprofile%\Application Data\CA\Consumer\AV\*.tmp" sdelete -s -p %pass% "%allusersprofile%\Application Data\CA\Consumer\AV\*.txt" sdelete -s -p %pass% "%allusersprofile%\Application Data\CA\Consumer\CCube\*.tmp" sdelete -s -p %pass% "%allusersprofile%\Application Data\CA\Consumer\CCube\*.txt" sdelete -s -p %pass% "%allusersprofile%\Application Data\CA\Consumer\ISS\FeedStore\*.txt" sdelete -s -p %pass% "%allusersprofile%\Application Data\DIGStream\ESPNMotion\*.tmp" sdelete -s -p %pass% "%allusersprofile%\Application Data\DIGStream\ESPNMotion\*.wmv" sdelete -s -p %pass% "%allusersprofile%\Application Data\DIGStream\ESPNMotion\*commercial*.wmv" sdelete -s -p %pass% "%allusersprofile%\Application Data\DIGStream\ESPNMotion\*motionbumper*.wmv" sdelete -s -p %pass% "%allusersprofile%\Application Data\DIGStream\ESPNMotion\*promo*.wmv" sdelete -s -p %pass% "%allusersprofile%\Application Data\DIGStream\ESPNMotion\ad_*.wmv" sdelete -s -p %pass% "%allusersprofile%\Application Data\Grisoft\Avg7Data\$history\*.*" sdelete -s -p %pass% "%allusersprofile%\Application Data\Grisoft\Avg7Data\avg7upd\*.log" sdelete -s -p %pass% "%allusersprofile%\Application Data\Grisoft\Avg7Data\upd7bin\*.*" sdelete -s -p %pass% "%allusersprofile%\Application Data\Grisoft\Avg7Data\*.log" sdelete -s -p %pass% "%allusersprofile%\Application Data\HDD Thermometer\logs\*.log" sdelete -s -p %pass% "%allusersprofile%\Application Data\HDD Thermometer\*.log" sdelete -s -p %pass% "%allusersprofile%\Application Data\Hagel Technologies\DU Meter\*.csv" sdelete -s -p %pass% "%allusersprofile%\Application Data\Microsoft\Windows Defender\Scans\History\Results\Quick\*.*" sdelete -s -p %pass% "%allusersprofile%\Application Data\Microsoft\Windows Defender\Scans\History\Results\Resource\*.*" sdelete -s -p %pass% "%allusersprofile%\Application Data\Raxco\PerfectDisk\7.0\PerfectDisk.log" sdelete -s -p %pass% "%allusersprofile%\Application Data\Spybot - Search & Destroy\Logs\*.*" sdelete -s -p %pass% "%allusersprofile%\Application Data\Spybot - Search & Destroy\Statistics.ini" sdelete -s -p %pass% "%allusersprofile%\Application Data\Symantec\LiveUpdate\Downloads\*.*" sdelete -s -p %pass% "%allusersprofile%\Application Data\Symantec\Norton AntiVirus Corporate Edition\7.5\Logs\*.log" sdelete -s -p %pass% "%allusersprofile%\Application Data\Symantec\Symantec AntiVirus Corporate Edition\7.5\Logs\*.log" sdelete -s -p %pass% "%appdata%\Adobe\CameraRaw\Cache\*.*" sdelete -s -p %pass% "%appdata%\Apple Computer\QuickTime\QTPlayerSession.xml" sdelete -s -p %pass% "%appdata%\Ashampoo\Ashampoo Burning Studio 2007\Logs\*.*" sdelete -s -p %pass% "%appdata%\Avant Browser\keywords.dat" sdelete -s -p %pass% "%appdata%\Avant Browser\pages.dat" sdelete -s -p %pass% "%appdata%\Avant Browser\recents.dat" sdelete -s -p %pass% "%appdata%\Avant Browser\reopen.dat" sdelete -s -p %pass% "%appdata%\Google\Local Search History\*.*" sdelete -s -p %pass% "%appdata%\Macromedia\Flash Player\*.*" sdelete -s -p %pass% "%appdata%\Microsoft\Office\Recent\*.*" sdelete -s -p %pass% "%appdata%\Microsoft\Outlook\Outlook.NK2" sdelete -s -p %pass% "%appdata%\OpenOffice.org2\user\registry\data\org\openoffice\Office\Common.xcu" sdelete -s -p %pass% "%appdata%\Real\RealOne Player\History\*.*" sdelete -s -p %pass% "%appdata%\Real\RealOne Player\cookies.txt" sdelete -s -p %pass% "%appdata%\Real\RealOne Player\ctd.dat" sdelete -s -p %pass% "%appdata%\Real\RealOne Player\realplayer.ste" sdelete -s -p %pass% "%appdata%\Real\RealPlayer\History\*.*" sdelete -s -p %pass% "%appdata%\Real\RealPlayer\cookies.txt" sdelete -s -p %pass% "%appdata%\Real\RealPlayer\ctd.dat" sdelete -s -p %pass% "%appdata%\Real\RealPlayer\realplayer.ste" sdelete -s -p %pass% "%appdata%\STOIK\videopak2\*.ini" sdelete -s -p %pass% "%appdata%\SUPERAntiSpyware.com\SUPERAntiSpyware\Logs\*.log" sdelete -s -p %pass% "%appdata%\SmartFTP\Cache\*.*" sdelete -s -p %pass% "%appdata%\SmartFTP\History.dat" sdelete -s -p %pass% "%appdata%\StarOffice8\user\registry\data\org\openoffice\Office\Common.xcu" sdelete -s -p %pass% "%appdata%\TuneUp Software\TuneUp Utilities\Backups\*.rcb" sdelete -s -p %pass% "%appdata%\VanDyke\SecureCRT\Config\Recent File List.ini" sdelete -s -p %pass% "%appdata%\VanDyke\SecureCRT\Config\Recent Script List.ini" sdelete -s -p %pass% "%appdata%\ZipGenius\mru.dat" sdelete -s -p %pass% "%rootdir%\SCANDISK.LOG" sdelete -s -p %pass% "%systemdrive%\Config.msi\*.*" sdelete -s -p %pass% "%userprofile%\.clamwin\log\*.*" sdelete -s -p %pass% "%userprofile%\.gimp-2.2\documents" sdelete -s -p %pass% "%userprofile%\Application Data\Acronis\TrueImage\Logs\*.log" sdelete -s -p %pass% "%userprofile%\Application Data\Axialis\Temporary Preview Files\*.*" sdelete -s -p %pass% "%userprofile%\Application Data\Azureus\logs\save\*.log" sdelete -s -p %pass% "%userprofile%\Application Data\Azureus\logs\*.log" sdelete -s -p %pass% "%userprofile%\Application Data\BitTorrent\incomplete\*.*" sdelete -s -p %pass% "%userprofile%\Application Data\Everest Labs\Spydefense\Backups\BF7.tmp" sdelete -s -p %pass% "%userprofile%\Application Data\Everest Labs\Spydefense\Backups.ini" sdelete -s -p %pass% "%userprofile%\Application Data\Everest Labs\Spydefense\History.ini" sdelete -s -p %pass% "%userprofile%\Application Data\Everest Labs\Spydefense\SpyDefense.log" sdelete -s -p %pass% "%userprofile%\Application Data\Free Download Manager\*.bak" sdelete -s -p %pass% "%userprofile%\Application Data\Free Download Manager\*.sav" sdelete -s -p %pass% "%userprofile%\Application Data\Genie-soft\GBMPro6\logs\*.*" sdelete -s -p %pass% "%userprofile%\Application Data\Google\GoogleEarth\dbcache.dat" sdelete -s -p %pass% "%userprofile%\Application Data\Google\GoogleEarth\dbcache.dat.index" sdelete -s -p %pass% "%userprofile%\Application Data\Ipswitch\WS_FTP\Logs\*.*" sdelete -s -p %pass% "%userprofile%\Application Data\Lavasoft\Ad-Aware\Logs\*.txt" sdelete -s -p %pass% "%userprofile%\Application Data\Sun\Java\Deployment\cache\*.*" sdelete -s -p %pass% "%userprofile%\Application Data\Sun\Java\Deployment\javaws\cache\*.*" sdelete -s -p %pass% "%userprofile%\Application Data\Talkback\MozillaOrg\Firefox15\*.*" sdelete -s -p %pass% "%userprofile%\Application Data\Ventrilo\recordings\*.*" sdelete -s -p %pass% "%userprofile%\Application Data\Ventrilo\temp\*.*" sdelete -s -p %pass% "%userprofile%\Application Data\Ventrilo\ventrilo.log" sdelete -s -p %pass% "%userprofile%\Application Data\Webroot\Spy Sweeper\Logs\*Log.txt" sdelete -s -p %pass% "%userprofile%\Application Data\Winamp\Plugins\ml\Cache\*.*" sdelete -s -p %pass% "%userprofile%\Application Data\Winamp\Plugins\ml\recent.dat" sdelete -s -p %pass% "%userprofile%\Application Data\Winamp\winamp.m3u" sdelete -s -p %pass% "%userprofile%\Application Data\Winamp\winamp.m3u8" sdelete -s -p %pass% "%userprofile%\Incomplete\*.*" sdelete -s -p %pass% "%userprofile%\Local Settings\Application Data\Adobe\Acrobat\7.0\Cache\Search70\*.*" sdelete -s -p %pass% "%userprofile%\Local Settings\Application Data\Adobe\Acrobat\8.0\Cache\Search80\*.*" sdelete -s -p %pass% "%userprofile%\Local Settings\Application Data\Apple Computer\QuickTime\downloads\*.*" sdelete -s -p %pass% "%userprofile%\Local Settings\Application Data\GlobalSCAPE\CuteFTP Pro\7.0\CacheThumbs\*.*" sdelete -s -p %pass% "%userprofile%\Local Settings\Application Data\GlobalSCAPE\CuteFTP Pro\7.0\Cache\*.*" sdelete -s -p %pass% "%userprofile%\Local Settings\Application Data\GlobalSCAPE\CuteFTP Pro\8.0\CacheThumbs\*.*" sdelete -s -p %pass% "%userprofile%\Local Settings\Application Data\GlobalSCAPE\CuteFTP Pro\8.0\Cache\*.*" sdelete -s -p %pass% "%userprofile%\Local Settings\Application Data\GlobalSCAPE\CuteFTP\7.0\CacheThumbs\*.*" sdelete -s -p %pass% "%userprofile%\Local Settings\Application Data\GlobalSCAPE\CuteFTP\7.0\Cache\*.*" sdelete -s -p %pass% "%userprofile%\Local Settings\Application Data\GlobalSCAPE\CuteFTP\8.0\CacheThumbs\*.*" sdelete -s -p %pass% "%userprofile%\Local Settings\Application Data\GlobalSCAPE\CuteFTP\8.0\Cache\*.*" sdelete -s -p %pass% "%userprofile%\Local Settings\Application Data\Google\Google Talk\chatlogs\*.log" sdelete -s -p %pass% "%userprofile%\Local Settings\Application Data\Google\Google Talk\status\*.txt" sdelete -s -p %pass% "%userprofile%\Local Settings\Application Data\HP\Digital Imaging\cache\*.*" sdelete -s -p %pass% "%userprofile%\Local Settings\Application Data\Microsoft\Movie Maker\MEDIATAB0.DAT" sdelete -s -p %pass% "%userprofile%\Local Settings\Application Data\Microsoft\Terminal Server Client\Cache\*.*" sdelete -s -p %pass% "%userprofile%\Local Settings\Application Data\Musicmatch\Jukebox\Cache\*.*" sdelete -s -p %pass% "%userprofile%\Local Settings\Application Data\Musicmatch\Jukebox\*.log" sdelete -s -p %pass% "%userprofile%\Local Settings\Application Data\Musicmatch\Jukebox\*log.txt" sdelete -s -p %pass% "%userprofile%\Local Settings\Application Data\Novell\GroupWise Messenger\history\%user%\*.*" sdelete -s -p %pass% "%userprofile%\Local Settings\Application Data\QuickPar\*.*" sdelete -s -p %pass% "%userprofile%\Local Settings\Application Data\Shareaza\Incomplete\*.*" sdelete -s -p %pass% "%userprofile%\Local Settings\Application Data\Symantec\Norton AntiVirus Corporate Edition\7.5\Logs\*.log" sdelete -s -p %pass% "%userprofile%\Local Settings\Application Data\Symantec\Symantec AntiVirus Corporate Edition\7.5\Logs\*.log" sdelete -s -p %pass% "%userprofile%\Local Settings\Application Data\TiVo Desktop\Cache\*.*" sdelete -s -p %pass% "%userprofile%\My Documents\CyberLink\PowerDVD\*.pls" sdelete -s -p %pass% "%userprofile%\My Documents\My Chat Logs\*.*" sdelete -s -p %pass% "%userprofile%\My Documents\My Koffix Blocker Logs\*.*" sdelete -s -p %pass% "%userprofile%\My Documents\My Music\CDDB\*.txt" sdelete -s -p %pass% "%userprofile%\My Documents\O&O\O&O Defrag\data\reports\*.*" sdelete -s -p %pass% "%userprofile%\WinWAP Temporary Files\*.*" sdelete -s -p %pass% "%userprofile%\QTPlayerSession.xml" sdelete -s -p %pass% "%windir%\*.BAK" sdelete -s -p %pass% "%windir%\Debug\" sdelete -s -p %pass% "%windir%\Prefetch\" sdelete -s -p %pass% "%windir%\system32\LogFiles\" sdelete -s -p %pass% "%windir%\system32\wbem\Logs\" sdelete -s -p %pass% "%windir%\APPLOG\*.LGC" sdelete -s -p %pass% "%windir%\All Users\.clamwin\log\*.*" sdelete -s -p %pass% "%windir%\All Users\Application Data\Grisoft\Avg7Data\avg7upd\$history" sdelete -s -p %pass% "%windir%\All Users\Application Data\Grisoft\Avg7Data\avg7upd\*.log" sdelete -s -p %pass% "%windir%\All Users\Application Data\Grisoft\Avg7Data\upd7bin\*.*" sdelete -s -p %pass% "%windir%\All Users\Application Data\Grisoft\Avg7Data\*.log" sdelete -s -p %pass% "%windir%\All Users\Application Data\Spybot - Search & Destroy\Logs\*.*" sdelete -s -p %pass% "%windir%\All Users\Application Data\Spybot - Search & Destroy\Statistics.ini" sdelete -s -p %pass% "%windir%\Application Data\AVG7\Log\*.log" sdelete -s -p %pass% "%windir%\Application Data\dw.log" sdelete -s -p %pass% "%windir%\CREATOR\*.log" sdelete -s -p %pass% "%windir%\Internet Logs\*.dmp" sdelete -s -p %pass% "%windir%\Internet Logs\*.log" sdelete -s -p %pass% "%windir%\Internet Logs\*.tmp" sdelete -s -p %pass% "%windir%\Internet Logs\*.zip" sdelete -s -p %pass% "%windir%\Internet Logs\ZALog*.*" sdelete -s -p %pass% "%windir%\Windows Update Setup Files\*.*" sdelete -s -p %pass% "%windir%\*.tmp" sdelete -s -p %pass% "%windir%\coredw.log" sdelete -s -p %pass% "%windir%\datawriter.log" :wipestartup cls echo ****************************************** echo WARNING : IF YOU WANT TO KEEP YOUR STARTUP ENTRIES PLEASE CLOSE THIS WINDOW NOW echo RUN THIS IF YOU HAVE MORE THEN 4 ICONS IN THE LOWER RIGHT NEAR THE TIME echo ****************************************** PAUSE echo backing up registry to c:\backup.reg c:\winnt\regedit /E c:\backup.reg c:\windows\regedit /E c:\backup.reg regedit /r c:\clean.reg regedit /s c:\clean.reg FOR /F "delims==" %%A IN ('DIR/B "C:\Documents and Settings"') DO sdelete -s -p %pass% "C:\Documents and Settings\%%A\Start Menu\Programs\Startup" FOR /F "delims==" %%A IN ('DIR/B "C:\Users"') DO sdelete -s -p %pass% "C:\Users\%%A\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup" :wipeAPPDATA cls echo ****************************************** echo ' WARNING : WARNING : WARNING : WARNING : WARNING : WARNING : WARNING : WARNING : echo ' THIS IS EXPERIMENTAL AND MAY CAUSE PROGRAMS TO NEED TO BE REINSTALLED !! echo ' DO YOU WANT TO DELETE ALL EMAIL FROM ALL THE USERS IN OUTLOOK AND Local Settings ECHO ' echo ' IF YOU WANT TO KEEP YOUR OUTLOOK AND Local Settings PLEASE CLOSE THIS WINDOW NOW ! echo ****************************************** PAUSE FOR /F "delims==" %%A IN ('DIR/B "C:\Documents and Settings"') DO sdelete -s -p %pass% "C:\Documents and Settings\%%A\Local Settings\*.*" FOR /F "delims==" %%A IN ('DIR/B "C:\users"') DO sdelete -s -p %pass% "C:\users\%%A\AppData\*.*"