DISM /Online /Cleanup-Image /RestoreHealth is one of the most commonly used command lines that can repair a damaged Windows system image. However, some of you may receive DISM error 0x800f081f while running it. If you are struggling with the same error, this guide on MiniTool Website might be helpful to you.
0x800f081f Windows 10 DISM Error
Deployment Image Servicing and Management (DISM) is a useful way to repair corrupted system images. Usually, it works together with System File Checker to scan and repair your computer and return it to a healthy work state.
However, like other inbuilt Windows tools, it goes wrong sometimes. Quite a few users complain that they encounter DISM error 0x800f081f when running the DISM /Online /Cleanup-Image /RestoreHealth command and receiving the following error messages.
- Error: 0x800f081f. The source files could not be found.
- Windows couldn’t find the required files to complete the requested changes. Make sure you’re connected to Internet, and try again. Error: 0x800f081f.
This error indicates that DISM cannot find the files required to fix the online Windows image in the default location. DISM error 0x800f081f can lead to other errors on your computer and prevents other processes from functioning properly, so you must take some measures to get rid of it as soon as it crops up.
You may receive the DISM source files could not be found error messages when the DISM process fails to run on your PC.
How to Fix DISM Error 0x800f081f on Windows 10/11?
Fix 1: Perform a Component Cleanup
You can clean up the image files and make everything run properly with the DISM component cleanup switch. Follow the steps below:
Step 1. Type cmd in the search bar to locate Command Prompt and right-click on it to choose Run as administrator .
Step 2. In the command window, run the following commands one by one and don’t forget to hit Enter after each command.
dism.exe /online /Cleanup-Image /StartComponentCleanup
Step 3. When the two commands are complete, run Dism /Online /Cleanup-Image /RestoreHealth again to see if it works properly.
Fix 2: Run Windows Update Troubleshooter
As is known to all, Microsoft Windows Update Center triggers problems regularly and these problems can prevent you from implementing upgrades or improvements by downloading or installing new updates. In this case, Microsoft offers you a troubleshooting tool called Windows Update troubleshooter which can fix most errors including DISM Online Cleanup Image RestoreHealth error 0x800f081f .
Step 1. Press Win + I to open Windows Settings .
Step 2. In the settings menu, scroll down to find Update & Security and click on it.
Step 3. Under the Troubleshoot tab, hit Additional troubleshooters .
Step 4. Under Get up and running , hit Windows Update and then press Run the troubleshooter . Once the troubleshooting process is done, it will show a message to inform you of the result.
This post teaches you how to run Windows 11 Update Troubleshooter to fix update issues in Windows 11.
Fix 3: Reinstall Microsoft .NET Framework 3.5
Since DISM error 0x800f081f is related to Microsoft .NET Framework 3.5, it is a good option to reinstall it.
Step 1. Click Start and go to Control Panel .
Step 2. Hit Programs and Features > Turn Windows features on or off .
Step 3. Check .NET Framework 3.5 (includes .NET 2.0 and 3.0) and hit OK .
What is error code 0x800f0950? How to fix .NET framework installation error 0x800f0950? How to solve 0x800f0950 language pack issue? Read here!
Fix 4: Get Source from Windows Image
Usually, the DISM /Online /Cleanup-Image /RestoreHealth command is used to fix problems by searching in Windows Update or WUSU to replace the corrupted files. If DISM cannot repair a file required by the Windows image, it will result in DISM error 0x800f081f the source files could not be found .
To address this error, you need to specify a valid Windows image file ( install.wim ) which contains all the files required during the repairing process. The install.wim file should be included in the source folder of Windows 10 Installation media.
Move 1: Download and mount the ISO file
Step 1. Go to the Microsoft Software Download website and hit Download Now under Create Windows 10 installation media .
Step 2. Hit Accept to accept the license terms > tick Create installation media (USB flash drive, DVD, or ISO file) for another PC > hit Next > select Language , Architecture , and Edition > hit Next > tick ISO file > hit Next > choose a download location for Windows 10 ISO file > hit Save .
Step 3. Press Win + E to evoke File Explorer and then locate the Windows 10 ISO image file .
Step 4. Right-click on the ISO file and select Mount in the drop-down menu.
Step 5. After the mounting process is finished, go to This PC and you can see a virtual drive in the right-hand pane.
Move 2: Extract the install.wim file from the install.esd file
Step 1. From the mounted Windows ISO file, right-click on the install.esd file from the source folder to copy it to the root folder of drive C: .
Step 2. Launch Command Prompt as an administrator.
Step 3. Type cd\ to go to the root folder of drive C:.
Step 4. Type the following command and hit Enter to find which images are in the install.esd file.
dism /Get-WimInfo /WimFile:install.esd
Note down the index number according to the Windows 10 installed version.
Step 5. Run the following command to extract the install.wim file according to your Windows version. Don’t forget to replace the IndexNumber with the corresponding index number you noted down just now.
dism /export-image /SourceImageFile:install.esd /SourceIndex:IndexNumber /DestinationImageFile:install.wim /Compress:max /CheckIntegrity
Step 6. Now, you can find the exported install.win file on the drive C:.
What if Windows Media Creation Tool is not working? Take it easy! Every problem has a fix. Follow this guide - Best Fixes for Windows 10/11 Media Creation Tool Not Working , and you will work it out.
Move 3: Run DISM Tools
Step 1. Launch Command Prompt as an administrator.
Step 2. Run the two commands below and hit Enter .
DISM /Online /Cleanup-Image /StartComponentCleanup
DISM /Online /Cleanup-Image /AnalyzeComponentStore .
Step 3. Run the following command to specify the C:\install.wim as the source of the known good files.
DISM /Online /Cleanup-Image /RestoreHealth /Source:WIM:c:\install.wim:1 /LimitAccess
Step 4. When this process is done, type sfc /scannow and hit Enter .
Fix 5: Perform an In-place Upgrade
The last method is performing an in-place upgrade. This process will reinstall the entire Windows core with the latest image from Microsoft. It may take a long time, please wait patiently.
Step 1. Download & Install Windows 10 Media Creation Tool on your computer and run it with administrative rights.
Step 2. Accept the license terms and tick Upgrade this PC now .
Step 3. Then, follow the prompts on the screen to complete the upgrade. After the completion, run Dism /Online /Cleanup-Image /RestoreHealth to see if DISM error 0x800f081f is gone.
If you fail to run the DISM /Online /Cleanup-Image /RestoreHealth command without error code 0x800f081f, this guide might provide you with some feasible solutions - Best Fixes: DISM /online /cleanup-image /restorehealth Is Stuck .