DISM RestoreHealth is the Windows command DISM /Online /Cleanup-Image /RestoreHealth, which scans the Windows component store for corruption and repairs it automatically, downloading clean files from Windows Update by default. Run it from an administrator Command Prompt, then run sfc /scannow afterwards, because System File Checker uses that repaired store to fix your system files.
What Does DISM RestoreHealth Actually Do?
DISM RestoreHealth repairs the component store, the folder of reference copies Windows keeps (in C:\Windows\WinSxS) for installing updates, adding features and replacing damaged system files. DISM stands for Deployment Image Servicing and Management, Microsoft's tool for servicing Windows images, and /Online tells it to work on the copy of Windows that is currently running.
The cause and effect matters here. System File Checker (SFC) repairs broken system files by copying good versions from the component store. If the store itself is damaged, SFC has nothing clean to copy and reports that it could not fix some files. RestoreHealth fixes the source first, which is why Microsoft's System File Checker guide says to run DISM before SFC.
Typical symptoms that point to component store damage include Windows updates that fail repeatedly, optional features that will not install, and SFC reporting corrupt files it cannot repair.
What Is the Difference Between CheckHealth, ScanHealth and RestoreHealth?
The three switches go from quick check to full repair: CheckHealth reads a flag, ScanHealth inspects the store, and RestoreHealth inspects and repairs it in one pass.
| Command | What it does | Changes anything? | Typical time |
|---|---|---|---|
DISM /Online /Cleanup-Image /CheckHealth |
Checks whether the image has already been flagged as corrupted and whether it can be repaired | No | Usually quick |
DISM /Online /Cleanup-Image /ScanHealth |
Scans the component store for corruption | No | Several minutes |
DISM /Online /Cleanup-Image /RestoreHealth |
Scans for corruption and repairs it automatically | Yes | Several minutes, sometimes longer |
sfc /scannow |
Checks protected system files and replaces damaged ones from the component store | Yes | Several minutes |
A DISM check health result of "No component store corruption detected" means nothing has been flagged. It does not prove the store is perfect, so if you have real symptoms, go straight to RestoreHealth; it includes the scan anyway.
How Do You Use the DISM RestoreHealth Command?
You use it from an elevated Command Prompt or Terminal with an internet connection, then follow it with SFC.
- Click Start, type cmd, right-click Command Prompt and choose Run as administrator. Windows Terminal (Admin) works too.
- Optional quick check: type
DISM /Online /Cleanup-Image /CheckHealthand press Enter. - Type
DISM /Online /Cleanup-Image /RestoreHealthand press Enter. - Wait for the progress bar to finish and for the message "The restore operation completed successfully." The bar can pause for long periods; leave it running.
- Type
sfc /scannowand press Enter. Do not close the window until verification is complete. - Restart the PC, then retry whatever was failing, such as Windows Update.
DISM switches are not case sensitive, but spacing matters: each switch starts with a slash and is separated by a space, and /Cleanup-Image has a hyphen with no space. A typo usually produces an error saying the option is unknown or incorrect.
How Do You Run RestoreHealth with a /Source When Windows Update Fails?
If Windows Update is broken, DISM cannot download clean files, so you point it at a Windows installation image instead with /Source and add /LimitAccess to stop it trying Windows Update at all. Microsoft's Repair a Windows Image documentation describes /LimitAccess as preventing DISM from contacting Windows Update for repairs of online images.
- Download a Windows ISO that matches your installed version and language. Our guide to the Windows 11 ISO and installation tools explains where to get it.
- Right-click the ISO and choose Mount. Note the drive letter it gets, for example E:.
- In an admin Command Prompt, find the index of your edition:
DISM /Get-ImageInfo /ImageFile:E:\sources\install.wim(some ISOs containinstall.esdinstead; use that file name). Note the index number shown next to your edition, such as Windows 11 Pro. - Run the repair, replacing the drive letter and index:
DISM /Online /Cleanup-Image /RestoreHealth /Source:wim:E:\sources\install.wim:6 /LimitAccess. If your ISO only hasinstall.esd, the same pattern is commonly used with anesd:prefix, though Microsoft's repair-source page documents thewim:form. - Run
sfc /scannowwhen it finishes.
Microsoft's repair-source guidance says the source should match the languages installed and should be patched to at least the same level as the PC being repaired. An image older than your installed build may be missing the exact file versions DISM needs, which is the usual reason for error 0x800f081f ("The source files could not be found").
How Do You Read the Results and Logs?
A successful run ends with "The restore operation completed successfully." If DISM fails, the details are in C:\Windows\Logs\DISM\dism.log, and SFC writes its findings to C:\Windows\Logs\CBS\CBS.log.
SFC finishes with one of four messages:
- Did not find any integrity violations: system files are fine.
- Found corrupt files and successfully repaired them: the fix worked; restart.
-
Found corrupt files but was unable to fix some of them: run RestoreHealth with a matching
/Source, then SFC again. - Could not perform the requested operation: Microsoft suggests running SFC again from Safe Mode.
If DISM and SFC both come back clean but problems remain, the cause is probably elsewhere: a driver, third-party software or a network issue. Our guide to fixing slow DNS lookups on Windows covers one common non-corruption cause of "Windows feels broken" symptoms.
A Common Mistake We See
People often reach for DISM when the real issue is activation. RestoreHealth repairs Windows files; it does not change your edition, product key or licence status, and it will not clear an "Activate Windows" watermark. If activation is the problem, our guide to Windows activation error codes is the right starting point.
The opposite mistake is reinstalling Windows too early. Try RestoreHealth and SFC first; they keep your apps and files in place. If they cannot fix the problem, a repair install or reset is the next step, and our clean install vs reset guide explains which one to choose. A genuine, activated copy normally reactivates by itself after a reset on the same hardware, because the digital licence is linked to that device.
Frequently Asked Questions
How long does DISM RestoreHealth take?
Microsoft says the operation takes several minutes, but on slower drives or heavily damaged systems it can run much longer. The progress bar can sit at one percentage for a long time before jumping forward. Leave it running rather than closing the window part-way through.
Should I run DISM or SFC first?
Run DISM first. Microsoft's System File Checker guidance says to run DISM /Online /Cleanup-Image /RestoreHealth before sfc /scannow, because SFC repairs files using the component store that DISM fixes. Running SFC first is harmless, but it may fail to repair files until the store is healthy.
What is the difference between DISM check health and scan health?
CheckHealth only reads whether Windows has already recorded the image as corrupted, so it usually finishes quickly and can miss damage nobody has flagged yet. ScanHealth actively scans the component store, which takes several minutes. Neither one changes anything; only RestoreHealth performs repairs.
Does DISM RestoreHealth delete my files or apps?
No. It only repairs Windows' own component store and does not touch documents, photos or installed programs. It is still sensible to keep a backup before any system repair, especially if the PC is already unstable or the drive may be failing.
Can I run DISM RestoreHealth without internet?
Yes, by adding a local source: mount a matching Windows ISO and run DISM /Online /Cleanup-Image /RestoreHealth /Source:wim:E:\sources\install.wim:6 /LimitAccess, using your own drive letter and edition index. Without internet or a source, DISM has nowhere to get clean files from and will usually fail.
Does DISM RestoreHealth work on Windows 10 and Windows 11?
Yes, the command and switches are the same on Windows 10 and Windows 11, as well as on Windows Server. Use a source image that matches the version you have installed. On Windows 10, remember that support ended on 14 October 2025, so a repair does not replace security updates unless the PC is enrolled in Extended Security Updates.
Conclusion
DISM RestoreHealth is the first repair to try when updates fail or SFC cannot fix files: run it, then sfc /scannow, and add a matching /Source if Windows Update is unavailable. If your PC needs a fresh, genuine copy of Windows rather than a repair, our Windows 11 collection has Home and Pro product keys with instant email delivery and help with activation.
Useful Links
| Resource | Link |
|---|---|
| Windows 11 product keys | Windows 11 collection |
| Getting a Windows 11 ISO | Update Assistant vs Installation Assistant vs ISO |
| Activation problems | Windows activation errors explained |
| When repair isn't enough | Clean install vs reset |
| Network troubleshooting | How to fix slow DNS lookups on Windows |
| Repair a Windows image (Microsoft) | Microsoft Learn: Repair a Windows Image |
| System File Checker (Microsoft) | Microsoft Support: Use the System File Checker tool |
Lascia un commento