This is an old revision of the document!
clean
win7 update error
Windows Disk Cleanup
- use this one first
- right-click disk > properties > Disk Cleanup > Run as Admin
cleanmgr /? sudo cleanmgr /verylowdisk
wise disk cleaner / registry cleaner / program uninstaller
- https://portableapps.com/apps/utilities/wise-disk-cleaner-portable - clean and defrag
bleachbit
- choose only browser cache and vaccum
choco install bleachbit.install if exist "%ProgramFiles(x86)%\BleachBit\bleachbit_console.exe" cd "%ProgramFiles(x86)%\BleachBit" if exist "%ProgramFiles%\BleachBit\bleachbit_console.exe" cd "%ProgramFiles%\BleachBit" bleachbit_console --clean adobe_reader.cache adobe_reader.tmp chromium.cache ^ firefox.backup firefox.cache firefox.crash_reports firefox.vacuum ^ flash.cache flash.cookies gimp.tmp google_chrome.cache google_chrome.vacuum ^ internet_explorer.cache internet_explorer.logs java.cache ^ microsoft_edge.cache microsoft_edge.vacuum microsoft_office.debug_logs ^ opera.cache opera.vacuum safari.cache safari.vacuum system.logs system.recycle_bin ^ system.tmp system.updates windows_defender.backup windows_defender.history ^ windows_defender.logs windows_defender.quarantine windows_defender.temp # deep clean (slow) bleachbit_console --clean deepscan.backup deepscan.ds_store deepscan.thumbs_db deepscan.tmp
CCleaner
- Custom Clean > except cookies
- Tools > Uninstall > Save to text file > Uninstall all craps
- Tools > Startup > Save to text file > Stop all craps
choco install ccleaner.portable
O&O Shutup
- Action > Apply only recommended settings
choco install shutup10 oosu10
data recovery
reset file permission
takeown /f <foldername> /r /d y # take ownership to current user takeown /f <foldername> /a /r /d y # take ownership to administrator
icacls C:\drv /grant "%USERDOMAIN%\%USERNAME%":F /t icacls C:\drv <filename> /grant administrators:F