TechBuzzPro

DISM Failed Windows 10: Fix It Step by Step

· 6 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 fails on Windows 10, the quickest fix is to run the tool from an elevated Command Prompt with the correct syntax, check that the Windows Update service is running, and use the /RestoreHealth switch with a known-good source if the local component store is damaged. DISM (Deployment Image Servicing and Management) repairs the Windows image that Windows Update and System File Checker rely on, so a failure usually means the image itself is corrupted, a required service is stopped, or the command was run without administrator rights. The steps below walk through the safe order: verify the environment, run the standard repair, then fall back to a source-based repair or a reset of the update components if the error persists.

What You'll Need

  • A Windows 10 PC with an administrator account.
  • An internet connection for the default /RestoreHealth run, which pulls replacement files from Windows Update.
  • Optionally, a Windows 10 installation ISO or USB media matching your build, used as a repair source if Windows Update cannot supply the files.
  • Enough free disk space for temporary repair files (a few gigabytes is usually enough).
  • Patience: a full DISM repair can take 10–30 minutes and may appear frozen at 20% or 40% while it works.

Step-by-Step

  1. Open Command Prompt as administrator. Click Start, type cmd, right-click Command Prompt, and choose Run as administrator. Accept the User Account Control prompt. DISM will fail with error 740 or a similar access error if you run it in a normal window.
  2. Check the Windows Update service. In the same window, type sc query wuauserv and press Enter. Look for STATE : 4 RUNNING. If it is stopped, type net start wuauserv. DISM's default repair mode contacts Windows Update, so a stopped service is a common cause of failure.
  3. Run the standard repair command. Type DISM /Online /Cleanup-Image /RestoreHealth and press Enter. Watch the progress bar. Do not close the window even if it sits at a percentage for several minutes. A successful run ends with “The restore operation completed successfully.”
  4. If you see error 0x800f081f, point DISM at a source. This error means the files could not be found online. Mount a Windows 10 ISO (double-click it in File Explorer) or insert your installation USB, note the drive letter, and run DISM /Online /Cleanup-Image /RestoreHealth /Source:D:\sources\install.wim /LimitAccess, replacing D with your media's letter. If your media contains install.esd instead of install.wim, use that filename. The /LimitAccess switch stops DISM from contacting Windows Update.
  5. Run System File Checker afterwards. Type sfc /scannow and press Enter. DISM repairs the component store; SFC then replaces damaged system files using that repaired store. Running SFC first on a broken store often fails, which is why DISM comes first.
  6. Restart the PC. Close the window and reboot so the repaired files are loaded. Then re-run Windows Update to confirm the original problem is gone.
  7. If DISM still fails, reset the update components. Stop the services with net stop wuauserv, net stop cryptSvc, net stop bits, and net stop msiserver. Rename the folders C:\Windows\SoftwareDistribution and C:\Windows\System32\catroot2 (for example, append .old). Restart the services with net start wuauserv, net start cryptSvc, net start bits, and net start msiserver, then repeat step 3. Renaming these folders is safe; Windows recreates them, but you lose the current update download cache and pending update history display.
  8. Last resort: in-place upgrade repair. If DISM consistently fails with corruption errors, run setup.exe from mounted Windows 10 media and choose Keep personal files and apps. This reinstalls Windows system files while preserving your data and most programs. Back up important files first; an in-place upgrade is normally safe but is still a major system change.

Common Mistakes

  • Running DISM in a non-elevated window. The tool needs administrator rights; otherwise it returns an access-denied error immediately.
  • Using the wrong switch order or a typo such as /restorehealth with a missing slash. DISM is not case-sensitive, but the slash is required.
  • Closing the window when the progress bar stalls. DISM often pauses at 20% or 40% while it downloads or rebuilds files; give it at least 30 minutes before assuming it has hung.
  • Pointing /Source at the root of the ISO instead of the sources folder containing install.wim or install.esd.
  • Running SFC before DISM on a badly corrupted system, then concluding the repair failed when SFC simply could not read the store.
  • Using a source from a different Windows 10 version or architecture (for example, a 32-bit source on 64-bit Windows). The source must match your installed build.

Tips

  • Run DISM /Online /Cleanup-Image /CheckHealth first for a quick read on whether corruption is flagged, and /ScanHealth for a deeper scan. These are faster than a full repair and tell you whether /RestoreHealth is even needed.
  • Keep the Command Prompt window open until you see the final success or error line; copy any error code into your notes before closing.
  • If you are on a metered connection, use a local source with /LimitAccess to avoid a large download.
  • Run DISM during a period when you do not need the PC; the repair can slow the system and may trigger a restart request.
  • Check that your system drive has at least 10 GB free before starting; a full component store repair needs working space.

Troubleshooting

Error 0x800f081f: the source files could not be found. This almost always means Windows Update could not supply the payload. Mount matching installation media and repeat the command with /Source and /LimitAccess as in step 4.

Error 0x800f0906: DISM could not download the files. Check the internet connection, confirm the Windows Update service is running, and try again. If it persists, use local media as the source.

Error 87: a parameter is incorrect. Recheck the command syntax, especially the spaces and the /Source: path.

The progress bar freezes: leave it alone for at least 30 minutes. If it is still frozen after that, press Ctrl+C, restart the PC, and run the command again. Do not force-close the window mid-repair if you can avoid it.

DISM reports corruption it cannot fix: move to the update component reset in step 7, then retry. If that fails, the in-place upgrade in step 8 is the reliable path.

Access denied: close the window and reopen Command Prompt with Run as administrator. Confirm your account is an administrator, not a standard user.

Frequently Asked Questions

What does DISM actually do?

It services the Windows image, including the component store that holds the files used to repair Windows. /RestoreHealth replaces corrupted files in that store, which is why SFC and Windows Update work better after a successful run.

Do I need the internet for DISM /RestoreHealth?

By default, yes: it contacts Windows Update for replacement files. If you add /Source with installation media and /LimitAccess, it uses the local files instead.

Can I run DISM in Safe Mode?

DISM can run in Safe Mode, but Windows Update access is often limited there. If the online repair fails in Safe Mode, use a local source or run it in normal mode.

Will DISM delete my files or programs?

No. DISM repairs system components and does not touch personal files or installed applications. The in-place upgrade in step 8 also keeps files and apps, but back up important data before any major repair.

How long should DISM take?

Typically 10–30 minutes for /RestoreHealth, longer on slow connections or badly corrupted systems. A stall at a percentage is normal; only treat it as hung after about 30 minutes.

What if DISM keeps failing with the same error?

Work through the order: elevated prompt, service check, local source, update component reset, then in-place upgrade. If all fail, the installation media repair is the standard recovery path.