When the System File Checker (
Sfc.exe) says it found integrity violations but couldn’t repair some system files, next thing you should do is run the DISM tool with
/RestoreHealth option to fix component corruption. However, when running the following DISM command, error
0x800f081f may appear in some systems:
Dism /Online /Cleanup-Image /RestoreHealth
The source files could not be found.Use the “Source” option to specify the location of the files that are required to restore the feature. For more information on specifying a source location, see http://go.microsoft.com/fwlink/?LinkId=243077.
Same error when mentioning the correct source file path?
When you download the Windows 10 ISO, mount it and use the install.wim or install.esd file as the source image using one of the following commands, the same error (
0x800f081f) may appear.
Dism /Online /Cleanup-Image /RestoreHealth /Source:wim:E:\Sources\Install.wim:1 /limitaccess Dism /Online /Cleanup-Image /RestoreHealth /Source:esd:E:\Sources\Install.esd:1 /limitaccess
In the 1st case (with no source location mentioned), the error occurs if the component store is corrupted or several files are missing in the store. In the 2nd case (with either a
install.wim source image referenced), error
0x800f081f may still appear if you’re using an ISO which is older that the build your system is running.
For instance, you can’t repair a Windows 10 build
16299.98 using the Windows 10 Build
16299.15 ISO. However, Microsoft makes available only the base version ISO on their site, and via the Media Creation Tool. So, what’s the solution? How do run DISM against the latest install.wim or install.esd?
Fix: DISM Error 0x800f081f When Running RestoreHealth Operation
The solution is to create a slipstreamed Windows 10 installation disk. Slipstreaming is a process of integrating updates (and drivers, optionally) and making an updated Windows 10 Setup disk or ISO.
Follow the steps in article Slipstream Windows 10 to create a slipstreamed Windows 10 setup disk, and then run the
DISM command-line pointing to the updated WIM file. This fixes DISM error 0x800f081f, and you should now see the message “The restore operation completed successfully.”
Once DISM command completes successfully, follow up with the
sfc /scannow command (from elevated Command Prompt) if necessary. For more information, check out article Repair Windows 10 Using DISM and SFC.
About the author
Ramesh Srinivasan founded Winhelponline.com back in 2005. He is passionate about Microsoft technologies and has a vast experience in the ITeS industry — delivering support for Microsoft's consumer products. He has been a Microsoft MVP [2003 to 2012] who contributes to various Windows support forums.