There are some basic fixes for every error on the Windows. One of them is the DISM command. But what if you face an error while using the DSIM command itself? Just like Windows Update, Device Driver, and any other segment of the Windows operating system DISM command is also vulnerable to various problems. Out of those, DISM 0x800f081f Error in Windows 10 is the most usual problem that the users face.
In this error, when you perform a DISM command in the Command Prompt, you see an error message, stating ‘the DISM source files could not be found.’ If you are also facing error 0x800f081f on your Windows 10 PC, then please calm down. It is not that tough to resolve this issue. You just need to read this guide and follow some simple instructions that we have provided here. So, without any further adjourn, here we start with some handy methods to fix the DISM error 0x800f081f.
Methods to Resolve DISM 0x800f081f Error in Windows 10
Here we have provided some of the most effective and convincing solutions for the DISM 0x800f081f Error in Windows 10.
Try Using DSIM Cleanup Command
The first and easiest thing that you can do to resolve error code 0x800f081f is to try using the DISM Cleanup command in the Command Prompt. Follow the below steps to run the DISM Cleanup command and fix the DISM error 0x800f081f successfully.
Step 1: Run the Command Prompt as administrator. If you are not aware of the Windows shortcut keys, then you can also use the Windows search tool to open the Command Prompt as administrator.
Step 2: Enter the following command to the Command Prompt.
Step 3: Press Enter on the keyboard.
Step 4: After performing the above command successfully, provide the following command and press Enter.
DISM.exe /Online /Cleanup-image /Restorehealth
Step 5: Now check if the 0x800f081f Windows 10 error still persists.
Congratulations, if you have resolved the issue with the above method. However, if it persists, then you may follow the next method to fix DISM 0x800f081f Error in Windows 10.
Edit Group Policy
This solution is only for the users of Windows 10 Enterprise, Pro, and Education versions. They can fix the 0x800f081f DISM error by configuring their group policy. However, if you have any other version of the Windows 10 operating system, then you can avoid this method. Here are the instructions to configure the group policy.
Step 1: Open the Run dialog box. You can do it by using the shortcut keys, i.e., Windows Key and R.
Step 2: In the text box, enter ‘gpedit.msc’ and then press the Enter key.
Step 3: In the left section of the Local Group Policy Editor, click on Computer Configuration.
Step 4: Then select Administrative Templates.
Step 5: After that, look for the System and click on it.
Step 6: Find ‘Specify settings for optional component installation and component repair’ on the right section of Local Group Policy Editor and double click on it.
Step 7: Mark Enabled.
Step 8: Select OK.
Get Source Files From Windows Image
The main reason for the DISM 0x800f081f Error in Windows 10 is the inability of Windows to get the source files. Hence, if none of the above-mentioned solutions work, then you need to change the DISM source.
You have to create an image of your Windows for doing this. The best thing that you require is the Media Creation Tool.
After having the Media Creation Tool, follow these steps to create an image for the Windows and then change the DISM source.
Step 1: Launch the Media Creation Tool.
Step 2: Agree to the license terms.
Step 3: . Mark the Create installation media (USB flash drive, DVD, or ISO file) for another PC option.
Step 4: Select the Next button.
Step 5: Deselect ‘Use the recommended options fort his PC’ and select the language, architecture, and edition as per your preference.
Step 6: Click Next.
Step 7: Now choose the ISO file option and click Next.
Step 8: Set the location and then save the ISO file.
Step 9: Let the download complete.
Step 10: After that, do a right-click on the Windows ISO file.
Step 11: Select Mount from the context menu.
Step 12: Now you’ll see various options in the mounted ISO file Window. Select install.esd and right-click on it. Then click on Copy.
Step 13: Paste it to the Driver C:.
Step 14: Run Command Prompt.
Step 15: Input cd\ in the Command Prompt and press Enter. It will take you to the Drive C: root folder.
Step 16: After that, enter the following command and press the Enter key.
dism /Get-WimInfo /WimFile:install.esd
Step 17: It will show you various Windows versions along with the index numbers. You have to select and enter the index number of your particular Windows version.
Step 18: Then enter the following and press the Enter key.
dism /export-image /SourceImageFile:install.esd /SourceIndex:IndexNumber /DestinationImageFile:install.wim /Compress:max /CheckIntegrity
NOTE: Make sure to replace the ‘IndexNumber’ in the above command with the respective Index number of your Windows operating system.
Step 19: Let it complete.
Step 20: Go to Drive C: you’ll see the install.wim file.
Step 21: Run the Command Prompt as administrator again.
Step 22. Give the following commands respectively and hit the Enter key after each one of them.
DISM /Online /Cleanup-Image /StartComponentCleanup
DISM /Online /Cleanup-Image /AnalyzeComponentStore
Step 23: After this, provide the following command along with the new source file.
DISM /Online /Cleanup-Image /RestoreHealth /Source:WIM:c:\install.wim:1 /LimitAccess
Step 24: Now, in the end, provide the system file checker command, i.e., sfc /scannow.
That’s all. We know that this is quite a long method, but trust us, it is one of the most effective solutions for the error 0x800f081f in Windows 10.
DISM 0x800f081f Error : SOLVED
So, these are the methods through which you can deal with the DISM 0x800f081f Error in Windows 10. Yes, the last one is quite boring, lengthy, and tedious. But it is also the most helpful one. These methods can help you to find the source files while you perform the Deployment Image Servicing and Management commands.
However, if you know some better solutions, then kindly share it in the comments. And subscribe to the Innovana blog if you find this write-up helpful.