

and all of them completed successfully - the results were: However, this morning I booted into Windows and ran SFC /SCANNOW again just to make sure and I got this message:ĭism /Online /Cleanup-Image /RestoreHealth I was then able to boot into Windows and everything seems normal. I ran it several times and it then fixed the corrupt files and then finally it said ". Then, I ran SFC /SCANNOW and it said it found corrupt files but was unable to fix some of them. Should the command above have /Image:C:\Windows instead of /Image:C:\? Thanks for the suggestions guys - I think I fixed it but there are still a couple of issues.įirst, I extracted the install.wim file to a folder and then ran this command:ĭism /Image:C:\ /ScratchDir:C:\windows\temp /Cleanup-Image /RestoreHealth /Source:H:\temp\install\Windows /LimitAccess ĭism /online /Cleanup-Image /RestoreHealth /source:ESD:F:\Sources\Install.esd:6 /LimitAccessĪbove example uses the MCT install.esd index 6 for PRO Edition. The DISM "ONline" switch has little to do with being online, but more so with the actually online Image running. the install.esd created by MCT contains several indexed editions of Win10 Home, Pro, N etc. Thanks in advance.Where and how did you extract or obtain the install.wim from? It has to be the edition and version you are trying to repair. I'm running Win 10 19042.662 and I created a bootable USB with the same version - copied the install.wim file from there and it still gives me the error. I extracted the install.wim file to the root of the C:\ drive and then pointed to it using dism /Image:C:\ /Cleanup-Image /RestoreHealth /Source:C:\install.wim and even that gives me the Error 0x800f081f.

I can run /ScanHealth or /CheckHealth and that works fine but the moment I try to run /RestoreHealth, it says 'Error 0x800f081f: The source files could not be found' after around 55%.


However, since I can't boot into Windows, I have to go into CMD in Win PE (using installation media), but there I can't use the /Online tag since we can't go online. Usually, in Windows, I can just run dism /Online /Cleanup-Image /RestoreHealth and it works fine. I am having boot issues on my PC and so I need to fix the component store since I think the Windows files are corrupted.
