[SOLVED] Windows Update & In-Place Upgrade Failing with 0x800703f1, Corrupt COMPONENT Hive | Win 11 Version 10.0.22631 Build 22631

pirminoe

Contributor
Joined
Oct 23, 2024
Posts
13

Problem Description:​

I’ve been encountering persistent Windows Update and system issues:

  • Windows Update Errors: 0x800703f1 and 0x80070103.
  • AMD Driver Installation: Error 1603 (AMD Display Driver Error 2147943409 - The configuration registry database is corrupt).
  • USB Devices Not Recognized.
  • In-Place Upgrade Fails: on the final screen with error 0x800703f1.
  • SFC fails with "Windows Resource Protection could not start the repair service" (also in Safe Mode).
  • DISM returning Error 0x800f081f: "The source files could not be found."
Additionally, I cannot mount ISO drives, trying to install other drivers sometimes fails depending on the driver.

Steps I’ve Tried:​

  1. SFC and DISM:
    • SFC gave "Windows Resource Protection could not perform the requested operation.", even in safe mode
    • DISM initially failed at 100% with Error 0x800f081f: "The source files could not be found."
  2. Components Hive Replacement:
    • I followed this instruction (my last post is in that thread) to export and rebuild the Components Hive. This seemed to work temporarily as SFC and DISM worked again producing no errors, but Windows Update still failed. Now, SFC doesn’t run due to "Windows Resource Protection could not start the repair service," and DISM fails with Error 0x800f081f ("The source files could not be found").
  3. CHKDSK ran successfully without errors.
  4. Tweaking.com Tool: I purchased and ran this tool, but it did not resolve the issue.
  5. In-Place Upgrade: Failed with 0x800703f1.

Logs and Attachments:​


Logs.Zip OR attatchment

  • [CBS.zip] (SFC, DISM, Windows Update logs).
  • [ComponentsScanner.txt] (Sysnative’s Components Scanner results).
  • DISM logs attached as well.
  • Original COMPONENT hive as well as "repaiered" COMPONENT hive
Any help to fix the corrupted registry keys and address these issues would be greatly appreciated. Otherwise I will need to go to the mental clinic. Thank you!
 

Attachments

Hi @pirminoe,

Welcome to Sysnative Forums!

If you haven't already, please review the posting instructions here, and attach the requested log files. Without log files, our helpers will not be able to assist, and this will slow down fixing your machine.

If logs have been already been provided, our team of volunteers will analyse the provided log files to build a fix for your system. Please be aware that this may take several days from your initial post, due to the high volume of threads that we receive.


- Sysnative Windows Update Team
 
I noticed in this thread that the symptoms and the time they began are similar to my issue, which also involved a corrupted drivers hive. To assist with troubleshooting, I have uploaded my drivers hive here as well, in case it helps to provide further insights.
 

Attachments

Hi and welcome to Sysnative,

Replace Drivers Hive Manually

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 DRIVERS.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 DRIVERS file that we will be using to replace your current one.
  4. Navigate to C:\Windows\System32\config
  5. Right-click on the current DRIVERS file and select rename. Rename it to DRIVERS.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 Drivers folder on your desktop and paste it into C:\Windows\System32\config

Afterwards reboot the system and attempt to update. If it fails attach the latest CBS logs and the following logfile.

Upload the setupapi.dev.log file
  • Open Windows Explorer and browse to the C:\Windows\INF folder.
  • Right-click on the file setupapi.dev.log and choose Send to > Compressed (zipped) folder.
  • Now the message will appear, "Windows cannot create the Compressed (zipped) Folder here. Do you want it to be placed on the desktop instead?"
  • Click on the Yes button here.
657716925b62b-setup-api-dev-folder.png

  • Attach the file setupapi.dev.zip in your next reply.
 

Attachments

Thank you for your reply! I performed the steps described.

Improvement:
  • Before, I would get either 0x800703f1 or 0x80070103 for a specific failed update, now all failed updates show 0x80070103. All updates still failed though.
  • For 2024-10 Cumulative Update for Windows 11 Version 23H2 for x64-based Systems (KB5044285) I get
    Install error - 0x8000ffff
Please find attatched the requested files.
 

Attachments

Please do the following only to restore the COMPONENTS hive.

Replace Components Hive Manually

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 COMPONENTS.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. Run the following DISM command and post the result. If it fails attach a new copy of the CBS log.
Code:
DISM /online /cleanup-image /RestoreHealth
 

Attachments

Here is console output:



Code:
Image Version: 10.0.22631.4169                                                                                                                                                                                                                  [===========================60.1%==                        ]                                                            Error: 14098                                                                                                                                                                                                                                    The component store has been corrupted.                                                                                                                                                                                                         The DISM log file can be found at C:\Windows\Logs\DISM\dism.log

I have attatched dism.log and CBS.log.
 

Attachments

I forgot to mention that i also did the following in the past, allthough it said "access denied" i believe and then i changed ownership rights. ChatGPT suggested that to me... I don't remember if it worked or not could this be the remaining problem?

Code:
net stop wuauserv
net stop cryptSvc
net stop bits
net stop msiserver
ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
ren C:\Windows\System32\catroot2 catroot2.old
net start wuauserv
net start cryptSvc
net start bits
net start msiserver
 
Hi,

Please run the following commands in an elevated prompt and copy paste the result in your next post.
Code:
reg load HKLM\COMPONENTS C:\WINDOWS\SYSTEM32\CONFIG\COMPONENTS
reg query HKLM\COMPONENTS
 
Thanks for your reply!

Here is the Output
Code:
C:\Windows\System32>reg load HKLM\COMPONENTS C:\WINDOWS\SYSTEM32\CONFIG\COMPONENTS                                     
The operation completed successfully.                                                                                                                                                                                                          
C:\Windows\System32>                                                                                                   
C:\Windows\System32>reg query HKLM\COMPONENTS                                                                                                                                                                                                   
HKEY_LOCAL_MACHINE\COMPONENTS                                                                                               
StoreFormatVersion    REG_BINARY    30002E0030002E0030002E003600                                                        
StoreArchitecture    REG_BINARY    09000000                                                                                                                                                              HKEY_LOCAL_MACHINE\COMPONENTS\CanonicalData
HKEY_LOCAL_MACHINE\COMPONENTS\CCPInterface
HKEY_LOCAL_MACHINE\COMPONENTS\DerivedData
HKEY_LOCAL_MACHINE\COMPONENTS\Drivers
HKEY_LOCAL_MACHINE\COMPONENTS\Installers
HKEY_LOCAL_MACHINE\COMPONENTS\NonCanonicalData
HKEY_LOCAL_MACHINE\COMPONENTS\ServicingStackVersions                                                                                                                             C:\Windows\System32>


1729844464839.webp
 
Please remove that file manually and attempt to update. If it fails attach a new copy of the CBS logs.
 
I get error Install error - 0x80073701 for 2024-10 Cumulative Update for Windows 11 Version 23H2 for x64-based Systems (KB5044285)

The other updates disappeared somehow, I do not know what happened.
 

Attachments

Please upload a new copy of the COMPONENTS hive.

Upload your COMPONENTS hive.
  • Navigate to C:\Windows\System32\Config and locate the COMPONENTS file.
  • Please copy this file to your desktop.
  • Note: If you receive an error that this file is in-use, simply reboot your computer and try again.
  • 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.
  • If the file is too large to upload here, upload the file to www.wetransfer.com and post the link in your next reply.
 
There are a lot of corruptions, so I would suggest to perform an in-place-update again this should resolve all the remaining issues.
 
You're Title should be Windows Update Magician, not Moderator!

Inplace Upgrade successfully passed. Most of the Windows Updates completed. Merely
Advanced Micro Devices, Inc - System - 2.0.0.18
gives
Install error - 0x8024200b

Now I will restart, lets see xD

1729857096714.webp
 
Back
Top