Windows update failed (Install error 0x800703f1)

Anonymous
2024-07-12T04:52:04+00:00

So ive had this problem for a long time now.. Windows update will not install and my firewall will not turn on (grayed out). I did a scan in the CMD and it says there is missing or corrupted files. I tried to do a ton of fixes on it an nothing is working. Also my firewall says "update your firewall settings but when i try to click on the use recommended setting its shoots me another error code (0x8007045b). I have a feeling that those 2 problems are connected can anyone help me?

Note: Ive also tried these in the powershell but that didnt work either.

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

Windows for home | Windows 11 | Windows update

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

133 answers

Sort by: Newest
  1. Ramesh 181.2K Reputation points Volunteer Moderator
    2024-11-15T16:18:07+00:00

    Ok, You haven't copied the rectified Components file I sent you.

    • Open the folder "C:\Windows\System32\Config"
    • In the above folder, rename "COMPONENTS" to "COMPONENTS.OLD"
    • Copy the downloaded COMPONENTS file (unzipped) to "C:\Windows\System32\Config".

    Without doing the above, the problem can't be fixed.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  2. Anonymous
    2024-11-15T16:14:46+00:00

    C:\WINDOWS\System32>certutil -hashfile "C:\Windows\System32\Config\components"

    SHA1 hash of C:\Windows\System32\Config\components:

    77d1d80c5b06fe3d7fbb32eb7ff3150537ddee4a

    CertUtil: -hashfile command completed successfully.

    C:\WINDOWS\System32>

    Was this answer helpful?

    0 comments No comments
  3. Ramesh 181.2K Reputation points Volunteer Moderator
    2024-11-15T15:59:54+00:00

    The components file I sent you loads fine here. I'm unsure if you've copied it correctly.

    Please run this command:

    • certutil -hashfile "C:\Windows\System32\Config\components"

    Post the output.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  4. Anonymous
    2024-11-15T15:43:16+00:00

    See following for command line responses and link for CBS logs

    C:\WINDOWS\System32>reg load HKLM\COMPONENTS c:\windows\system32\config\components

    ERROR: The configuration registry database is corrupt.

    C:\WINDOWS\System32>reg load HKLM\DRIVERS c:\windows\system32\config\drivers

    The operation completed successfully.

    CbsPersist_20241109190722.zip

    Was this answer helpful?

    0 comments No comments
  5. Ramesh 181.2K Reputation points Volunteer Moderator
    2024-11-15T15:10:32+00:00

    If DISM (RestoreHealth) works fine, the components hive is good.

    1. Anyway, please rerun these commands.

    From the admin Command Prompt, please run the following commands:

    reg load HKLM\COMPONENTS c:\windows\system32\config\components
    
    reg load HKLM\DRIVERS c:\windows\system32\config\drivers
    

    Post the output.

    2)

    Please upload your CBS logs to OneDrive and share the link here.

    c:\windows\logs\cbs\                   <= Zip and upload all files in this folder.

    (How-To: Share OneDrive files and folders - Microsoft Support)

    :: OneDrive sharing options - screenshot ::

        https://imgur.com/a/vZyxpY9

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments