Trying to run DISM RestoreHealth on Win 10 offline
Posted on 2016-07-29
I have a machine running Win 10 that I am told was fine until one day it wouldn't boot. I've tried my normal steps (safe mode, system restore, bootrec) without success. From the CMD prompt (in PE) I ran sfc /scannow and it indicated that there were errors it could not fix. Since this was from PE, it didn't make a log file.
I tried to use DISM, but have been unsuccessful. I've not run DISM in the offline mode before, so this could just be a simple error on my part.
The command I used was:
DISM.exe /Image:d:\ /Cleanup-image /Restorehealth /Source:d:\w10\install.wim /LimitAccess /scratchdir:d:\scratch
D: is the drive with the Windows installation. I've used three different copies of install.wim: from the ISO created with the latest Media Creation Tool as well as two recent copies (Pro and Home). All are 64-bit as is the failed system.
I did create the D:\scratch folder in response to a message that the scratch folder may not be large enough.
The command jumps right to 20%, then churns away for a while (5-10 minutes?) then a window pops up with the error: The exception unknown software exception (0xc0000420) occurred in the application at location 0x00007FFCC8414720.
The location isn't always exactly the same number, but I believe it's the same up to the 7FF.
What I found on the error code was that it had to do with incorrect versions, which is why I tried several different install.wim files.
Do I have the syntax wrong? Otherwise, what do I need to do to get DISM to attempt a RestoreHealth?