How To Use DISM.exe To Repair Component Store Corruption in Windows 11

DISM ( Deployment Image Servicing and Management ) is a Windows built-in command-line tool that assists us in troubleshooting and debugging various system and image corruptions. Most users use this when Windows is performing abnormally with multiple errors or when even after installing the required updates, windows keeps telling there are updates that are pending. In this article, we will tell you how to repair the Component Store Corrupt Issue using DISM.

Component Store Corruption and Repairing in Windows 11

The Component Store is a place that stores all the Windows System Files grouped as components and hard links. When these system files become corrupt, the component store also gets corrupted. When the Component Store gets corrupted, you will face many issues with your Windows like not updating to Windows Store, error codes with programs, or simply specific programs not starting anymore.

When the Component Store becomes corrupt, the system file checker will not be able to restore these system files. This is when DISM comes into the picture and helps in fixing the Windows Component Store Corruption. Let us get down and look at how it is done.
NOTE: The process takes a considerable amount of time, and cannot be interrupted once started.

Run an SFC Scan

Step 1: In the search tab, type Command Prompt and click on Run as Administrator. This is the Elevated Command Prompt.
Cmd Admin
NOTE: You will receive a User Account Control Prompt. Click Yes.
Step 2: Now, type the command given below and hit Enter. Wait for the result.
sfc /scannow


Sfc Scan


  • If you get the message saying “Windows Resource Protection did not find any integrity violations”, this says that no system files were damaged or corrupted. The problem you are having maybe because of other reasons.


Sfc Scan Complete


  • If you get the message saying “Windows Resource Protection found corrupted files and successfully repaired them”. This tells us that the damaged or corrupt system files were found and repaired.


Sfc Scan Error1


  • If you get the message saying “Windows Resource Protection found corrupted files but was unable to fix some of them”. This tells us that the command could not repair the corrupt files though it found them.

Sfc Scan Error2


Step 3: After running the above command, even if the problem still exists, run the DISM Restore Health to repair the damage.

Run DISM to find and fix Corrupted Component Store

NOTE: Run this step directly when you are sure that there is a problem and SFC does not detect it or Windows keeps telling you that there are updates even after installing them.

Step 4: Now, type the second command given below and hit Enter.
Dism /Online /Cleanup-Image /RestoreHealth
Step 5: The process will begin to scan and try to fix the problem.
Restorehealth Verify
NOTE: It is very common for the process to get stuck mostly at 20 percent, just give some time for the process to complete.
Step 6: After some time, you will get a message saying ” The Restore Operation Completed Successfully”. The repair operations are done automatically and the operational results are written to cbs.log and dism.log files.
Restorehealth Verify
Step 7: Sometimes, the RestoreHealth command fails to run, you will get an error. Go to Step 8 if you get an error.
Step 8: Now, type the command given below and hit Enter.
Dism /Online /Cleanup-Image /StartComponentCleanup
Cleanup Cmd
Step 9: This command will repair any corrupted Component Store and its issues.
Step 10: Once done, type exit and close the command prompt.
Cmd Exit
Step 11: Restart your system.
Step 12: You can run the SFC scan command again to see if the issue is resolved.
That’s all.
Hope this article has helped you in resolving the issues related to Component Store successfully.
Thanks for Reading.