TechBuzzPro

DISM RestoreHealth Not Working? Expert Fix for Windows 11

· 7 min read · Windows & PC

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

When DISM /RestoreHealth fails on Windows 11—often with error 0x800f081f, 0x800f0906, or a generic "source files could not be found" message—the fix is to point DISM at a known-good source of the corrupted system files. You do this by mounting a matching Windows 11 ISO, copying the install.wim or install.esd to a local folder, and running DISM with the /Source parameter. If that still fails, run SFC first, check the Windows Update service, and repair the component store from Safe Mode or with a different ISO build. This guide walks through each step in order, explains why each matters, and covers what to do when the usual fixes do not work.

What You'll Need

  • A Windows 11 PC with an administrator account.
  • A Windows 11 ISO that matches your installed build (same version and edition family). You can download one from Microsoft's official Windows 11 download page.
  • About 10 GB of free disk space for the mounted ISO and the extracted image file.
  • An internet connection for the initial DISM run and for Windows Update checks.
  • Optional: a USB drive if you prefer to mount the ISO from external media, though a local folder works fine.

Step-by-Step

  1. Open an elevated Command Prompt. Press Windows + S, type cmd, right-click Command Prompt, and choose Run as administrator. Accept the User Account Control prompt. All DISM and SFC commands below must run in this elevated window; a normal prompt will fail with access-denied errors.
  2. Run a quick SFC scan first. Type sfc /scannow and press Enter. Let it finish. SFC repairs protected system files and sometimes resolves the corruption that makes DISM fail. If SFC reports it fixed errors, run DISM again before moving on. If SFC itself fails, note the error and continue—DISM may still succeed with a source.
  3. Check the Windows Update service. DISM /RestoreHealth normally pulls replacement files from Windows Update. If the service is stopped or set to Disabled, DISM cannot reach the source. Open Services (Windows + R, type services.msc), find Windows Update, and confirm its status is Running and its startup type is Automatic. If it is not, start it and set it to Automatic. Also confirm the Background Intelligent Transfer Service (BITS) and Cryptographic Services are running.
  4. Run DISM with the default source. In the elevated Command Prompt, type DISM /Online /Cleanup-Image /RestoreHealth and press Enter. This is the standard command. Watch the progress bar; it can sit at 20% or 62% for several minutes. Do not close the window. If it completes with "The restore operation completed successfully," you are done—run sfc /scannow once more to confirm, then restart.
  5. If DISM fails, download a matching Windows 11 ISO. Go to Microsoft's official Windows 11 download page and use the Create Windows 11 Installation Media tool or the direct ISO download. Choose the same language and edition as your installed system. To check your build, run winver in the Run dialog. A mismatched build (for example, a 23H2 ISO on a 24H2 install) is the most common reason the /Source repair fails.
  6. Mount the ISO. Right-click the downloaded ISO file and choose Mount. Windows assigns it a drive letter, for example D:. Open File Explorer and confirm you can see the sources folder inside.
  7. Copy the install image to a local folder. Inside the mounted ISO, open sources. Locate install.wim or install.esd. Create a folder such as C:\Win11Source and copy the file into it. Copying avoids errors caused by the ISO unmounting or the drive letter changing mid-repair.
  8. Check which image index to use. In the elevated Command Prompt, run DISM /Get-WimInfo /WimFile:C:\Win11Source\install.wim (use install.esd if that is what you copied). Note the index number that matches your edition—for example, Windows 11 Pro is often index 6, but this varies by ISO. If you are unsure, use index 1 for a generic repair, though matching your edition is safer.
  9. Run DISM with the source. Type DISM /Online /Cleanup-Image /RestoreHealth /Source:C:\Win11Source\install.wim:6 /LimitAccess and press Enter. Replace 6 with your index. The /LimitAccess switch stops DISM from falling back to Windows Update, which is useful when Windows Update is the failing component. If you copied install.esd, use that filename instead.
  10. Wait for completion and restart. The repair can take 10–30 minutes. When it finishes successfully, run sfc /scannow one final time, then restart the PC. Check that the original symptom—missing files, update failures, or app crashes—is gone.

Common Mistakes

  • Using a mismatched ISO. An ISO from a different Windows 11 version or edition will cause DISM to fail with 0x800f081f. Always match the build number shown by winver.
  • Forgetting the index number. Omitting :6 (or your correct index) makes DISM guess, and it often picks the wrong edition, leading to source-not-found errors.
  • Running DISM in a normal prompt. Without administrator rights, DISM cannot write to the component store and exits with access-denied or unspecified errors.
  • Leaving the ISO mounted. If the ISO drive letter changes or the mount drops, DISM loses the source mid-operation. Copying install.wim to a local folder prevents this.
  • Skipping SFC. Running DISM on a system with active file corruption can fail repeatedly. SFC first clears the easy problems.
  • Ignoring Windows Update service state. A stopped Windows Update service breaks the default DISM source and produces misleading errors.

Tips

  • Run DISM from Safe Mode if normal mode keeps failing. Safe Mode loads fewer drivers and services, which can eliminate interference from third-party antivirus or background tools.
  • Use DISM /Online /Cleanup-Image /CheckHealth and /ScanHealth before /RestoreHealth to confirm whether corruption actually exists. CheckHealth is fast; ScanHealth is slower but more thorough.
  • Keep the Command Prompt window open and avoid clicking inside it while DISM runs—accidental selection can pause the progress display, though the repair continues.
  • If you have a Windows 11 installation USB, you can use its sources folder as the source path directly, for example /Source:E:\sources\install.wim:6.
  • After a successful repair, run DISM /Online /Cleanup-Image /StartComponentCleanup to tidy the component store and reclaim space.

Troubleshooting

If DISM still fails after using a matching source, work through these checks in order.

  • Error 0x800f081f persists: The source files are still not being found. Confirm the path in /Source is exact, the file is install.wim or install.esd (not install.wim.bak), and the index number matches your edition. Try index 1 as a test; if that works, your edition index was wrong.
  • Error 0x800f0906: This usually means the source is unavailable or the component store is badly damaged. Run DISM /Online /Cleanup-Image /StartComponentCleanup, restart, then retry /RestoreHealth with the source.
  • DISM hangs at a percentage: Give it at least 30 minutes. If it is truly stuck, press Ctrl+C, restart the PC, and rerun the command. A pending Windows Update can also cause a hang—finish or pause updates first.
  • Windows Update service will not start: Open Services, set Windows Update to Automatic, and start it. If it fails, run the Windows Update troubleshooter from Settings > System > Troubleshoot > Other troubleshooters.
  • Source files are corrupted: Re-download the ISO from Microsoft. A partial or interrupted download produces an ISO that mounts but contains damaged files.
  • Nothing works: Use the Windows 11 installation media to perform an in-place upgrade repair, which keeps files and apps. Boot from the USB, choose Repair your computer, then follow the upgrade path. Back up important data first—an in-place repair is safe but not risk-free.

Frequently Asked Questions

Why does DISM /RestoreHealth fail with 0x800f081f?

That error means DISM could not find the replacement files. The usual cause is a missing or mismatched source. Point DISM at a matching Windows 11 ISO using the /Source parameter and the correct image index.

Can I run DISM without an ISO?

Yes, the default command pulls files from Windows Update. If Windows Update is working and the component store is only mildly corrupted, the default run succeeds. The ISO method is for when the default run fails.

Does DISM /RestoreHealth delete my files or apps?

No. DISM repairs the component store and system files only. Your documents, installed programs, and personal settings are not removed. An in-place upgrade repair also keeps files and apps, but back up first as a precaution.

How long should DISM /RestoreHealth take?

Typically 10–30 minutes, depending on disk speed and the extent of corruption. It can appear stalled at 20% or 62% for several minutes. Do not close the window.

What if SFC and DISM both fail?

Move to Safe Mode, retry both commands, then use a fresh ISO as the source. If failures continue, an in-place upgrade repair from Windows 11 installation media is the next reliable step.

Do I need the same language ISO?

Yes, match the language and edition of your installed Windows 11. A different language ISO can cause source-not-found errors even when the build number matches.