DISM repair
Deployment Image Servicing and Management (DISM). Windows 7 and later has a utility that may resolve problems. But with anything the fix could be worse than the cure! Use with care!
Dism /Online /Cleanup-Image /CheckHealth
Dism /Online /Cleanup-Image /ScanHealth
Dism /Online /Cleanup-Image /RestoreHealth
/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 - This switch option checks for component store
corruption, records the corruption to the log file, and FIXES the
image corruption using Windows Update. This could take around an hour
or more to finish depending on the level of
corruption.
Microsoft technical articles: What is DISM, Command line options, Repairing Windows,