If damaged files are reported run up to 3 separate times to try to repair files.
If irreparable files remain then the image file they are compared against may need repair. To determine this run:
DISM /Online /Cleanup-Image /CheckHealth
If Component Store corruption is detected, this will tell you if it is irreparable or can be repaired:
DISM /Online /Cleanup-Image /ScanHealth
If the image is reparable, run:
Dism /Online /Cleanup-Image /RestoreHealth
If it prompts for Sources file, mount or insert Windows 10 installation media, locate install.wim or .esd file in Sources
folder, substitute it’s path in the following command:
Dism /Online /Cleanup-Image /RestoreHealth /Source:wim:Full Path to install.wim file:1
(for example: Dism /Online /Cleanup-Image /RestoreHealth /Source:wim:H:\Sources\Install.wim:1)
or if you have an .esd file
Dism /Online /Cleanup-Image /RestoreHealth /Source:esd:Full Path to install.esd file:1
It may take some fiddling to get these correct. Sometimes inserted media won't be read, but mounting the ISO file itself (by double-clicking) to use as source will. Proofread closely, watch spacing, ask back if you need help.
this makes no sense at all to me literally i'm beyond lost.
