DISM with the RestoreHealth option is the heavy artillery of Windows repair: when SFC can’t fix corrupted system files, DISM fetches clean copies and repairs the underlying component store. On Windows 11 24H2 the command works the same as ever, but there are a few 24H2-specific quirks worth knowing.
This guide covers the correct command sequence, how long each step takes, and what to do when DISM itself errors out. If you’re here because of crashes rather than curiosity, our SFC and DISM crash-repair notes pair well with this.
Why this happens
SFC reports corrupted files it couldn’t repair — meaning the component store DISM maintains is itself damaged.
Windows updates failing repeatedly with corruption-related error codes.
Blue screens or app crashes traced to damaged system components.
DISM failing with errors like 0x800f081f (source files not found) on 24H2 systems.
Running DISM without admin rights, which silently fails to do anything useful.
Interfering third-party ‘debloater’ scripts that ripped out components DISM expects to find.
How to fix it
Work through these in order, starting with Fix 1. Most of these crashes are resolved by one of the first three fixes, so don’t skip ahead.
Fix 1: Open an elevated Terminal
DISM must run as administrator. Without elevation it fails or pretends to work — the single most common DISM mistake.
Press Win + X and choose Terminal (Admin).
Click Yes on the User Account Control prompt.
Confirm the window title shows Administrator.
If you only see PowerShell without admin, close it and retry — elevation is non-negotiable.
Fix 2: Check the component store health first
A quick health scan tells you whether a full restore is even needed, and it finishes in under a minute.
In the admin Terminal, run
DISM /Online /Cleanup-Image /CheckHealth.If it reports No component store corruption detected, you don’t need RestoreHealth.
If it reports corruption (or ‘repairable’), continue to the next fix.
For a deeper scan,
DISM /Online /Cleanup-Image /ScanHealthtakes 5-10 minutes and gives more detail.
Fix 3: Run RestoreHealth
This is the main event: DISM downloads clean component files from Windows Update and repairs the store. Plan for it to take a while.
Run
DISM /Online /Cleanup-Image /RestoreHealth.Expect it to sit at certain percentages (like 62% or 84%) for a long time — this is normal, don’t close it.
Typical runtime is 15-45 minutes depending on your connection and SSD speed.
When it reports The restore operation completed successfully, restart the laptop, then run
sfc /scannowto finish the job.
Fix 4: Fix error 0x800f081f with a local source
This error means DISM couldn’t download repair files. Pointing it at a Windows 11 24H2 ISO as the source bypasses the download entirely.
Download the Windows 11 24H2 ISO from the official Microsoft software download page and mount it by double-clicking.
Note the drive letter (say E:) and check whether it has install.wim or install.esd under
E:\Sources.For a WIM, run:
DISM /Online /Cleanup-Image /RestoreHealth /Source:WIM:E:\Sources\install.wim:1 /LimitAccess.For an ESD, use
/Source:ESD:E:\Sources\install.esd:1instead. Then restart and runsfc /scannow.
Fix 5: Run DISM from the recovery environment
If Windows is too damaged to repair itself while running, offline DISM from WinRE repairs the installed system from outside it.
Boot into recovery (force-power-off twice during the Windows logo, or Settings > System > Recovery > Advanced startup).
Go to Troubleshoot > Advanced options > Command Prompt.
Identify your Windows drive letter with
diskpartthenlist volume(it’s often D: here, not C:).Run
DISM /Image:D:\ /Cleanup-Image /RestoreHealthusing the correct letter, thenexitand continue to Windows.
Fix 6: Check the DISM log when it fails
DISM writes a detailed log. When the summary message is cryptic, the log names the exact file or operation that failed.
Open
C:\Windows\Logs\DISM\dism.login Notepad.Scroll to the bottom and search upward for Error or Failed.
Common findings: a specific package name (uninstall that update), or CBS corruption (run
sfc /scannowfirst, then DISM again).If the log points at a Windows Update package, remove it via Settings > Windows Update > Update history > Uninstall updates. More on update repairs is on Microsoft’s Windows support pages .
Fix 7: Do an in-place upgrade repair
When DISM can’t repair the component store — or repairs don’t stick — an in-place upgrade reinstalls Windows over itself, replacing every system file while keeping your files, apps, and settings. It’s the step above DISM on the repair ladder.
Download the Windows 11 24H2 ISO from the official Microsoft software download page and mount it.
Run setup.exe from the mounted drive.
Choose Keep personal files and apps when asked what to keep.
Let setup complete — it takes 30-90 minutes and reboots several times.
Afterward, run
sfc /scannowonce to verify everything is clean.
Closing
DISM /RestoreHealth is the tool you reach for when SFC gives up — it repairs the repair system itself. Run it elevated, give it time at those stuck percentages, and use a mounted 24H2 ISO as the source if error 0x800f081f appears. Once DISM reports success, always follow with sfc /scannow and a restart; the two tools are a pair, and skipping the second half leaves the job unfinished. Think of the repair ladder as SFC, then DISM, then in-place upgrade — each step replaces more of Windows while keeping your files. For lighter problems where you just want to undo a recent change, our System Restore guide is the faster tool. Knowing which rung to grab saves hours.
