Windows update fail ERROR_SXS_COMPONENT_STORE_CORRUPT
Coming from this thread. But my issue is with Windows 7 Home Premium 64 bit. http://social.technet.microsoft.com/Forums/en/winservergen/thread/67f1db3b-318e-4250-916c-b0ae4e9012a8 I have 2 windows update that can never get installed. They give the following error 1. Installation Failure: Windows failed to install the following update with error 0x80070643: Security Update for Microsoft Visual C++ 2008 Service Pack 1 Redistributable Package (KB2538243). 2. Installation Failure: Windows failed to install the following update with error 0x80070643: Security Update for Microsoft Visual Studio 2010 XML Editor (KB2251489). CBS.log file in C:/Windows/Logs/CBS/ have this error (a lot of them since I have been trying to install the fail updates for like half a year, maybe more) [gle=0x80004005] 2011-07-11 10:58:20, Info CBS Failed to get CSI store. [HRESULT = 0x80073712 - ERROR_SXS_COMPONENT_STORE_CORRUPT] 2011-07-11 10:58:20, Error CBS Failed to initialize store parameters with boot drive: and windows directory: [HRESULT = 0x80073712 - ERROR_SXS_COMPONENT_STORE_CORRUPT] 2011-07-11 10:58:20, Info CSI 000003b4 No store version format found; DLL store format 0.0.0.6 2011-07-11 10:58:20, Error CSI 000003b5@2011/7/11:02:58:20.145 (F) d:\w7rtm\base\wcp\componentstore\storelayout.cpp(6636): Error STATUS_SXS_COMPONENT_STORE_CORRUPT originated in function ComponentStore::CRawStoreLayout::OpenCanonicalDataKey expression: (null) Recently I.E. 9 update can not be installed (tried both windows update & manual install). So this just become something serious. From my troubleshooting, it points to a corrupt .Net framework. Unfortunately there is no way to simply repair .Net framework 2.0, 3.0 and 3.5 on windows 7 since they are core component installed with the OS. (Bad decision by MS?) IMHO this is the root cause for this problem. Base on internet search there are lots of other case that end up as unresolved! Note that I have tried using dotnetfx_cleanup_tool ( version 6.0.3790.0). Only to conclude from the log files that for Windows 7. The framework mentioned above never get removed. Hence the premise behind the tool is misdirection. The tool just say cleanup is successful without any visible indicator of saying otherwise. Should warn about it not being able to clean up core .Net Framework. I have try a lot of troubleshooting step from Technet & Support.Microsoft.com. This is where I am stuck now. Which I think is the most relevant at this stage Repair Corrupt .Net 2.0 & 3.0 Open CMD as administrator and run: C:\Windows\system32>sfc /scannow Beginning system scan. This process will take some time. Windows Resource Protection could not perform the requested operation. So this means I can not refer to CBS.log and checksur.log for corrupt file. In fact checksur.log just say Summary: Seconds executed: 19 Found 1 errors CSI Unable to Query Store Version Total count: 1 Which just repeating back the error in CBS.log Need help on the following A. From the previous thread, according to Tim Quan (<abbr class="affil">Microsoft Contingent Staff</abbr><abbr class="affil">, Moderator).</abbr> From the log, there are quite a lot of files missing or corrupt on your system. I am afraid that you may need to perform an in-place upgrade or reinstall the system. Reinstall the system is not an option (development machine, need the Visual Studio. Too much environment need to set up if reinstall, etc). So please let me know what is and how to do "In place upgrade". I have seen this term being thrown around without any explanation. B. The real solution is a tool to really clean up and repair the core of windows, be it .Net Framework or whatever else. This is really sorely missing from Windows. Consider that people say Unix/Linux is complicated and hard to maintain. When the fact is to do the same on Unix/Linux is just several shell command. Anticipating respond from MS staff or MVP regarding this issue on how to do B. The old ways (Circa Windos 98) is to do a repair install using install CD, which I have. But I don't think that the CD have repair install option. Cheers and TIA! * Edited to clarify on Win7 install CD don't have repair install functionality.
July 11th, 2011 12:38am
To answer my own question and follow through with the progress so far. A. As to what and how to do inplace upgrade http://support.microsoft.com/kb/2255099 B. Real solution is a tool to really clean up and repair the core of windows? Yes, it does an upgrade install to existing & currently running OS. Does inplace upgrade solve my problem? !!! NO !!! It fails at gathering files, settings and programs stage. With the following error: "Setup can't continue. Restart the computer and restart Setup. When prompted, try getting the latest updates." Tried 3 times Latest update is already checked CBS log have more of ERROR_SXS_COMPONENT_STORE_CORRUPT every time the in place upgrade install is done. One crappy operating system. That is my opinion now.
July 12th, 2011 10:33pm
This is basically the same problem I have. I was able to get some programs that need .net to work by manually replacing "mscoree.dll" with an updated version, but in general a lot of stuff just won't update or install. This is a major pain in the ass, and I need a solution that doesn't involve reformatting. I bought this machine from HP, and they didn't provide a win7 disk.
August 13th, 2011 7:46am
I have the exact same problems, and tried the exact same steps to resolve, and am left in the exact same state. Microsoft? Do you have anything to add? I'm in the same boat--reinstall is not an option. There has to be a way to fix this.
September 22nd, 2011 5:54pm
Same here. I have the exact same problem and i feel like i have tried everything that is recommended besides a reinstall, in place upgrade doesn't work. Someone please help.
January 18th, 2012 2:25pm
Me too. I've been through this with Microsoft and they have told me the only solution is to reinstall. That is NOT an option I have either. I see the last coment was in January, has anyone else figiured out a solution yet?
May 3rd, 2012 1:54pm
Uh oh, I'm in the same boat ... Windows 7 64-bit, none of the fixits work, can't run sfc /scannow or do the inplace upgrade as I get the same errors everyone else reports. STATUS_SXS_COMPONENT_STORE_CORRUPT is a total showstopper, sounds like a half-baked feature! I see the original reporter of this bug posted in 2011. Unacceptable there is no authoritative fix as of yet! I agree with others, I won't be reinstalling Windows any time soon, I've got too much invested in my install! All my software and software installs work perfectly, only Windows Update and Add/Remove Windows Components seems to be having fits... I notice a pattern with a lot of the people replying to this thread: they're developers with developer boxes and software installs. Some .Net install botched our component stores? How is it possible in a modern operating system there isn't a way to detect and drop the corrupt metadata/files/frames/tables/whatever and get back to a repairable state? Who's in charge up there?? I'm just going to run unpatched until a fix arrives, which I expect will arrive someday real soon now. Here's what I want: give me a fixit or a manual process to clear the component store enough to allow me to actually complete the inplace upgrade (which seems like the only method that has a prayer of repairing our installs.) I guarantee Windows 7 will be my last version of windows if no fix ever materializes to this microsoft-engineered bug/corruption. I'm not going to put up with rubbish.
August 24th, 2012 11:52pm