To check if an image is repairable
1. Scan the image to check for corruption. This operation will take several minutes. For example, at a command prompt, type the following command:
Dism /Online /Cleanup-Image /ScanHealth
2. Check the image to see whether any corruption has been detected. For example, at a command prompt, type:
Dism /Online /Cleanup-Image /CheckHealth
When you use the /CheckHealth argument, the DISM tool will report whether the image is healthy, repairable, or non-repairable. If the image is non-repairable, you should discard the image and start again. If the image is repairable, you can use the /RestoreHealth argument to repair the image.
ASKER
ASKER
ASKER
You can run scanhealth & restore health at the same time like thisSo, as I understand it, one checks for flags and the other checks for corruption (more directly?)
DISM.exe /Online /Cleanup-image /Scanhealth && DISM.exe /Online /Cleanup-image /Restorehealth
ASKER
This topic area includes legacy versions of Windows prior to Windows 2000: Windows 3/3.1, Windows 95 and Windows 98, plus any other Windows-related versions including Windows Mobile.
TRUSTED BY