If Windows has become slow, crashes, or fails to update, damaged system files may be the reason. Before you install any third-party "optimiser", use the two repair tools that Windows already includes:
- DISM (Deployment Image Servicing and Management) repairs the stored Windows image.
- SFC (System File Checker) replaces damaged or missing protected files from that image.
Step 1. Open an administrator window
- Click Start and type
cmd. - Right-click Command Prompt and choose Run as administrator.
The title bar must say Administrator: Command Prompt.
Step 2. Run DISM first
DISM /Online /Cleanup-Image /RestoreHealth
- It repairs the component store that SFC copies files from, so it must come first.
- It needs an internet connection (it uses Windows Update).
- It takes 10 to 25 minutes. It may seem stuck at 20%, 40% or 62%. That is normal, so wait.
Step 3. Run SFC
sfc /scannow
It scans all protected system files and replaces damaged ones. It takes about 5 to 15 minutes. You will see one of these results:
- No integrity violations found: your system files are fine.
- Found corrupt files and successfully repaired them: restart the computer.
- Found corrupt files but was unable to fix some of them: run DISM again (step 2), then SFC again.
Step 4. Restart
Restart the computer and see whether it feels faster and whether updates install.
What these tools help with
Windows Update failures, freezes and crashes, missing system components, and slowness caused by damaged files. They do not make a healthy but old computer faster. For that, see "Slow computer: simple checks before you call".
How often
Once every few months, or whenever Windows behaves oddly. They are safe and need no extra software.
If errors remain, open a ticket and tell us exactly what SFC or DISM printed.