::clean-up
::user folder
rmdir /s /q "C:\Documents and Settings\%username%\Application Data\Adobe\Flash Player\AssetCache"
rmdir /q /s "C:\Documents and Settings\%username%\Application Data\Microsoft\Credentials"
rmdir /q /s "C:\Documents and Settings\%username%\Application Data\Macromedia\Flash Player"
rmdir /q /s "C:\Documents and Settings\%username%\Application Data\ImgBurn\Graph Data Files"
rmdir /q /s "C:\Documents and Settings\%username%\Application Data\ImgBurn\Log Files"
rmdir /q /s "C:\Documents and Settings\%username%\Application Data\Microsoft\Protect"
rmdir /q /s "C:\Documents and Settings\%username%\Application Data\Mozilla\Firefox\Crash Reports"
rmdir /q /s "C:\Documents and Settings\jessica\Application Data\Sun\Java\Deployment\cache"
del /q "C:\Documents and Settings\%username%\Cookies\*.*"
rmdir /q /s "C:\Documents and Settings\%username%\Local Settings\Application Data\Microsoft\CD Burning"
rmdir /s /q "C:\Documents and Settings\%username%\Local Settings\Application Data\Microsoft\Internet Explorer"
rmdir /q /s "C:\Documents and Settings\%username%\Local Settings\Application Data\Mozilla"
rmdir /q /s "C:\Documents and Settings\%username%\Local Settings\Application Data\Google\CrashReports"
del /q /s /a:h "C:\Documents and Settings\%username%\Local Settings\History\History.IE5\*"
rmdir /q /s "C:\Documents and Settings\%username%\Local Settings\History\History.IE5\"
rmdir /q /s "C:\Documents and Settings\%username%\Local Settings\History"
rmdir /q /s "C:\Documents and Settings\%username%\Local Settings\Temp"
mkdir "C:\Documents and Settings\%username%\Local Settings\Temp"
del /q /s /a:h "C:\Documents and Settings\%username%\Local Settings\Temporary Internet Files\*"
rmdir /q /s "C:\Documents and Settings\%username%\Local Settings\Temporary Internet Files\"
mkdir "C:\Documents and Settings\%username%\Local Settings\Temporary Internet Files"
rmdir /s /q "C:\Documents and Settings\%username%\Cookies"
rmdir /s /q "C:\Documents and Settings\%username%\Favorites"
rmdir /q /s "C:\Documents and Settings\%username%\NetHood"
rmdir /q /s "C:\Documents and Settings\%username%\Recent"
::local service
rmdir /q /s "C:\Documents and Settings\LocalService"
::network service
rmdir /q /s "C:\Documents and Settings\NetworkService\Local Settings\History"
rmdir /q /s "C:\Documents and Settings\NetworkService\Local Settings\Temp"
mkdir "C:\Documents and Settings\NetworkService\Local Settings\Temp"
rmdir /q /s "C:\Documents and Settings\NetworkService\Local Settings\Temporary Internet Files"
mkdir "C:\Documents and Settings\NetworkService\Local Settings\Temporary Internet Files"
:: applications
rmdir /q /s "C:\Cakewalk Projects"
::root directories
del /q c:\*.log
del /q G:\*.log
rmdir /q /s c:\1394
rmdir /q /s d:\1394
rmdir /q /s e:\1394
rmdir /q /s f:\1394
rmdir /q /s g:\1394
rmdir /q /s h:\1394
rmdir /q /s i:\1394
rmdir /q /s q:\1394
rmdir /q /s r:\1394
rmdir /q /s s:\1394
::windows
del /q c:\windows\*.log
rmdir /q /s "C:\Windows\PIF"
rmdir /q /s "C:\Windows\LastGood"
rmdir /q /s "C:\Windows\LastGood.tmp"
rmdir /q /s "C:\Windows\NLDRV"
rmdir /q /s "C:\WINDOWS\Debug"
rmdir /s /q "C:\WINDOWS\pss"
rmdir /s /q "C:\WINDOWS\resources"
rmdir /s /q "C:\WINDOWS\temp"
::system32
rmdir /q /s "C:\Windows\System32\config\systemprofile"
rmdir /s /q "C:\WINDOWS\system32\ReinstallBackups"
del /q /s "C:\WINDOWS\system32\Macromed\Flash\NPSWF32_FlashUtil.exe"
del /q /s "C:\WINDOWS\system32\Macromed\Flash\install.log"
rmdir /s /q "C:\WINDOWS\system32\IOSUBSYS"
rmdir /s /q "C:\windows\system32\wbem"
::file extensions
C:\windows\regedit.exe /s C:\windows\system32\fileextensions.reg