Fix DISM RestoreHealth Failing With 0x800f081f Repeatedly on Windows 11
🔍 WiseChecker

Fix DISM RestoreHealth Failing With 0x800f081f Repeatedly on Windows 11

Quick fix: 0x800f081f means DISM can’t find a source for the missing payload. Default behavior is to pull from Windows Update, which fails when the WU service is broken or the file you need isn’t in WU’s catalog. Mount a matching Windows 11 ISO and run dism /online /cleanup-image /restorehealth /source:wim:D:\sources\install.wim:1 /limitaccess to use the ISO as the source.

You ran sfc /scannow, it reported corruption it couldn’t repair, so you moved on to DISM /Online /Cleanup-Image /RestoreHealth. DISM ran for 10 minutes, hit 87%, and failed with Error 0x800f081f — The source files could not be found. Running it again produces the same error. The repair can’t find what it needs from Windows Update.

Symptom: DISM /RestoreHealth fails repeatedly with error 0x800f081f.
Affects: Windows 11 with corrupted system files that SFC can’t repair.
Fix time: 30–60 minutes.

ADVERTISEMENT

What 0x800f081f actually means

The error code is “CBS_E_SOURCE_MISSING” — Component-Based Servicing can’t find the file payload it needs to repair. DISM’s default source is Windows Update; when WU doesn’t have the file (because it was pruned from the catalog, or because your build is too old, or because WU is itself broken), DISM has nowhere to get the payload and fails.

The fix is to point DISM at a known-good source: a Windows 11 ISO of the same version, or another known-clean install’s WinSxS folder accessed over the network.

Method 1: Use a Windows 11 ISO as the source

  1. Download a Windows 11 ISO matching your current version. Visit https://www.microsoft.com/software-download/windows11, scroll to Download Windows 11 Disk Image (ISO), choose your edition. Make sure it matches your current build — if you’re on 24H2, get the 24H2 ISO.
  2. Mount the ISO: double-click the file in File Explorer. Note the drive letter assigned (e.g., D:).
  3. Open elevated Command Prompt.
  4. Confirm the ISO has install.wim or install.esd:

    dir D:\sources\install.*
  5. If it’s install.wim, the index for your edition. Get it with:

    dism /Get-WimInfo /WimFile:D:\sources\install.wim

    Find the index that matches your edition (Home = typically 1, Pro = 2).
  6. Run DISM with the ISO as source:

    dism /Online /Cleanup-Image /RestoreHealth /Source:wim:D:\sources\install.wim:<index> /LimitAccess

    (The /LimitAccess flag tells DISM not to also try Windows Update.)
  7. Wait for completion (20–40 minutes). The progress bar should advance steadily.

If install is .esd format (compressed): convert it to .wim first with dism /export-image /sourceimagefile:D:\sources\install.esd /sourceindex:X /destinationimagefile:C:\install.wim /compress:max /checkintegrity, then use the new .wim as source.

ADVERTISEMENT

Method 2: Repair Windows Update itself first, then re-try DISM normally

If DISM is failing because Windows Update is broken (not because the ISO doesn’t match):

  1. Open elevated Command Prompt.
  2. Reset Windows Update components:

    net stop wuauserv

    net stop cryptsvc

    net stop bits

    net stop msiserver

    ren C:\Windows\SoftwareDistribution SoftwareDistribution.old

    ren C:\Windows\System32\catroot2 catroot2.old

    net start msiserver

    net start bits

    net start cryptsvc

    net start wuauserv
  3. Open Settings → Windows Update and click Check for updates. Let it complete (downloads or no, doesn’t matter).
  4. Re-run dism /online /cleanup-image /restorehealth (without /Source this time).
  5. If WU is healthy, DISM should now find what it needs.

This works when the underlying issue was a broken WU client, not a missing payload.

Method 3: In-place repair upgrade as the nuclear fix

When ISO-source DISM still fails and WU reset doesn’t help:

  1. Mount the same Windows 11 ISO.
  2. Run setup.exe from the ISO root.
  3. Follow the upgrade wizard. Choose Keep my files and apps.
  4. The wizard reinstalls Windows over itself, replacing all system files while preserving user data and installed apps. Takes 30–60 minutes.
  5. After the upgrade, run dism /online /cleanup-image /checkhealth — should now report No component store corruption detected.

The in-place upgrade is a guaranteed fix for component-store corruption. The downside is the time investment. For PCs you depend on daily, schedule it for an off-hour.

How to verify the fix worked

  • dism /online /cleanup-image /restorehealth completes with “The restore operation completed successfully.”
  • sfc /scannow follows up with “Windows Resource Protection did not find any integrity violations.”
  • Open Settings → Windows Update — if updates were failing before, they now install cleanly.
  • Reset This PC’s preflight check (Settings → System → Recovery → Reset this PC) passes without error (you don’t need to actually reset; just check the dialog opens cleanly).

If none of these work

If the ISO-source DISM still fails with 0x800f081f, the ISO version doesn’t match your build exactly — ensure both are 24H2 (or whichever version). Mismatched versions produce the same error. For LTSC editions, you need the LTSC-specific ISO, not regular Pro/Home. As a last resort, the in-place upgrade is what you do when everything else fails — it’s slower but always works for component store issues. After the upgrade, take an image backup so you can roll back to this known-good state if corruption returns.

Bottom line: 0x800f081f means DISM has no source. Mount a matching ISO and tell DISM to use it via /Source. If even that fails, in-place upgrade is the nuclear option that always works.

ADVERTISEMENT