A
Andy_247
I completed a successful restore of my windows image with the most recent Windows 10 Iso from Microsoft. Because I did not want to have to do a in-place upgrade to fix the image so I tried a step in the process I never tried before and it worked for me first time.
I did try using just the install.wim file as the source at first that failed. The second option I tried was I made a folder on the c drive to use as a mount folder. I mounted the the install.wim file using the index number for my version of windows. And used the mount folder as the source for the restore operation.
DISM Usage Steps I Made as an Example.
PS C:\Windows\system32> dism.exe /Mount-Wim /WimFile:C:\Win10_20H2_x64_en-gb\sources\install.wim /Index:6 /MountDir:C:\wmount
Deployment Image Servicing and Management tool
Version: 10.0.19041.844
Mounting image
The operation completed successfully.
PS C:\Windows\system32> dism.exe /online /cleanup-image /restorehealth /Source:C:\wmount\Windows
Deployment Image Servicing and Management tool
Version: 10.0.19041.844
Image Version: 10.0.19042.906
The restore operation completed successfully.
PS C:\Windows\system32> dism.exe /online /cleanup-image /scanhealth
No component store corruption detected.
The operation completed successfully.
PS C:\Windows\system32> sfc /scannow
Beginning verification phase of system scan.
Verification 100% complete.
Windows Resource Protection found corrupt files and successfully repaired them.
Did another rescan again.
PS C:\Windows\system32> sfc /scannow
Verification 100% complete.
Windows Resource Protection did not find any integrity violations.
Last of all don't forget to un-mount the Windows image in the mount folder after you have finished.
Continue reading...
I did try using just the install.wim file as the source at first that failed. The second option I tried was I made a folder on the c drive to use as a mount folder. I mounted the the install.wim file using the index number for my version of windows. And used the mount folder as the source for the restore operation.
DISM Usage Steps I Made as an Example.
PS C:\Windows\system32> dism.exe /Mount-Wim /WimFile:C:\Win10_20H2_x64_en-gb\sources\install.wim /Index:6 /MountDir:C:\wmount
Deployment Image Servicing and Management tool
Version: 10.0.19041.844
Mounting image
The operation completed successfully.
PS C:\Windows\system32> dism.exe /online /cleanup-image /restorehealth /Source:C:\wmount\Windows
Deployment Image Servicing and Management tool
Version: 10.0.19041.844
Image Version: 10.0.19042.906
The restore operation completed successfully.
PS C:\Windows\system32> dism.exe /online /cleanup-image /scanhealth
No component store corruption detected.
The operation completed successfully.
PS C:\Windows\system32> sfc /scannow
Beginning verification phase of system scan.
Verification 100% complete.
Windows Resource Protection found corrupt files and successfully repaired them.
Did another rescan again.
PS C:\Windows\system32> sfc /scannow
Verification 100% complete.
Windows Resource Protection did not find any integrity violations.
Last of all don't forget to un-mount the Windows image in the mount folder after you have finished.
Continue reading...