Dism /Online /Cleanup-Image /AnalyzeComponentStore
Dism /Online /Cleanup-Image /ScanHealth
Dism /Online /Cleanup-Image /StartComponentCleanup /ResetBase
To restorehealth using a source - you need to mount an install.wim from the setup media and use it as a source for the files
Thanks for replying. I am not a computer wizard and the last line was unclear. I copied the command from the text file to an elevated Command Prompt.
It came back with the component store is repairable. The operation completed successfully. What would you like to attempt to restore image health.
With some choices then I got stuck. Please see below for the full results.
cho.
echo ===========================================================================
====
===============================================================================
echo. Scanning the online image for corruption. This will take several minutes
Scanning the online image for corruption. This will take several minutes
echo. DISM will report whether the image is healthy, repairable, or non-repairab
le
DISM will report whether the image is healthy, repairable, or non-repairable
echo. If the image is non-repairable, you should discard the image and start aga
in
If the image is non-repairable, you should discard the image and start again
echo ===========================================================================
====
===============================================================================
Dism /Online /Cleanup-Image /ScanHealth
Deployment Image Servicing and Management tool
Version: 6.3.9600.17031
Image Version: 6.3.9600.17031
[==========================100.0%==========================]
The component store is repairable.
The operation completed successfully.
echo.
echo ===========================================================================
====
===============================================================================
echo.
echo. WHAT WOULD YOU LIKE TO ATTEMPT TO RESTORE IMAGE HEALTH?
WHAT WOULD YOU LIKE TO ATTEMPT TO RESTORE IMAGE HEALTH?
echo.
echo ===========================================================================
====
===============================================================================
choice /c YN /n /m "(Y)ES, OR (N)O: "
(Y)ES, OR (N)O: Y
(Y)ES
ES was unexpected at this time.
Y