Windows 10 DISM cannot find files, even with ISO mounted

3

After running sfc /SCANNOW in my Windows 10 Pro installation, and getting

"Windows Resource Protection found corrupt files but was unable to fix some of them. Details are included in the CBS.Log windir\Logs\CBS\CBS.log."

I tried to follow the steps here: http://answers.microsoft.com/en-us/windows/wiki/windows_10-update/system-file-check-sfc-scan-and-repair-system-files/bc609315-da1f-4775-812c-695b60477a93

and here http://www.tenforums.com/tutorials/7808-dism-repair-windows-10-image.html

After having created the Windows 10 ISO using the Media Creation Tool and running this command:

DISM /Online /Cleanup-Image /RestoreHealth /Source:esd:G:\sources\install.esd:1 (I have tried to include /LimitAccess to no avail)

I am still getting errors,

"Error: 0x800f081f

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."

I have tried to reboot, but it is still not fixing anything. (Of course, these commands are being run as administrator).

I could upload the DISM.log file if necessary. The only similar question I could find was this one Windows 8.1 Dism can't find source even when ISO mounted but it refers to a Windows 8 problem and the updates that are suggested are specific to that OS.

windows
dism
sfc
asked on Super User Jan 31, 2016 by vagaerg • edited Mar 20, 2017 by Community

2 Answers

3

Finally solved it. As I could find out here Windows 10 DISM error: 0x800f081f the ISO created by the Windows 10 Media Creation tool does not work with DISM. I downloaded one from Techbench and managed to use DISM with that one.

I do not know whether it is the fact that the ISO created by the Tool has an ESD file instead of a WIM one, but changing the ISO to the Techbench one (which uses a WIM file instead) and using the adapted command DISM /Online /Cleanup-Image /RestoreHealth /Source:WIM:G:\sources\install.wim:1 did the trick

I cannot accept my own answer for 2 days, so will have to wait to mark this as answered

answered on Super User Jan 31, 2016 by vagaerg • edited Mar 20, 2017 by Community
0

So, I was having the same problem, and I was able to solve it using the following method.
I downloaded the Windows Image (ISO) using the Microsoft website. Therefore, I did not want to download another image using a third party website.

To solve this, try following these steps.

  • Download the Windows Image
  • Extract it to a Local Drive. (For example E:/)
  • Make sure it has all the necessary permissions.
  • Make sure your command is correct. (E.g.: Drive Letter, Index number, etc)
  • Try it now.

If it doesn't work, create a new administrator account and try again.  


Commands:

  • SFC /SCANNOW
  • DISM /Get-WimInfo /WimFile:G:\WinISO\sources\install.wim
  • DISM /Online /Cleanup-Image /RestoreHealth /source:WIM:X:\WinISO\sources\install.wim:1 /LimitAccess

If you're not certain about the command, please check these websites.

To check the index number, run this command.
DISM /Get-WimInfo /WimFile:X:\WinISO\sources\install.wim
( 'X:\WinISO\sources\install.wim' - This should be replaced)

Screenshot


Download Microsoft Windows:

answered on Super User Dec 2, 2020 by DxTx

User contributions licensed under CC BY-SA 3.0