One potential secret to IT success is careful and judicious use of automation tools and technologies. But remember: automation is supposed to SAVE time and money, not spend it wildly or wastefully!
Most new computers with pre-installed operating system today are shipped with a so called factory recovery option which allows user to completely reset the computer by restoring an image stored in specific factory recovery partition. The problem with factory recovery is that it restores everything as the original equipment manufacturer (OEM) wants. This might include a bunch of “bloatware”, useless software like “30-day trial of XYZ” or “Tweak your PC with this fabulous tweaker” and so on. One of the first things any user wants to do when setting up a pre-installed Windows on a new computer is to get rid of all this bloatware.
For the DISM /Cleanup-Image command, the difference between Scanhealth and Checkhealth is one of depth and nature of coverage. Checkhealth simply looks for already-reported errors for component store items, while Scanhealth inspects each one in detail.