Windows 10 DISM error: 0x800f081f

I have been trying to run sfc /scannow in cmd but have been unsuccessful. Therefore, after some research on the Internet, I turned to the following command:

DISM /Online /Cleanup-Image /RestoreHealth /source:WIM:X:\Sources\Install.wim:1 /LimitAccess

where X indicates the drive letter where the Windows .iso is mounted. (I mounted the .iso file using Daemon Tools)

However, I keep getting the following message:

Error: 0x800f081f

The source file could not be found.

I'm not tech savvy, but after skimming over the dism.log, I found this line that may or may not have something to do with the error.

(p) CSI Payload Corrupt

amd64_microsoft-windows-microsoftedge_31bf3856ad364e35_10.0.10240.16397_none_19381f0c8accd5dd\MicrosoftEdgeSquare44x44.scale-125_contrast-white.png

I really do not wish to reset or refresh Windows because there are just so many programs I will have to reinstall. I would appreciate any help.

On a side note, Windows Update Diagnostic reports that the Windows Update service registration is missing or corrupt, which it failed to fix as well, if this means anything.


Solution 1:

I've fixed this "Error: 0x800f081f" affecting a PC with Window 10 Pro-32 by running

DISM /Online /Cleanup-Image /RestoreHealth /source:WIM:E:\sources\Install.wim:1 /LimitAccess

Only the Windows 10 ISO downloaded from Techbench and mounted in E: with Daemon Tools worked. Other ISO downloaded with Windows 10 media-creation-tool did not work at all, returning the same error 0x800f081f, even when converted from the embedded ESD format to WIM, using NTlite, and mounted using either Daemon Tools or DISM GUI.

Also all other attempts to fix the error from Windows Update Live had not worked before, always returning same error 0x800f081f, i.e. by using:

DISM /Online /Cleanup-Image /RestoreHealth

Update 08/08/2016: As Techbench link above no longer works please give a try to the following link (note that I have not tested yet if it is the same kind of ISO which was formerly available from Techbench. Please report your results):

https://www.microsoft.com/en-us/software-download/windows10ISO/

Solution 2:

I've fixed the same problem by running DISM /Online /Cleanup-Image /RestoreHealth /source:WIM:C:\Users\User\Downloads\Install.wim:1 /LimitAccess against an updated Install.wim with the latest Windows 10 Cumulative Update slipstreamed (KB3081452 and KB3095020 at the time of this post). There's no need to repackage an .ISO.

Basically, I followed the "Add updates to customized Windows" guide from Microsoft itself:

md C:\mount\Windows

Dism /Mount-Image /ImageFile:"C:\Images\install.wim" /Index:1 /MountDir:C:\mount\Windows

Dism /Add-Package /Image:C:\mount\Windows /PackagePath:C:\MSU\Windows10-KBxxxxxxx-x64.msu /LogPath:AddPackage.log

Dism /Unmount-Image /MountDir:C:\mount\Windows /Commit

Those who don't have a copy of the original un-encrypted Install.wim file may find this and this helpful.

Updated, I did another in-place upgrade on two other household PCs, Windows 8.1 -> Windows 10 x64, using the Media Creation Tool and the "Keep nothing" option. After installing all updates (including the latest cumulative update KB3093266), both PC failed the "sfc /scannow" test and the "dism /Online /Cleanup-Image /RestoreHealth" recovery, same error 0x800f081f.

So, I repeated the procedure described above, this time using a Windows 10 ISO from TechBench and slipstreaming the KB3093266 MSU into its install.wim. Problem fixed.

Updated, the issue re-surfaced after upgrading to Windows 10 Version 10.0.10586.0 (November 2015 Update + latest cumulative update). This time, I simply downloaded the latest ISO from TechBench, mounted it and executed DISM /Online /Cleanup-Image /RestoreHealth /source:WIM:E:\Sources\Install.wim:1 /LimitAccess, then sfc /scannow. Apparently, there's no need to slipstream the latest cumulative update.

Updated, the issue re-surfaced once again on a different PC. This time I coudn't find the ISO (has TechBench gone?), so I had to use the Media Creation Tool, create a USB drive installation, then convert install.esd into install.wim:

dism /export-image /SourceImageFile:d:\sources\install.esd /SourceIndex:1 /DestinationImageFile:c:\temp\install.wim /Compress:fast

Then repair the image using Windows Update as backup (i.e., without /LimitAccess):

dism /Online /Cleanup-Image /RestoreHealth /source:WIM:C:\temp\install.wim:1.

Then repair the system files:

sfc /scannow.

Solution 3:

Don't use the parameter /source:WIM:X:\Sources\Install.wim:1 /LimitAccess. Windows 10 has version 10.0.10240.16384 and the corrupted file has version 10.0.10240.16397. So the file is not part of the Install.wim. Without the /source parameter DISM will download the corrupted files from WindowsUpdate and replace them.

Solution 4:

I had the same problem, tried with the other solutions in this post but none worked.

This one worked:

  1. download Windows 10 ISO from Techbench

  2. mount the iso

  3. assuming D is the drive letter of the mounted iso, run the following in an elevated command prompt:

    Dism /online /enable-feature /featurename:NetFX3 /All /Source:D:\sources\sxs /LimitAccess