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. 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
  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-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
  4. Anonymous
    2024-11-15T17:01:56+00:00

    Ramesh,

    Thanks very much for your patience and expertise. I downloaded the rectified components file and placed into the directory as you specified and the system now correctly performs windows update. Apparently I installed the incorrect components file the first time. Your contributions to helping users resolve problems is highly commended and you likely saved me 100 hours of reloading windows, drivers and apps and much frustration.

    Again, thank you very much

    Was this answer helpful?

    0 comments No comments
  5. Ramesh 181.2K Reputation points Volunteer Moderator
    2024-11-15T17:09:08+00:00

    Hi Vance,

    I'm glad to have helped. Thank you for the feedback :)

    Regards,

    Was this answer helpful?

    0 comments No comments