question

NicholasNuti-0777 avatar image
1 Vote"
NicholasNuti-0777 asked VladimirSchetinin-9145 commented

Windows Update KB5004237 failed with error 0x800f0845

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-10-general
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

TeemoTang-MSFT avatar image
1 Vote"
TeemoTang-MSFT answered VladimirSchetinin-9145 commented

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
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi! I had the same problem - cannot update with KB5004237, error 0x800f0845
Did everything as you advised.
Result - update failed, but now windows went to infinite "restoring" loop, and rebooting at startup. Again and again.
I tried to use windows rescue disk and delete last failed update.
Rescue disk immediately says "cannot delete last update".
I think thats may be because SoftwareDistribution and catroot2 folders renamed.
So, everybody be carefull.
That steps can break system.

1 Vote 1 ·