Corrupt component store, error 80040154 in Windows Update

Several

Member
Joined
Mar 29, 2019
Posts
14
Hi Guys!

Experiencing issues on a Windows 7 device which cause various elements to stop working. The system has internet access (it does download updates), but it unable to install them. Using a browser like Chrome to visit sites is impossible because of https certificate errors. IE opens, goes into waiting mode and then crashes.

Ran various mallware/virusscanners, but to no avail.
Ran SFC /scannow, but it quits at 21% stating it is unable to fix some errors.
Downloaded and ran KB947821 (SURT). The log shows issues with the componentstore. Not sure how to go from here since I don't know how to restore the missing files. Added the logs to this post.

Any help is appreciated!
 

Attachments

Ran SFCFix but ran into multiple issues:
  • While internet does seem to work for the retrieval of windows updates, it doesn't work for SFCFix (it can't connect).
  • Got a Failed to create zip file with errorno 2 error.
  • This device doesn't have a DVD player so I can't use the windows resource disk.
Here is the CBS.zip CBS.zip
 

Attachments

Hello and welcome!


SFCFix Script

Warning: this fix is specific to the user in this thread. No one else should follow these instructions as it may cause more harm than good. If you are after assistance, please start a thread of your own.


  1. Download SFCFix.exe (by niemiro) and save this to your Desktop.
  2. Download the file below, SFCFix.zip, and save this to your Desktop. Ensure that this file is named SFCFix.zip - do not rename it.
  3. Save any open documents and close all open windows.
  4. On your Desktop, you should see two files: SFCFix.exe and SFCFix.zip.
  5. Drag the file SFCFix.zip onto the file SFCFix.exe and release it.
  6. SFCFix will now process the script.
  7. Upon completion, a file should be created on your Desktop: SFCFix.txt.
  8. Copy (Ctrl+C) and Paste (Ctrl+V) the contents of this file into your next post for me to analyse please - put [CODE][/CODE] tags around the log to break up the text.

Afterwards, run System Update Readiness Tool again and attach CheckSUR.log.
 

Attachments

Ran the fix. Here is the result:

Code:
SFCFix version 3.0.1.0 by niemiro.
Start time: 2019-03-30 10:56:26.173
Microsoft Windows 7 Service Pack 1 - amd64
Using .zip script file at C:\Users\Administrator\Desktop\winiso-5.3\SFCFix.zip []




PowerCopy::
Successfully took permissions for file or folder C:\Windows\Temp\CheckSur\WinSxS\Manifests

Successfully copied file C:\Users\Administrator\AppData\Local\niemiro\Archive\Manifests\amd64_0b0cba6b175fc40a2cf27a99c710002b_31bf3856ad364e35_7.1.7601.18741_none_9a96ffc438a1743b.manifest to C:\Windows\Temp\CheckSur\WinSxS\Manifests\amd64_0b0cba6b175fc40a2cf27a99c710002b_31bf3856ad364e35_7.1.7601.18741_none_9a96ffc438a1743b.manifest.
Successfully copied file C:\Users\Administrator\AppData\Local\niemiro\Archive\Manifests\amd64_827a87bfe20dc02c40460d83b102cca9_31bf3856ad364e35_6.1.7601.23120_none_795cd643bb1e6ce6.manifest to C:\Windows\Temp\CheckSur\WinSxS\Manifests\amd64_827a87bfe20dc02c40460d83b102cca9_31bf3856ad364e35_6.1.7601.23120_none_795cd643bb1e6ce6.manifest.
Successfully copied file C:\Users\Administrator\AppData\Local\niemiro\Archive\Manifests\amd64_microsoft-windows-codeintegrity_31bf3856ad364e35_6.1.7601.24059_none_ff01057e34995ac1.manifest to C:\Windows\Temp\CheckSur\WinSxS\Manifests\amd64_microsoft-windows-codeintegrity_31bf3856ad364e35_6.1.7601.24059_none_ff01057e34995ac1.manifest.
Successfully copied file C:\Users\Administrator\AppData\Local\niemiro\Archive\Manifests\amd64_microsoft-windows-i..trolpanel.resources_31bf3856ad364e35_11.2.9600.18977_en-us_04b0c4cffd5e3fc9.manifest to C:\Windows\Temp\CheckSur\WinSxS\Manifests\amd64_microsoft-windows-i..trolpanel.resources_31bf3856ad364e35_11.2.9600.18977_en-us_04b0c4cffd5e3fc9.manifest.
Successfully copied file C:\Users\Administrator\AppData\Local\niemiro\Archive\Manifests\amd64_microsoft-windows-kernel32_31bf3856ad364e35_6.1.7601.24000_none_f274068386048f65.manifest to C:\Windows\Temp\CheckSur\WinSxS\Manifests\amd64_microsoft-windows-kernel32_31bf3856ad364e35_6.1.7601.24000_none_f274068386048f65.manifest.
Successfully copied file C:\Users\Administrator\AppData\Local\niemiro\Archive\Manifests\amd64_microsoft-windows-lsa.resources_31bf3856ad364e35_6.1.7601.23136_en-us_e543a039c6672d41.manifest to C:\Windows\Temp\CheckSur\WinSxS\Manifests\amd64_microsoft-windows-lsa.resources_31bf3856ad364e35_6.1.7601.23136_en-us_e543a039c6672d41.manifest.
Successfully copied file C:\Users\Administrator\AppData\Local\niemiro\Archive\Manifests\amd64_microsoft-windows-systemrestore-main_31bf3856ad364e35_6.1.7601.24117_none_a5922529e2f9cf59.manifest to C:\Windows\Temp\CheckSur\WinSxS\Manifests\amd64_microsoft-windows-systemrestore-main_31bf3856ad364e35_6.1.7601.24117_none_a5922529e2f9cf59.manifest.
Successfully copied file C:\Users\Administrator\AppData\Local\niemiro\Archive\Manifests\amd64_mscorlib_b77a5c561934e089_6.1.7601.24113_none_3d9820e68329de37.manifest to C:\Windows\Temp\CheckSur\WinSxS\Manifests\amd64_mscorlib_b77a5c561934e089_6.1.7601.24113_none_3d9820e68329de37.manifest.
Successfully copied file C:\Users\Administrator\AppData\Local\niemiro\Archive\Manifests\wow64_microsoft-windows-kernelbase_31bf3856ad364e35_6.1.7601.24059_none_8fe036e618ce4910.manifest to C:\Windows\Temp\CheckSur\WinSxS\Manifests\wow64_microsoft-windows-kernelbase_31bf3856ad364e35_6.1.7601.24059_none_8fe036e618ce4910.manifest.
Successfully copied file C:\Users\Administrator\AppData\Local\niemiro\Archive\Manifests\x86_microsoft-windows-advapi32.resources_31bf3856ad364e35_6.1.7601.23807_en-us_1b2825f0282a0610.manifest to C:\Windows\Temp\CheckSur\WinSxS\Manifests\x86_microsoft-windows-advapi32.resources_31bf3856ad364e35_6.1.7601.23807_en-us_1b2825f0282a0610.manifest.
Successfully copied file C:\Users\Administrator\AppData\Local\niemiro\Archive\Manifests\x86_microsoft-windows-i..favorites.resources_31bf3856ad364e35_11.2.9600.19002_en-us_175f84c2c12d9c7b.manifest to C:\Windows\Temp\CheckSur\WinSxS\Manifests\x86_microsoft-windows-i..favorites.resources_31bf3856ad364e35_11.2.9600.19002_en-us_175f84c2c12d9c7b.manifest.
Successfully copied file C:\Users\Administrator\AppData\Local\niemiro\Archive\Manifests\x86_microsoft-windows-i..timezones.resources_31bf3856ad364e35_6.1.7601.24027_en-us_85fe39f6f92c0464.manifest to C:\Windows\Temp\CheckSur\WinSxS\Manifests\x86_microsoft-windows-i..timezones.resources_31bf3856ad364e35_6.1.7601.24027_en-us_85fe39f6f92c0464.manifest.
Successfully copied file C:\Users\Administrator\AppData\Local\niemiro\Archive\Manifests\x86_microsoft-windows-i..trolpanel.resources_31bf3856ad364e35_11.2.9600.18952_en-us_a8909aa045021bc0.manifest to C:\Windows\Temp\CheckSur\WinSxS\Manifests\x86_microsoft-windows-i..trolpanel.resources_31bf3856ad364e35_11.2.9600.18952_en-us_a8909aa045021bc0.manifest.
Successfully copied file C:\Users\Administrator\AppData\Local\niemiro\Archive\Manifests\x86_microsoft-windows-webservices_31bf3856ad364e35_6.1.7601.24146_none_10eea1e9a628da48.manifest to C:\Windows\Temp\CheckSur\WinSxS\Manifests\x86_microsoft-windows-webservices_31bf3856ad364e35_6.1.7601.24146_none_10eea1e9a628da48.manifest.
Successfully copied file C:\Users\Administrator\AppData\Local\niemiro\Archive\Manifests\x86_wpf-penimc_31bf3856ad364e35_6.1.7601.23744_none_ae217e307c2610fa.manifest to C:\Windows\Temp\CheckSur\WinSxS\Manifests\x86_wpf-penimc_31bf3856ad364e35_6.1.7601.23744_none_ae217e307c2610fa.manifest.

Successfully restored ownership for C:\Windows\Temp\CheckSur\WinSxS\Manifests
Successfully restored permissions on C:\Windows\Temp\CheckSur\WinSxS\Manifests
PowerCopy:: directive completed successfully.




Successfully processed all directives.
SFCFix version 3.0.1.0 by niemiro has completed.
Currently storing 1 datablocks.
Finish time: 2019-03-30 10:56:26.892
----------------------EOF-----------------------
 
I have Program Files and Program Files (x86) on my c: drive. Nothing special there I guess?
 
When I try looking for updates I get a 80040154 error.

Looking at the history I noticed that this one is continueously failing:

Code:
2019-02 Security and Quality Rollup for .NET Framework 3.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2 for Windows 7 and Server 2008 R2 for x64 (KB4487078)

Installation date: ‎30-‎3-‎2019 12:14

Installation status: Failed

Error details: Code 66A

Update type: Important

A security issue has been identified in a Microsoft software product that could affect your system. You can help protect your system by installing this update from Microsoft. For a complete listing of the issues that are included in this update, see the associated Microsoft Knowledge Base article. After you install this update, you may have to restart your system.

More information:
http://support.microsoft.com/kb/4487078

Help and Support:
http://support.microsoft.com

There are also 5 other updates it keeps installing over and over, which do not fail (Security updates).

Running the SP installer returns a Class not registered error regdb_e_classnotreg(0x80040154)
 
Last edited:
Any clue how to go from here? Making a backup from a similar system and restoring it here is probably not a good idea?
 
Managed to fix almost everything, sfc completes to 100%. It keeps saying it has stuff to fix, but has to reboot. After a reboot and running sfc again I keep running into the same message. SURT is clean. Added the latest CBS log.
 

Attachments

Code:
SFCFix version 3.0.1.0 by niemiro.
Start time: 2019-04-03 00:53:42.812
Microsoft Windows 7 Service Pack 1 - amd64
Not using a script file.




AutoAnalysis::
CORRUPT: C:\Windows\winsxs\amd64_microsoft-windows-bootres_31bf3856ad364e35_6.1.7601.17514_none_9d42c69298905ee5\bootres.dll


SUMMARY: Some corruptions could not be fixed automatically. Seek advice from helper or sysnative.com.
   CBS & SFC total detected corruption count:     1
   CBS & SFC total unimportant corruption count:  0
   CBS & SFC total fixed corruption count:        0
   SURT total detected corruption count:          0
   SURT total unimportant corruption count:       0
   SURT total fixed corruption count:             0
AutoAnalysis:: directive completed successfully.




Successfully processed all directives.



Failed to generate a complete zip file. Upload aborted.


SFCFix version 3.0.1.0 by niemiro has completed.
Currently storing 0 datablocks.
Finish time: 2019-04-03 01:07:26.664
----------------------EOF-----------------------

Almost there ^^
 
Yes!



SFCFix Script

Warning: this fix is specific to the user in this thread. No one else should follow these instructions as it may cause more harm than good. If you are after assistance, please start a thread of your own.


  1. Download SFCFix.exe (by niemiro) and save this to your Desktop.
  2. Download the file below, SFCFix.zip, and save this to your Desktop. Ensure that this file is named SFCFix.zip - do not rename it.
  3. Save any open documents and close all open windows.
  4. On your Desktop, you should see two files: SFCFix.exe and SFCFix.zip.
  5. Drag the file SFCFix.zip onto the file SFCFix.exe and release it.
  6. SFCFix will now process the script.
  7. Upon completion, a file should be created on your Desktop: SFCFix.txt.
  8. Copy (Ctrl+C) and Paste (Ctrl+V) the contents of this file into your next post for me to analyse please - put [CODE][/CODE] tags around the log to break up the text.



SFC Scan


  1. Click on the Start button and in the search box, type Command Prompt
  2. When you see Command Prompt on the list, right-click on it and select Run as administrator
  3. When command prompt opens, copy and paste the following commands into it, press enter after each

    sfc /scannow


    Wait for this to finish before you continue

    copy %windir%\logs\cbs\cbs.log "%userprofile%\Desktop\cbs.txt"
  4. This will create a file, cbs.txt on your Desktop. Please attach this to your next post.
 

Attachments

Has Sysnative Forums helped you? Please consider donating to help us support the site!

Back
Top