Is it possible to use a Windows installation USB drive as the source for DISM? The USB installer was created using Microsoft's Media Creation Tool.
This MS article states:
You can use a mounted Windows image from a WIM file as a source to restore optional features and repair a corrupted operating system.
The answer in this thread says to use the install.wim
file on the installation media.
4.1
DISM /Online /Cleanup-Image /RestoreHealth /source:WIM:X:\Sources\Install.wim:1 /LimitAccess
But on a USB installation media, the file is called boot.wim
, not install.wim
.
I tried the syntax as in that thread:
DISM /Online /Cleanup-Image /RestoreHealth /Source:WIM:F:\sources\boot.wim /LimitAccess
and got
Error: 87 An error occurred while processing WIM:F:\sources\boot.wim. The specified path was not found.
This article states i can mount the .wim file, and point to the Windows directory inside it. That failed too:
DISM /Online /Cleanup-Image /RestoreHealth /Source:C:\bootwim\Windows /LimitAccess
gave:
Error: 0x800f081f
The source files could not be found.
What am i doing wrong?
(Note, plz let me know if this is the wrong group for this question. I was told the only choices for Windows questions are ServerFault, and SuperUser. SuperUser is described as "for computer enthusiasts", and i think this question is beyond "computer enthusiast" level.)