I have not been able to find what I consider to be "good documentation" of the DISM command (and, yes, I've done multiple web searches). The following (or very similar) has been posted on these forums multiple times, and by several different members with regard to DISM:
Then please run the following DISM commands to see if there's any problems with the system (from an elevated (Run as administrator) Command Prompt). Press Enter after each one:
DISM /Online /Cleanup-Image /ScanHealth
DISM /Online /Cleanup-Image /CheckHealth
DISM /Online /Cleanup-Image /RestoreHealth
FYI - I have repaired systems using the last command even though problems weren't found with the first 2 - so I suggest running them all.
I have actually run these all just to have been through it. It seems to me, based on my own experience, that the "RestoreHealth" version is, for lack of a better term, comprehensive and obviates the need to do either of the first two. If there's something amiss the RestoreHealth run will identify it and repair it if possible.
It's been a couple of weeks, but if memory serves the degree of thoroughness in the DISM hierarchy seemed to be:
- CheckHealth - which by all appearances was a "quick scan" to identify if something might be obviously wrong
- ScanHealth - which appeared to be a "deep scan" to identify if something less obvious might be wrong
- RestoreHealth - which appeared to be a "deep scan" and repair function
I have not, however, been able to confirm my presumptions regarding the three switches due to sketchy documentation that is all I've been able to find.
If anyone knows of a really good web page or downloadable documentation for DISM would you please post the link(s)?