Windows Update KB5004237 failed with error 0x800f0845

Nicholas Nuti 6 Reputation points
2021-07-27T04:04:26.65+00:00

I have tried to install this update twice now. My laptop restarts mid-update as usual, but then tells me "Diagnosing your PC" and "Attempting Repairs". It repairs, restarts, and then reverts the update.
118151-screenshot-2021-07-26-205851.jpeg

Windows for business | Windows Client for IT Pros | User experience | Other
0 comments No comments
{count} vote

1 answer

Sort by: Most helpful
  1. Teemo Tang 11,466 Reputation points
    2021-07-27T06:14:51.92+00:00

    Make sure your laptop has installed May 11, 2021 update (KB5003173) before you install the latest cumulative update KB5004237.
    Next, reset windows update components.
    Right click on the start button and select Powershell (admin) or Command Prompt (admin)
    Write the next hit enter after each line.

    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

    After completed, go to here https://www.catalog.update.microsoft.com/Search.aspx?q=KB5004237, download 2021-07 Cumulative Update for Windows 10 Version 21H1 for x64-based Systems (KB5004237) standalone package, manually install it.

    -------------------------------------------------------------------------------------

    If the Answer is helpful, please click "Accept Answer" and upvote it.
    Information posted in the given link is hosted by a third party. Microsoft does not guarantee the accuracy and effectiveness of information.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.