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.
Advertisеment
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
The /Online switch tells DISM to perform the repair on the currently booted OS.
That's it. Tell us in the comments if running DISM fixed your corrupted Component Store.
Support us
Winaero greatly relies on your support. You can help the site keep bringing you interesting and useful content and software by using these options:
If you like this article, please share it using the buttons below. It won't take a lot from you, but it will help us grow. Thanks for your support!
Advertisеment
This is a great find! It works very well, and will fix problems sfc /scannow can’t.
Glad to help you :)
Not working for me. checkhealth tells me the store is repairable, but restorehealth fails with error 14098 store is corrupted.
and it can’t seem to fix it. How do I delete the store completely and let it create a new one?
I get error 14098 in the command prompt for any attempt to try to fix the issue. It simply won’t work, so I can’t update my PC.
Unfortunately Dism /Online /Cleanup-Image /RestoreHealth doesn’t work here.
It simply reports: Error 14098 The Component Store has been corrupted.
Man-O-Man, After searching for hours and trying 40 different fixes this actually worked for me. I got that “the Component Store has been corrupted” error when I tried to add features back for media player and media center. But it was not the 14098 error it was Error 0x80073712. But this solution worked great. It takes about 10-15 minutes after you start it with no progress shown until it’s done. Thank you Sergey, it’s very much appreciated.
Thank you very much, I looked all over the web for a solution to the Apps not loading and this one repaired my component store and solved the problem.
You are welcome
Thank you, worked and restored Component Store on windows 8.1.
Went immediately to 20%, stuck there for about 4min, then jumped to 40% for a minute & finished successfully.
exact same behaviour for me. thanks Sergey.
I used sfc scannow and was told I had corrupted files
I ran DISM restore health was told files were fixed
Ran SFC again and files were still corrupted. DISM apparently didn’t work.
How do I fix this?
HP Envy I7 with 8GB 2TB hdd and Nvidia Optimus GT 740/Intel Win 8.1
Everywhere that I’ve looked for a solution to this problem just tells me to run /restorehealth. Well. I’ve run all three lines in elevated command prompt and all it does is return with error 14098.
It seems a few other people are having the same problem as well, and while I see responses to the people for whom this fix worked, I see not a single reply to those for whom it didn’t.
I get the same results. I did the Dism /Online /Cleanup-Image /RestoreHealth and all it does is return the Error: 14098 “The component store has been corrupted. My biggest concern is having to do a system restore, even though I won’t lose any files I will lose all the apps and software i have loaded and I will have to take days to get it all back. Please answer with a solution for all of these people my self-included that this solution doesn’t work.
I ran the instructions and continue to get the 14098 corruption error. No Windows updates will install.
When I run
dism /Online /Cleanup-image /Restorehealth
I get an error: 0x80240021
Digging in the internet I found someone saying that it is a good idea run
DISM.exe /Online /Cleanup-image /StartComponentCleanup
before the restorehealth. Then I did receive Error 14098. In the log it says HRESULT=80073712
And I still can’t find the fix.
Any ways to fix this Error in Windows 7. This Solution doesn’t works for me in Windows 7.
It simly though the error as
Error: 87
The restorehealth option is not recognized in this context.
The restorehelath option was added inWindows 8 and is not available in Windows 7
MANY THANKS!!!! Many hours of searching and this one works perfectly. Greeting from the Czech Republic. thanks
Don’t mention it.
Nice summary of existing Microsoft answers but now where is the solution to the perennial Error 14098 message?
Surely someone must know .. after all someone programmed the dammed operating systems.
Two laptops running 8.1 .. one ex Vista and one AMD64 new yet both suffer same issues with DISM or sfc …
one apple now two years old .. no problems…. ever !!!!
Even not working above solution for me..
The restore operation failed. Either the repair source was not found or the comp
onent store cannot be repaired.
Error: 0x800f081f
DISM failed. No operation was performed.
For more information, review the log file.
The DISM log file can be found at C:\WINDOWS\Logs\DISM\dism.log
it’s showing below error please help..!
Deployment Image Servicing and Management tool
Version: 10.0.18362.1
Image Version: 10.0.18363.418
[=== 5.6% ]
Error: 605
The specified buffer contains ill-formed data.
often happens in windows how much is it?