Windows

DISM Commands to Repair Windows 11 (and SFC)

Being Tricky

The short answer

Open Command Prompt as administrator. Run DISM.exe /Online /Cleanup-image /Restorehealth first, then sfc /scannow, as Microsoft recommends.

Microsoft Support article: Use the System File Checker tool to repair missing or corrupted system files

At a glance

About 30 minutes · Moderate · For Windows

Key point 1 of 5

Microsoft says to run DISM before SFC

Key point 2 of 5

CheckHealth and ScanHealth only check; RestoreHealth repairs

Key point 3 of 5

SFC has four result messages, each with a different next step

Key point 4 of 5

If DISM fails, point it at install media with /Source and /LimitAccess

Key point 5 of 5

/ResetBase cleanup stops you uninstalling updates, so skip it

Watch out

Don't confuse repair with cleanup.

You might ask

Should I run SFC or DISM first? DISM first.

Want every step?

DISM Commands to Repair Windows 11 (and SFC)

Being Tricky