Read: DISM vs SFC first? What should I run first?
Windows Component Store Corrupt
How to Run DISM in Windows 11/10
You can repair Windows System Image using the DISM tool. If a Windows image becomes unserviceable, you can use the Deployment Imaging and Servicing Management (DISM) tool to update the files and correct the problem. In the case of system inconsistencies and corruption, you can use the DISM tool by using the Cleanup-Image functionality along with these available switches. Use Dism /Online /Cleanup-Image followed by these switches:
1] /ScanHealth
This checks for component store corruption and records that corruption to the C:\Windows\Logs\CBS\CBS.log but no corruption is fixed using this switch. This is useful for logging what, if any, corruption exists. Use: This could take 10-15 minutes.
2] /CheckHealth
This checks to see if a component corruption marker is already present in the registry. This is merely a way to see if corruption currently exists. Think of it as a read-only CHKDSK. Use: This could take less than a minute.
3] /RestoreHealth
This checks for component store corruption, records the corruption to C:\Windows\Logs\CBS\CBS.log and FIXES the corruption using Windows Update. Use: This operation takes 15 mins or more, depending on the level of corruption. To carry out these operations, you have to open an elevated Command Prompt. First, you have to check if there are corruptions and if the corruption or image is repairable. If yes, you can use the /RestoreHealth switch to fix the corruption.
TIP: Fix corrupted Windows Update system files using DISM Tool. You can use this: Incidentally, our freeware FixWin for Windows lets you repair the Windows Component Store, with a click. Windows Software Repair Tool from Microsoft will repair system components and detect corrupt files, resync System date and Time, reset System Settings, reinstall System Applications and run the DISM Tool to repair system image, with a click. Read: How to view DISM log files on Windows See this post if you receive a DISM fails The source files could not be found error message. You can also run DISM Offline to repair Windows 11/10 System Image backup. Additional reads: