Resolve the DISM error: “The source files could not be found”

  • The “Could not find source files” error in the DISM tool often occurs for the following reasons.
  • The most common problem is that you have specified the wrong Windows image file (install.wim) as the recovery source, etc.
  • Use Windows Repair Upgrade to fix the problem with the troubleshooting guide below.

Updated February 2024This tool will stop these errors and fix common problems: Get it at this link
  1. Download and install the software.
  2. It will scan your computer to find problems.
  3. The tool will then correct the issues that were discovered.

We will look at how to fix this problem today if you encounter the error message “Could not find source files” after running “DISM / Online / Cleanup-Image / Restore Health”. There are no source files found for the Windows image to be restored when the DISM tool returns this error.

It is possible for Windows to not find the source file for a variety of reasons, such as the DISM tool not finding online files in Windows Update or WSUS, or the most commonly encountered error is if you choose the wrong recovery image file (install.wim). We’ll look at how to solve this DISM source file error with the troubleshooting guide below, so no need to waste any time.

What causes DISM “Source files can’t be found” error

What causes DISM "Source files can't be found" error

Many reasons contribute to the DISM tool error “Source files cannot be found.”.

  • You cannot restore online files by using DISM / Online / Cleanup-Image / Restore Health because this command will not find them.
  • If you run “DISM / Online / Cleanup-Image / Restore Health /Source”, you specify the incorrect Windows image file (install.wim).
  • You need to use several install.wim files if you want to use install.wim as a recovery source.
  • Incorrect or corrupt Windows.ISO files are used as recovery sources (the version, edition, and architecture of Windows installed on your computer aren’t compatible}.

To fix the DISM error “Source files cannot be found”

Updated: February 2024

We highly recommend that you use this tool for your error. Furthermore, this tool detects and removes common computer errors, protects you from loss of files, malware, and hardware failures, and optimizes your device for maximum performance. This software will help you fix your PC problems and prevent others from happening again:

  • Step 1 : Install PC Repair & Optimizer Tool (Windows 10, 8, 7, XP, Vista).
  • Step 2 : Click Start Scan to find out what issues are causing PC problems.
  • Step 3 : Click on Repair All to correct all issues.


To fix the DISM error "Source files cannot be found"

Clean and analyze the WinSXS folder

  1. The command prompt or Windows PowerShell(Admin) can be accessed by pressing Win+X.
  2. The following commands should be copied and executed (in the same order), followed by a reboot:
  • In the DISM console, access the “Online” menu from the ‘Cleanup—Image’ page / Start Component Cleaning
  • Sfc / scan now
  • AnalysisComponentStore / Online / Cleanup-Image
  • Sfc / scan now

Make sure that DISM / Online / Cleanup-Image / Restore Health is successfully completed after the above processes are complete.

Using another repair source in DISM

It is necessary to have at least one copy of the Windows installation media (USB, ISO, or DVD) that contains either the install.wim or install.esd files. The media must have the same version, edition, and language as the current operating system for this method to work.

  1. Install Windows on your computer by connecting a USB drive or mounting an ISO file.
  2. The drive that you mounted should now be visible in Windows Explorer.
  3. Ensure that there is a file named install.wim or install.esd in the Sources folder.
  4. If you are using Windows PowerShell (Admin), choose Command Prompt (Admin).
  5. Below is the command you need to copy and paste:
  • The WimFile for DCSM was X:source install.wim
  • It was downloaded as a Zip file from the Internet.

Use Windows Repair Upgrade to fix the problem

For a download link for Windows Repair Upgrade, click here

  1. It is a free program that can be downloaded.
  2. The installer should be run and the license conditions accepted by the user.
  3. Then click “Next.” when you see the upgrade option.
  4. The process must be completed before you can proceed.

The process of restoring Windows should be started

  1. To open PowerShell or Command Prompt as an administrator, press Windows+X.
  2. Use the Command Prompt window to execute the following commands one by one:
  • A Cleanup-Image step is required for DISM / Online / StartComponentCleanup to take effect
  • Dism/Online/Cleanup/RestoreHealth
  • Sfc / scan now

RECOMMENATION: Click here for help with Windows errors.

Frequently Asked Questions

  1. Press the Windows button.
  2. Type Gpedit.
  3. In the Group Policy Editor (left), go to Computer Configuration -> Administrative Templates -> System.
  4. In the right pane, open the "Specify options for installing and restoring optional components" option.
  5. Apply the following settings.

  1. Open Start.
  2. Find Command Prompt, right-click on the first result and select the "Run as administrator" option.
  3. Enter the following command to restore the Windows 10 image and press Enter: DISM / Online / Cleanup-Image / Restore Health.

  1. Download the Windows installation media in ISO format. From the links below, run the Media Builder according to your version of Windows. Download the Windows 10 Media Builder.
  2. Unzip the install.wim file from the installation.
  3. Run the DISM tool to restore your Windows image. Important. Follow all the steps exactly as described.

If a DISM failed error occurs on your computer, you should disable any anti-virus or security software. If possible, temporarily remove them. Then, run the DISM command again. This may solve your problem.

Website | + posts

Mark Ginter is a tech blogger with a passion for all things gadgets and gizmos. A self-proclaimed "geek", Mark has been blogging about technology for over 15 years. His blog,, covers a wide range of topics including new product releases, industry news, and tips and tricks for getting the most out of your devices. If you're looking for someone who can keep you up-to-date with all the latest tech news and developments, then be sure to follow him over at Microsoft.