Repair Windows

win7 update error

god mode

  • create folder GodMode.{ED7BA470-8E54-465E-825C-99712043E01C}

Windows Disk Cleanup

  • use this one first
  • right-click disk > properties > Disk Cleanup > Run as Admin
  • clean most junks cleanmgr.exe /lowdisk
  • clean all (slow) cleanmgr /verylowdisk
  • clean previous windows after update/upgrade cleanmgr.exe /autoclean

choco cleaner

choco install choco-cleaner
choco-cleaner
choco uninstall choco-cleaner
#

bleachbit

install

choco install bleachbit.portable
#bleachbit clean
$p="adobe_reader.cache adobe_reader.tmp chromium.cache"
$p+=" firefox.backup firefox.cache firefox.crash_reports firefox.vacuum"
$p+=" flash.cache flash.cookies gimp.tmp google_chrome.cache google_chrome.vacuum"
$p+=" internet_explorer.cache internet_explorer.logs java.cache"
$p+=" microsoft_edge.cache microsoft_edge.vacuum microsoft_office.debug_logs"
$p+=" opera.cache opera.vacuum safari.cache safari.vacuum system.logs system.recycle_bin"
$p+=" system.tmp system.updates windows_defender.backup windows_defender.history"
$p+=" windows_defender.logs windows_defender.quarantine windows_defender.temp"
$p.Split(" ") | % { & bleachbit.exe --clean $_ }
#

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

wise disk cleaner / registry cleaner / program uninstaller

O&O Shutup

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