Windows 10 Version 22H2 (KB5022834) will not update

Anonymous
2023-02-15T16:34:29+00:00

2023-02 Cumulative Update for Windows 10 Version 22H2 for x64-based Systems (KB5022834) will not update for the past month.

The message "We couldn't complete the updates. Undoing changes" keeps appearing.

I am on

Edition: Windows 10 Home

Version: 22H2

Installed on: 25/12/2020

OS Build: 19045.2251

Experience: Windows Feature Experience Pack 120.2212.4180.0

I have tried running the Windows Update troubleshooter.

I am unsure what else to do as I am a newbie at this.

I would appreciate any assistance with this.

Thanks in advance.

Windows for home | Windows 10 | 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

100 answers

Sort by: Newest
  1. Anonymous
    2023-04-11T02:56:30+00:00

    Hi Ramesh,

    It's fixed after I rebuilt the WMI as you suggested.

    Raparing Windows is something I did not want as this is Windows 10 Enterprise with a domin join.

    Was this answer helpful?

    0 comments No comments
  2. Ramesh 181.4K Reputation points Volunteer Moderator
    2023-04-11T02:48:51+00:00

    Ramesh,

    This is fixed!! Thanks a lot for your help. If you can comment on my new thread I will mark your answer as a solution. https://answers.microsoft.com/en-us/windows/forum/windows_10-update/unable-to-install-kb5022834/552893db-3a5f-46f4-8694-f4f813000bf1

    Btw, may I know how you troubleshoot this from the log?

    Glad it worked. Thanks for the feedback, YSWoo. May I know which step worked -- Repairing windows or rebuilding the WMI?

    I've replied to the other thread.

    Btw, may I know how you troubleshoot this from the log?

    You can see the same error code in the CBS log, which I'm sure is a WMI error. [CBS] Error 80041002 When Installing Windows Updates

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2023-04-11T01:27:17+00:00

    Ramesh,

    This is fixed!! Thanks a lot for your help. If you can comment on my new thread I will mark your answer as a solution. https://answers.microsoft.com/en-us/windows/forum/windows_10-update/unable-to-install-kb5022834/552893db-3a5f-46f4-8694-f4f813000bf1

    Btw, may I know how you troubleshoot this from the log?

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2023-04-10T16:01:45+00:00

    Yep. Having done the most intrusive repair install, I can understand the frustration that many feel with the developers. However, it is better to take back control of ones system. Just takes time and patience.

    BK

    Was this answer helpful?

    0 comments No comments
  5. Ramesh 181.4K Reputation points Volunteer Moderator
    2023-04-10T05:55:10+00:00

    The problem lies in the mofcomp procedure, one of the steps performed by the KB5022834 installer. The EventTrace WMI class is missing, which indicates the WMI repository is damaged. See if the following repair method helps.

    • sc config winmgmt start= disabled
    • net stop winmgmt
    • CD %WINDIR%\System32\Wbem\Repository
    • DEL /F /Q /S %WINDIR%\System32\Wbem\Repository\*.*
    • CD %WINDIR%\System32\Wbem
    • for /f %s in ('dir /b *.dll') do regsvr32 /s %s
    • wmiprvse /regserver
    • sc config winmgmt start= auto
    • net start winmgmt
    • for /f %s in ('dir /b *.mof') do mofcomp %s
    • for /f %s in ('dir /b *.mfl') do mofcomp %s
    • dism /online /cleanup-image /restorehealth
    • sfc /scannow

    And then test by running the following command:

    • mofcomp "C:\windows\system32\wbem\netprofm.mof"

    If you still get the error 0x80041002, try one of the following:

    Copy the %WINDIR%\System32\Wbem\Repository folder from another computer. You may need to stop the WMI service first.

    or

    Repair install Windows 10. See How to perform an In-place Upgrade with Windows 10 Step-by-Step Guide - Microsoft Community: https://answers.microsoft.com/en-us/windows/forum/all/how-to-perform-an-in-place-upgrade-with-windows-10/7f0b236e-3c6c-4913-9691-c4baa2a6190a

    Was this answer helpful?

    3 people found this answer helpful.
    0 comments No comments