On Windows 11, DISM RestoreHealth does the same vital job it does on Windows 10: it repairs the component store — the master repository of system files — so that SFC and Windows Update have clean files to work with. When SFC says it found corruption it could not fix, or when cumulative updates fail repeatedly with obscure errors, RestoreHealth is the correct next step.
The commands are short; the understanding of what they do and what to do when they fail is what this guide provides.
Why this happens
The component store gets damaged by the usual suspects:
- Failed cumulative or feature updates: Windows 11’s frequent updates occasionally fail midway, leaving the store inconsistent.
- Disk errors and bad sectors: Corrupting stored component files silently over time.
- Power loss during servicing: Shutdowns while updates are installing.
- Malware or “debloating” scripts: Removing or modifying servicing components.
- Interrupted upgrades: Feature updates (like 24H2) that partially applied.
- Third-party cleaners: Tools that aggressively “clean” WinSxS and servicing data.
- Interrupted servicing stack updates: Windows 11 updates its servicing stack itself; an interrupted servicing-stack update leaves the repair tools partially broken.
How to fix it
Work through these in order.
Fix 1: Open an elevated terminal
Windows 11 pushes you toward Terminal, which works fine for DISM.
- Right-click Start and choose Terminal (Admin). Click Yes on the UAC prompt.
- If Terminal opens PowerShell, that is fine — DISM commands work identically in PowerShell and Command Prompt. (You can switch to a Command Prompt tab with the dropdown if you prefer.)
- Confirm the title bar says “Administrator” before proceeding.
Fix 2: Check store health
A quick read-only assessment before the repair. This step takes under a minute for CheckHealth and tells you whether corruption is even present — useful because if the store is clean, your problem lies elsewhere and you should not waste half an hour on a repair you do not need. ScanHealth goes deeper but takes ten minutes or more; run it when CheckHealth is ambiguous or when you want certainty before committing to the full restore.
- Run:
DISM /Online /Cleanup-Image /CheckHealth - For a thorough scan:
DISM /Online /Cleanup-Image /ScanHealth— slower (10+ minutes) but actually inspects the store. - Note the result, then proceed to repair regardless — the check just sets expectations.
Fix 3: Run RestoreHealth
The main repair command. Before running it, close unnecessary programs and plug in the charger — DISM is disk- and CPU-intensive, and a mid-repair shutdown from a dead battery can leave the component store worse than you found it. On a quiet system with an SSD, expect 10-30 minutes; the percentage will appear frozen at points, which is normal behavior while files download and verify in the background.
- Run:
DISM /Online /Cleanup-Image /RestoreHealth - Be patient: 10-30 minutes on an SSD, longer on spinning drives. The progress percentage will appear stuck at points — it is working.
- Success looks like “The restore operation completed successfully.” Failure with
0x800f081fmeans it could not reach clean source files — continue to Fix 4.
Fix 4: Use a Windows 11 ISO as the offline source
When the online repair cannot fetch clean files, supply them yourself.
- Download the Windows 11 ISO from Microsoft’s download page and double-click to mount it — note the drive letter.
- Check available images:
DISM /Get-WimInfo /WimFile:E:\sources\install.wim(adjust the letter; useinstall.esdif present instead). - Run:
DISM /Online /Cleanup-Image /RestoreHealth /Source:WIM:E:\sources\install.wim:1 /LimitAccesswith the right index for your edition (Home/Pro). - The
/LimitAccessflag prevents it from trying Windows Update, forcing the offline source.
Fix 5: Complete the repair with SFC
Now that the store is clean, let SFC finish the job. This is the payoff step: SFC scans every protected system file and replaces damaged ones from the freshly repaired store. Run it, let it complete without interruption, and reboot — then retest whatever was originally broken rather than assuming success.
- Run:
sfc /scannow - It should now repair files it previously could not. Reboot afterward.
- Retest the original problem — failed updates, crashes, broken features. If blue screens persist and dumps implicate drivers rather than Windows files, move to driver troubleshooting: our critical process died walkthrough covers the driver side of post-repair crashes.
Fix 6: Verify and update
Confirm the repair and get current. Do not skip the update pass: a freshly repaired component store with months of pending cumulative updates is still vulnerable to the same corruption patterns, and the pending updates often include servicing-stack improvements that make the next repair easier.
- Re-run
DISM /Online /Cleanup-Image /CheckHealth— expect a clean report. - Go to Settings > Windows Update and install everything pending. Previously failing updates should now install.
- Create a restore point (Settings > System > About > System protection) so the next problem has a one-click rollback. Microsoft documents additional servicing guidance on Microsoft Support .
Fix 7: Repair from the recovery environment
For systems that will not boot, the same tools work offline.
- Boot to Troubleshoot > Advanced options > Command Prompt from recovery.
- Find your Windows drive letter with
diskpart>list volume(it is often not C: here). - Run:
DISM /Image:C:\ /Cleanup-Image /RestoreHealth /Source:WIM:E:\sources\install.wim:1(adjust letters), thensfc /scannow /offbootdir=C:\ /offwindir=C:\Windows. - Type
exitand choose Continue to attempt a normal boot.
Closing
Windows 11’s DISM RestoreHealth is three commands that fix what nothing else can: a corrupt component store. Check health, restore it (from Windows Update or a mounted ISO), verify with SFC, and update. When system-file corruption is the disease, this is the cure — quick, safe, and built into every copy of Windows 11. For the broader blue-screen troubleshooting that file repair fits into, our general BSOD fix guide puts DISM in context with driver and hardware steps.
