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: Oldest
  1. Anonymous
    2024-11-14T20:20:56+00:00

    See attached Link for file

    components.zip

    Was this answer helpful?

    0 comments No comments
  2. Ramesh 181.2K Reputation points Volunteer Moderator
    2024-11-15T03:21:10+00:00

    See attached Link for file

    components.zip

    Please do the following:

    • Open the folder "C:\Windows\System32\Config"
    • In the above folder, rename "COMPONENTS" to "COMPONENTS.OLD"
    • Download components.zip
    • Unzip and extract the file "COMPONENTS" to the desktop.
    • Move "COMPONENTS" from your desktop to "C:\Windows\System32\Config".

    See if you can install updates and run DISM now.

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2024-11-15T15:06:42+00:00

    Hello Ramesh,

    I performed the steps you provided and windows 11 would still not performs the update and provided the following error:

    2024-11 Cumulative Update for Windows 11 Version 23H2 for x64-based Systems (KB5046633)

    Install error - 0x800703f1

    The DISM command does work at the command prompt.

    Was this answer helpful?

    0 comments No comments
  4. 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
  5. 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