I read the following article:
“Doing the Restore Health Command is better than SFC /SCANNOW
•Open an Admin Command Box and type one of the following to run DISM in the manner you choose:
•Dism /Online /Cleanup-Image /CheckHealth
•Dism /Online /Cleanup-Image /ScanHealth
•Dism /Online /Cleanup-Image /RestoreHealth
I don’t have a clue what the difference is between the ScanHealth and CheckHealth switches are. You may do some research if you like. Regardless, it may take some time to run, from a few minutes to many depending on your system. If I remember right, it took about 15 minutes or so for mine to complete.
Update 9/20 – One of our readers, B, offered this very helpful information:
“/CheckHealth – This switch option only checks to see if a component corruption marker is already present in the registry. It is just a quick way to see if corruption currently exists, and to inform you if there is corruption. It does not fix anything or create a log. This should be finished almost instantaneous.
/ScanHealth – This switch option does not fix any corruption. It only checks for component store corruption and records that corruption to the log file. This is useful for only logging what, if any, corruption exists. This should take around 5-10 minutes to finish.
/RestoreHealth – (recommended) This switch option checks for component store corruption, records the corruption to the log file, and FIXES the image corruption using Windows Update. This should take around 10-15 minutes up to about an hour to finish depending on the level of corruption”.
I tried to use the RestoreHealth command, but was told that “this option is not recognized in this context”. I am not sure what this means, and if someone could explain this and tell me how to get around this problem I would be grateful.
On a related point, whenever I run command prompt it opens as an Administrator. Clutching at straws I tried to run the RestoreHealth command as a non administrator but was unable to. The cmd.exe file in system 32 opens an administrator command prompt. Advice on this would also be appreciated.
Thanks and regards, Roy