DISM source files could not be found? Try these 3 solutions

Publish date: 2024-06-08
DISM The source files could not be found

XINSTALL BY CLICKING THE DOWNLOAD FILE

To fix various PC problems, we recommend Restoro PC Repair Tool:
This software will repair common computer errors, protect you from file loss, malware, hardware failure and optimize your PC for maximum performance. Fix PC issues and remove viruses now in 3 easy steps:
  • Download Restoro PC Repair Tool that comes with Patented Technologies (patent available here).
  • Click Start Scan to find Windows issues that could be causing PC problems.
  • Click Repair All to fix issues affecting your computer's security and performance
  • Some users have reported that their DISM process has failed with the error message The source files could not be found after they used the DISM /Online /Cleanup-Image /RestoreHealth command inside Command Prompt/PowerShell.

    Even though the main body of this error message is the same, the code for the error might differ: Here are the few possible options:

    This issue is most commonly caused by the DISM service not being able to connect to the internet, a compromised install.wim file, or having multiple versions of the file mentioned previously in the same location on your hard-drive.

    In today’s fix article we will discuss some of the best methods to solve this issue once and for all. Make sure to follow the described steps closely to avoid any complications.

    What can I do if source files could not be found in DISM?

    1. Use Windows Repair Upgrade to fix the issue

    To download the Windows Repair tool:

  • Download the Windows Media Creation tool.
  • Run the installer and accept the License Terms.
  • Click the Upgrade this PC now option and then press Next.
  • Wait for the process to be completed.
  • To start the Windows repair process:

  • Press the Win+X keys and select either the Command Prompt (Admin) or PowerShell (Admin) option.
  • Run the following commands in order inside the Command Prompt window:
  • If your administrator account is disabled in Windows 10, find out how you can enable it in this useful guide.

    2. Clean and perform analysis of the WinSXS folder

  • Press the Win+X keys and select Windows PowerShell(Admin) or Command Prompt(Admin).Windows PowerShell - dism failed the source files could not be found
  • Copy-paste and run the following commands (in the same order), and then restart your PC:
  • After the above-mentioned processes are completed, try running the DISM /Online /Cleanup-Image /RestoreHealth command again, and see if the process can be completed successfully.

    3. Use an alternative repair source in DISM

    Note: To be able to try this method out, you will need the install.wim, or the install.esd file from a Windows installation media (USB, ISO, or DVD). The Windows installation media needs to have the same Windows version, edition, and language as the operating system you’re using at the moment.

    To  find out the Index value of your Windows OS:

  • Connect the USB device containing the Windows installation (or mount the ISO image) to your PC.
  • Open Windows Explorer and navigate to the drive that you just mounted.
  • Open the Sources folder and check if an install.wim or install.esd file is present at that location.
  • Press the Win+X keys and choose Command Prompt (Admin), or Windows PowerShell (Admin) to open it.
  • Copy-paste the following command:
  • dism /Get-WimInfo /WimFile:X:sourcesinstall.wim or dism /Get-WimInfo /WimFile:X:sourcesinstall.esd (depending on the file format found inside the Sources folder).

    Expert Tip: Some PC issues are hard to tackle, especially when it comes to corrupted repositories or missing Windows files. If you are having troubles fixing an error, your system may be partially broken. We recommend installing Restoro, a tool that will scan your machine and identify what the fault is.
    Click here to download and start repairing.

    Note: After the process is completed, note the Index value from the results.

    To start the repair process for Windows:

    Depending on what file you’re using (install.wim, or an install.esd) run the following command taking the Note mentioned below into consideration:

    Note: Replace the X inside the above-mentioned commands with the letter corresponding to the drive, and also replace IndexNumber with the results of the process completed earlier.

    After the process is done, and you see the Operation is completed successfully message, and also run the following command inside the Command Prompt window: sfc /scannow

    If you can’t run the /sfc runnow command successfully inside Command Prompt, find out how to fix it by checking out this useful guide.

    Read more about this topic

    In today’s guide, we compiled the best methods available that should solve your issue once and for all. We made the choice to present the methods in such a way that allows you to try out the least invasive actions first, and the most complicated/invasive at the end.

    We hope that the methods presented in this fix guide have solved your Source files could not be found error inside Deployment Image Servicing and Management (DISM).

    If you would like to share your experience with us, don’t hesitate to get in contact with our team. You can do so by using the comment section below.

    ncG1vNJzZmivmaOxsMPSq5ypp6Kpe6S7zGiboqudYsCwwdGcnGaemaGytHnNqKtmnp%2Bqu6V7