Windows 10 is prone to bugs. It’s gotten more stable over time but the bugs are far from gone. Each new feature update brings its own set of problems. Some of these problems are easy to fix while others aren’t. In either case, Windows 10 has a few tools built-in that users can use to fix their system.
Deployment Image Servicing and Management (DISM)
The Deployment Image Servicing and Management or DISM tool is a tool that can be used to fix problems with a Windows installation. Its primary purpose isn’t to troubleshoot bugs but it does have a dedicated set of commands that can help repair broken system components.
The command that’s commonly used to activate the DISM tool to repair problems accesses online files to do so. This command can fail, and when it does, you have to use a local disc image of Windows 10 to run the fix.
Fix ‘DISM The source files could not be found’
To fix the ‘DISM The source files could not be found’ error, and use a local disc image of Windows 10, you need to first download the Windows 10 image. You can get it from Microsoft.
Download Windows 10 ISO
- Visit the official Microsoft Windows 10 download page.
- Click the ‘Download tool now’ button under the ‘Create installation media’ section.
- Run the tool. Accept the agreement, and select the ‘Create installation media’ option.
- On the ‘Choose which media to use’ screen, select ISO file.
- Allow the file to download.
Run DISM Restore health
Now that you’ve got the Windows 10 ISO image, you can run a restore health command.
- Open File Explorer and navigate to where the ISO file has been downloaded.
- Right-click the file, and select ‘Mount’ from the context menu.
- Navigate to This PC in File Explorer.
- You will see a new virtual DVD drive has been mounted.
- Open the drive.
- Go to the Sources folder.
- Look for either the install.esd file, or the install.wim file. Only one of these files will be present and they will determine the command that is going to run.
- Copy the path to the install.esd or the install.wim file.
- Open Command Prompt with admin rights and run the following command. Update the path to the install.esd/install.wim file before you run it.
DISM /Online /Cleanup-Image /RestoreHealth /Source:"path to install.esd/install.wim' file"
DISM /Online /Cleanup-Image /RestoreHealth /Source:E:\Sources\install.wim
- Allow the command to finish, and problems with your Windows 10 installation should be resolved.
This command may not work if you’re running the Creators Update. It broke in that particular version which is why it’s imperative that you’re running a new version of Windows 10 to fix the problem. If you’re on an older version, resetting your PC may be the only option.