Windows Repair

DISM RestoreHealth Explained

Learn what DISM RestoreHealth does, when to use it, and how it works with SFC to repair Windows system files.

DISM /Online /Cleanup-Image /RestoreHealth repairs the Windows component store. The component store is used by Windows repair tools, including SFC.

Command

DISM /Online /Cleanup-Image /RestoreHealth

When to run it

Run DISM when Windows system repair is needed, especially if sfc /scannow reports that it could not fix some files.

Recommended order

DISM /Online /Cleanup-Image /RestoreHealth
sfc /scannow

Is it safe?

For normal repair use, this is a safe built-in Windows command. It does not remove your personal files. It should be run as Administrator and may take several minutes.

Common note

DISM may need internet access or a valid repair source depending on your system state.