Windows 10 22H2, KB5016616, KB5017308, KB5017380, KB5018410, KB5019959, KB5021233 hang on reboot after install

Anonymous
2022-08-11T22:19:21+00:00

I'm trying to update to the latest Win10 update released on 8/8/22. Ever since that update was downloaded the machine hangs

on the required reboot after the install. I have disabled updates until I can find a fix. I've tried to download the update and install

manually but get the same results. Other updates, such as .NET, download and installed fine. Once the machine hangs it has to be rebooted 

2 times to get to the automatic roll back. At least that works for now.  I've run the Update trouble shooter and it doesn't fix anything. 

Windows Update and BITS services are both set to automatic.

There is an error in the event log but I think its from the install abort from a forced shutdown.

Installation Failure: Windows failed to install the following update with error 0x800F0845: 2022-08 Cumulative Update for Windows 10 Version 21H2 for x64-based Systems (KB5016616).

Update 10/5/22: KB-5017308, KB5017380, KB5018410 also FAIL in exactly the same manner as KB-5016616.  Spinning dots on the reboot and the need to do a dual boot auto recovery.  Title has been updated.

Any help would be appreciated.

Windows for home | Windows 10 | Install and upgrade

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
Answer accepted by question author
Anonymous
2022-12-26T20:47:58+00:00

For me, the following solved the Problem:

Delete the Value data (all bytes) of

HKEY_LOCAL_MACHINE\SECURITY\Policy\Secrets\NL$KM\CurrVal(Default)

and

HKEY_LOCAL_MACHINE\SECURITY\Policy\Secrets\NL$KM\OldVal(Default)

One reboot and CurrVal(Default) should be filled again.

If you are not domain-joined, i would not expect any problems.

I'm not giving directions on how to access and delete the value data because i want skilled people who know what they are doing to test my solution.

Was this answer helpful?

20+ people found this answer helpful.
0 comments No comments

319 additional answers

Sort by: Oldest
  1. Anonymous
    2022-12-30T11:28:23+00:00

    @info001 you are brilliant. This has worked perfectly. Please tell us how you found it.

    As the Doctor would say, "I came the long way around".

    I was not willing to follow OldAJAS advice and dump a working system.

    After 4 months it was clear that MS does not fix the Problem (I also tried the latest Win11 Insider-Build).

    Thank God the problem also exists in my VMware clone.

    As all my Win10 Backups had the same Problem, I used an old Win7 pre-Win10-upgrade backup.

    Upgraded it with the same DVD as my PC.

    Applied all available Patches form my PCs Update History (some unimportant were not available in Microsoft Update Catalog).

    After that I was able to exchange parts form the two installations.

    As the two installations share the same base (SAM/Security) they are partially compatible.

    After spending huge time with CBS (Component-Based Servicing) I was able to exclude the filesystem as the problem.

    It had to be the registry.

    I suspected the SOFTWARE part or the COMPONENTS part of the registry.

    By exchanging registry files between the two installations, I was able to exclude both.

    I started to test all registry files in %SYSTEMROOT%\System32\config.

    Bingo - "SECURITY" caused the Problem.

    Because both installations share the same base, there were only few differences between them.

    The rest was trial and error.

    I've spent a lot more time on this than I care to admit.

    Did anyone have problems afterwards?

    Maybe with logins to MS-Cloud Accounts (I don't use them).

    The deleted Keys are used to decrypt cached Domain-Passwords (according to doctor google).

    Does anyone have tried the solution for a domain-joined Win10 ?

    I can't thank you enough for this fix that MS has not addressed ever since they screwed up all subsequent updates in August 2022. I had posted this issue on this forum as well as Elevenforum and no one was able to figure out what the root cause was. Finally, someone on Elevenforum alerted me about your fix and I applied it to my machine and it worked. Hoping MS will take the ball and run with it and come up with an official solution. Thank you so much, you're a lifesaver and you don't realize how much it means to thousands of people who have been dealing with this issue for several months now. Keep up the great work!

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2022-12-30T19:19:14+00:00

    ....and what sadeness me that MS didn't even bother to acknowledge that there are some "newb's" having this problem...they completely ignored us....... "The moon does not heed barking of dogs".......

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2022-12-30T19:45:17+00:00

    A few months ago I chatted with MS support and they said that they were aware of the problem and asked me to do a clean install to fix the issue at the time. It's been now over 4 months since the problem showed up but each monthly update fixes something else but not this issue. They need to at least post a bulletin at a minimum and tell the world they are working on it. So glad this guy found a solution.

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2022-12-30T20:18:43+00:00

    Hi peeps,

    I'm following this thread since Nov, 22, as I have one new Win10 home machine in the house which has the problem. I'm in the IT business and know what to do (usually), but this one, hmm. Did many of the solutions, that are also here, but not the one, what is the solution for most of you.

    Here it does NOT work. The machine simply doesn't have this registry key: HKEY_LOCAL_MACHINE\SECURITY\Policy\Secrets\NL$KM\

    Yes, I opened regedit with psexec -i -s, but the machine only has the DPAPI_SYSTEM key, which has the same entries like NL$KM...

    So I deleted the CurVal and OldVal Default values there, but without success. All I got, was that all passwords from any apps and even the PIN for login went away.

    OK, gave the user a new password with the utilman.exe solution and being logged on again, but all other apps (Adobe/Nextcloud/Outlook etc.) telling me there might be a MITM attack, asking for logins again.

    This is true, as the CurVal key holds all LSA secrets of the machine, nicely explained here: https://www.passcape.com/index.php?section=docsys&cmd=details&id=23

    So I'm wondering why deleting the encrypted values of the secrets will solve the problem of this installing/repairing/uninstalling loop.

    I created the NL$KM values manually by exporting the DPAPI_SYSTEM key, renaming DPAPI_SYSTEM with NL$KM in an editor and imported it with empty CurVal and OldVal while opened regedit with psexec. But the machine isn't using it.

    So I went for hiding the latest cumulative update with the solution here (2 files reset win upd & wuhide). Strange, now no download starts, even when I click "Download" below the offered updates. Services are running.

    Anyway, it's a 1 year old OEM install, so I will reinstall from scratch Win11.

    CU

    DigitalTrance

    Was this answer helpful?

    0 comments No comments