Repair
Run following commands in an elevated Command-Shell
- Windows 10:
(findstr /c:“[SR]“ %DISM.exe /Online /Cleanup-image /Restorehealth)
DISM.exe /Online /Cleanup-image /Restorehealth
(Dism /Online/Cleanup-Image/ScanHealth, Dism /Online/Cleanup-Image/CheckHealth, Dism /Online/Cleanup-Image/RestoreHealth)
- View Result: windir%\Logs\CBS\CBS.log >“%userprofile%\Desktop\sfcdetails.txt“
- sfc /scannow
Commands for PowwerShell
- Repair-WindowsImage -Online -CheckHealth
- Repair-WindowsImage -Online -ScanHealth
- Repair-WindowsImage -Online -RestoreHealth
Windows Update database is corrupted
Troubleshooter (Problembehandlung)
- Press the ‘Windows + W’ key on the keyboard.
- Type troubleshooter in the search box and then press enter.
- Select Troubleshooting. Click on view all and select Windows Update and follow the on-screen instructions.
Repair.bat
- net stop wuauserv
- cd %systemroot%\SoftwareDistribution
- ren Download Download.old
- net start wuauserv
- net stop bits
- net start bits
- net stop cryptsvc
- cd %systemroot%\system32
- ren catroot2 catroot2old
- net start cryptsvc