Win 10: Corrupt Components

zifix

Well-known member
Joined
May 27, 2018
Posts
60
Hi,
after having trouble with Virtual Box Guest Sound I stumbled into an unsigned dsound.dll, which sfc couldn't fix:
Code:
2018-05-27 20:48:06, Info                  CBS    TiWorker: Client requests SFP repair object.
2018-05-27 20:48:06, Info                  CSI    00000002@2018/5/27:18:48:06.573 WcpInitialize (wcp.dll version 0.0.0.6) called (stack @0x7ff94b2c4519 @0x7ff98f4d49db @0x7ff98f4d4b1e @0x7ff63307225d @0x7ff633073914 @0x7ff99a416d13)
2018-05-27 20:48:06, Info                  CBS    Failed to load the COMPONENTS hive from 'C:\WINDOWS\System32\config\COMPONENTS' into registry key 'HKLM\COMPONENTS'. [HRESULT = 0x800703f1 - ERROR_BADDB]
2018-05-27 20:48:06, Info                  CBS    Failed to load component store [HRESULT = 0x800703f1 - ERROR_BADDB]
2018-05-27 20:48:06, Info                  CSI    00000003 GetSystemStore called without loading components hive
2018-05-27 20:48:06, Error                 CSI    00000004@2018/5/27:18:48:06.704 (F) onecore\base\wcp\componentstore\com\store.cpp(5949): Error HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND) originated in function CreateOrGetIStore expression: (null)
[gle=0x80004005]
2018-05-27 20:48:06, Info                  CBS    Added C:\WINDOWS\Logs\CBS\CBS.log to WER report.
I found the reg load trick in another thread, but it confirms the configuration registry database is corrupt. Unfortunately I don't have a recent restore point either, so I hope we find an option besides resetting the whole computer.
Thanks in avdance
Zifix
 
Couldn't edit my original post, so a quick update as a reply:
my guest OS ist Windows 10 and it seems to be running smoothly. I used an ISO from 2015 to get it running and haven't connected it to the internet. Maybe we can somehow transplant something from there in order to help the host OS heal itself?
 
I finally figured out where I can find the build number: my (broken) version is 16299.
 
Hi Zifix :welcome: to Sysnative.


Is the components hive really missing? try this:

Retrieve the Components Hive
  1. Navigate to C:\Windows\System32\Config and locate the COMPONENTS file
  2. Please copy the COMPONENTS file to your desktop
    Note: If you receive an error that this file is in-use, simply reboot your computer and try again
  3. Right-click on this file on your Desktop and select Send To...Compressed (zipped) folder. This will create a file named COMPONENTS.ZIP on your Desktop
  4. If file will is too large to upload to the forum please share the file using a service like Dropbox, One Drive, Google Drive, or upload to www.sendspace.com and just provide the link for the file here
 
Hi,

The COMPONENTS hive was corrupted but we managed to fix it for you :smile9:


Step 1 - Replace Components Hive Manually

!!! WARNING !!! The following fix is only relevant for this system and no other, applying this fix on another computer will not work and most likely will cause problems...
  1. Download CP-zifix.ZIP and save to your Desktop.
  2. Right-click on it and select Extract all.... Make sure the "Show extracted files when complete" is checked and click Extract.
  3. Now we have the COMPONENTS file that we will be using to replace your current one.
  4. Navigate to C:\Windows\System32\config
  5. Right-click on the current COMPONENTS file and select rename. Rename it to COMPONENTS.bad.
    Note: If you get an error that the file is in use, reboot your computer and then try again.
  6. Take the file from the Components folder on your desktop and paste it into C:\Windows\System32\config

Step 2 - DISM scan
  • Please open up a Command Prompt Window as a Administrator, instructions for Windows 10.
  • Inside the command prompt window type or copy & Paste the following command:
    Dism /Online /Cleanup-Image /RestoreHealth
    Note: This may take some time to finish.
  • Locate the log c:\Windows\logs\cbs\CBS.log copy the file to the Desktop, Zip it and attach to your post.
Note: If the file is too big to attach please upload it to a service like Dropbox, Google Drive, OneDrive or upload to SendSpace and just provide the link for the file here.
 
Last edited:
Hi,
first of all
I have attempted dism and later sfc. Both error messages changed with your fixed components hive, so yay, some progress at long last :)
On a side note, Windows Update installed some previously failed updates, but still has download error 0x80070002 with "Feature update to Windows 10, version 1803". Just in case it's related.
Thx
Zifix
 

Attachments

Hi,

What is the Brand and exact model of the computer? if custom build post the Brand and Model of the motherboard.


SFCFix Script

!!! WARNING !!! The following fix is only relevant for this system and no other, applying this fix on another computer will not work and most likely will cause problems...
  • Download SFCFix.exe (by Niemiro) and save it to the Desktop
  • Download the file SFCFIX.ZIP, attached below, and save this to your Desktop
  • On your Desktop, make sure you have the two files:
    myjIXnC.png
    SFCFix.exe and
    sfpcJCen14An3ndjNGCI7mByhjHJud.png
    SFCFIX.zip
  • Drag the file SFCFIX.zip onto the file SFCFix.exe and release it
  • The SFCFix tool will process the script
  • Upon completion, a log file SFCFix.txt should be created on your Desktop
  • Open the SFCFix.txt log and copy & paste the contents to your post
 

Attachments

Hi SleepyDude,
once again thanks for the fast response.
Here is the output of your script:
Code:
SFCFix version 3.0.0.0 by niemiro.
Start time: 2018-06-23 18:58:20.911
Microsoft Windows 10 Build 16299 - amd64
Using .zip script file at C:\Users\gs\Downloads\SFCFix.zip [1]




PowerCopy::
Successfully took permissions for file or folder C:\WINDOWS\servicing\Packages\package_for_kb4058043~31bf3856ad364e35~amd64~~10.0.1.0.cat
Successfully took permissions for file or folder C:\WINDOWS\servicing\Packages\package_for_kb4058043~31bf3856ad364e35~amd64~~10.0.1.0.mum
Successfully took permissions for file or folder C:\WINDOWS\WinSxS\amd64_circlass.inf_31bf3856ad364e35_10.0.16299.15_none_c45ca3b99b9ae2f5\circlass.inf
Successfully took permissions for file or folder C:\WINDOWS\WinSxS\amd64_circlass.inf_31bf3856ad364e35_10.0.16299.15_none_c45ca3b99b9ae2f5\circlass.sys
Successfully took permissions for file or folder C:\WINDOWS\WinSxS\amd64_bda.inf_31bf3856ad364e35_10.0.16299.15_none_2560dcf23214b506\bda.inf
Successfully took permissions for file or folder C:\WINDOWS\WinSxS\amd64_bda.inf_31bf3856ad364e35_10.0.16299.15_none_2560dcf23214b506\BdaSup.sys

WARNING: File C:\WINDOWS\servicing\Packages\package_for_kb4058043~31bf3856ad364e35~amd64~~10.0.1.0.cat was not backed up as that would replace the current backup.
Successfully copied file C:\Users\gs\AppData\Local\niemiro\Archive\Packages\package_for_kb4058043~31bf3856ad364e35~amd64~~10.0.1.0.cat to C:\WINDOWS\servicing\Packages\package_for_kb4058043~31bf3856ad364e35~amd64~~10.0.1.0.cat.
Successfully copied file C:\Users\gs\AppData\Local\niemiro\Archive\Packages\package_for_kb4058043~31bf3856ad364e35~amd64~~10.0.1.0.mum to C:\WINDOWS\servicing\Packages\package_for_kb4058043~31bf3856ad364e35~amd64~~10.0.1.0.mum.
WARNING: File C:\WINDOWS\WinSxS\amd64_circlass.inf_31bf3856ad364e35_10.0.16299.15_none_c45ca3b99b9ae2f5\circlass.inf was not backed up as that would replace the current backup.
Successfully copied file C:\Users\gs\AppData\Local\niemiro\Archive\Winsxs\amd64_circlass.inf_31bf3856ad364e35_10.0.16299.15_none_c45ca3b99b9ae2f5\circlass.inf to C:\WINDOWS\WinSxS\amd64_circlass.inf_31bf3856ad364e35_10.0.16299.15_none_c45ca3b99b9ae2f5\circlass.inf.
WARNING: File C:\WINDOWS\WinSxS\amd64_circlass.inf_31bf3856ad364e35_10.0.16299.15_none_c45ca3b99b9ae2f5\circlass.sys was not backed up as that would replace the current backup.
Successfully copied file C:\Users\gs\AppData\Local\niemiro\Archive\Winsxs\amd64_circlass.inf_31bf3856ad364e35_10.0.16299.15_none_c45ca3b99b9ae2f5\circlass.sys to C:\WINDOWS\WinSxS\amd64_circlass.inf_31bf3856ad364e35_10.0.16299.15_none_c45ca3b99b9ae2f5\circlass.sys.
WARNING: File C:\WINDOWS\WinSxS\amd64_bda.inf_31bf3856ad364e35_10.0.16299.15_none_2560dcf23214b506\bda.inf was not backed up as that would replace the current backup.
Successfully copied file C:\Users\gs\AppData\Local\niemiro\Archive\Winsxs\amd64_bda.inf_31bf3856ad364e35_10.0.16299.15_none_2560dcf23214b506\bda.inf to C:\WINDOWS\WinSxS\amd64_bda.inf_31bf3856ad364e35_10.0.16299.15_none_2560dcf23214b506\bda.inf.
WARNING: File C:\WINDOWS\WinSxS\amd64_bda.inf_31bf3856ad364e35_10.0.16299.15_none_2560dcf23214b506\BdaSup.sys was not backed up as that would replace the current backup.
Successfully copied file C:\Users\gs\AppData\Local\niemiro\Archive\Winsxs\amd64_bda.inf_31bf3856ad364e35_10.0.16299.15_none_2560dcf23214b506\BdaSup.sys to C:\WINDOWS\WinSxS\amd64_bda.inf_31bf3856ad364e35_10.0.16299.15_none_2560dcf23214b506\BdaSup.sys.

Successfully restored ownership for C:\WINDOWS\servicing\Packages\package_for_kb4058043~31bf3856ad364e35~amd64~~10.0.1.0.cat
Successfully restored permissions on C:\WINDOWS\servicing\Packages\package_for_kb4058043~31bf3856ad364e35~amd64~~10.0.1.0.cat
Successfully restored ownership for C:\WINDOWS\servicing\Packages\package_for_kb4058043~31bf3856ad364e35~amd64~~10.0.1.0.mum
Successfully restored permissions on C:\WINDOWS\servicing\Packages\package_for_kb4058043~31bf3856ad364e35~amd64~~10.0.1.0.mum
Successfully restored ownership for C:\WINDOWS\WinSxS\amd64_circlass.inf_31bf3856ad364e35_10.0.16299.15_none_c45ca3b99b9ae2f5\circlass.inf
Successfully restored permissions on C:\WINDOWS\WinSxS\amd64_circlass.inf_31bf3856ad364e35_10.0.16299.15_none_c45ca3b99b9ae2f5\circlass.inf
Successfully restored ownership for C:\WINDOWS\WinSxS\amd64_circlass.inf_31bf3856ad364e35_10.0.16299.15_none_c45ca3b99b9ae2f5\circlass.sys
Successfully restored permissions on C:\WINDOWS\WinSxS\amd64_circlass.inf_31bf3856ad364e35_10.0.16299.15_none_c45ca3b99b9ae2f5\circlass.sys
Successfully restored ownership for C:\WINDOWS\WinSxS\amd64_bda.inf_31bf3856ad364e35_10.0.16299.15_none_2560dcf23214b506\bda.inf
Successfully restored permissions on C:\WINDOWS\WinSxS\amd64_bda.inf_31bf3856ad364e35_10.0.16299.15_none_2560dcf23214b506\bda.inf
Successfully restored ownership for C:\WINDOWS\WinSxS\amd64_bda.inf_31bf3856ad364e35_10.0.16299.15_none_2560dcf23214b506\BdaSup.sys
Successfully restored permissions on C:\WINDOWS\WinSxS\amd64_bda.inf_31bf3856ad364e35_10.0.16299.15_none_2560dcf23214b506\BdaSup.sys
PowerCopy:: directive completed successfully.




Successfully processed all directives.
SFCFix version 3.0.0.0 by niemiro has completed.
Currently storing 7 datablocks.
Finish time: 2018-06-23 18:58:22.291
Script hash: yBe5zPBPv/Ft7MVA7Tc/zWiWTQyNJmVrymDJn5KbB0M=
----------------------EOF-----------------------
I'm running a Asus G750JH laptop here.
Best Regards
Zifix
 
Hi,

Thanks for the log and information.


SFC scan

  • Please open up a Command Prompt Window as a Administrator, instructions for Windows 10.
  • Inside the command prompt window type or Copy & Paste the following command:
    sfc /scannow
Note: This may take some time to finish. Let me know the result.


Edit: Also open the Windows Device manager locate the Qualcomm Atheros BlueTooth device check its properties and post the Hardware ID (let me know if you need specific instructions to do this)
 
Last edited:
Hi,
still getting
Code:
Windows Resource Protection could not perform the requested operation.
same as before :(
 
Ok, I forgot about that!

and if you type:
net start trustedinstaller

The result should be "The Windows Modules Installer service was started successfully" or similar

then SFC /scannow
 
net start produced the message you predicted, but sfc still fails at the same stage :(
 
SFC doesn't start at all and gives you the error "Windows Resource Protection could not perform the requested operation."?

or it starts working and then fails?
 
Here is the output:
Code:
PS C:\WINDOWS\system32> SFC /scannow
Beginning system scan. This process will take some time.
Beginning verification phase of system scan.
Verification 7% complete.
Windows Resource Protection could not perform the requested operation.
 
Upload the new CBS.log please.

Can you post the Hardware ID I request on post #11?
 
Last edited:
Hi,
I have got a "Qualcomm Atheros AR8171/8175 PCI-E Gigabit Ethernet Controller (NDIS 6.30)" with these Hardware IDs:
Code:
PCI\VEN_1969&DEV_10A1&SUBSYS_200F1043&REV_10
PCI\VEN_1969&DEV_10A1&SUBSYS_200F1043
PCI\VEN_1969&DEV_10A1&CC_020000
PCI\VEN_1969&DEV_10A1&CC_0200
Here is the current CBS.log: View attachment CBS (2).zip
Thx
Zifix
 
Hi,

The problem is with the Qualcomm Atheros BlueTooth not the network card.

Can you locate it on Device Manager and post the Hardware ID like you did for the Network card?

Then right click on the BlueTooth device and select Uninstall, make sure you select the option Delete the driver software for this device

Restart the system, open the Device Manager again, on the Action menu click Scan for hardware changes Windows should reinstall the driver from Windows Update.
 
My bad. Completely missed that one :eek:
Code:
USB\VID_0CF3&PID_3004&REV_0001
USB\VID_0CF3&PID_3004
The device came back as "Generic Bluetooth Adapter".
 
Back
Top