Repair Windows with DISM and SFC
Fix corrupted system files without reinstalling.
- Open Terminal (Windows PowerShell) as administrator: right-click Start → Terminal (admin).
- First repair the system image (needs Internet, can take 10–20 min):
DISM /Online /Cleanup-Image /RestoreHealth
- Then check and repair protected files:
sfc /scannow
- Restart. If SFC reports files it cannot repair, run DISM then SFC a second time.
- Details are in the log:
findstr /c:"[SR]" %windir%\Logs\CBS\CBS.log > "%userprofile%\Desktop\sfc.txt"