One of our readers posted a question related to corruption in the Component Store of Windows 8. The Component store is a core feature of Windows 8.1, Windows 8, Windows 7 and Vista which stores all of the system files related to the OS grouped by components and as hardlinks (since files are shared between two components). When the OS is serviced, the component store is updated. It is part of Windows Imaging and Servicing stack. If you got the error 14098 'The component store has been corrupted', it means that something went wrong with Windows updates and its packages. Thankfully, Windows 8 has all the necessary tools to fix this issue.
To fix the component store, you can use DISM - Deployment Image Servicing and Management tool. It is a console utility which comes with Windows 8 out of the box.
The repair can be done using command line switches of DISM:
/CheckHealth: This checks to see if a component corruption marker is already present in the Registry. It will show if there is corruption but nothing is fixed or logged anywhere. This option can be used as a quick way of seeing if corruption currently exists or not.
/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 that corruption has occurred.
/RestoreHealth: This checks for component store corruption, records the corruption to C:\Windows\Logs\CBS\CBS.log and fixes the corruption using Windows Update or using your Windows installation source. This operation takes approximately 10-15 minutes or more depending on the level of corruption and the speed of your computer.
In short, the first two options just inform you about corruption, and only the last one does the actual repair. So, to fix the component store corruption, you need to do the following:
- Open the command prompt as administrator (see all ways to open an elevated command prompt)
- Type the following command:
Dism /Online /Cleanup-Image /RestoreHealth
That's it. Tell us in the comments if running DISM fixed your corrupted Component Store.