2021-05 Cumulative Update for Windows 10 Version 20H2 for x64-based Systems (KB5003173) Failed to install - 0x800f0831

Anonymous
2021-05-16T13:53:04+00:00

Hi all,

I've had the same cumulative update error for last month where the installation of this update would cause it to work up to 20% and then fail to install.

I've tried using sfc scanning and DISM restore and nothing is wrong with my computer.

This time the update installs to 100%, but then goes back to 0% and gets an error at 21% of the update.

EDIT 1:

I suspect that using a third party software called advanced system care may have cleaned up old driver packages, but I don't believe it affected the update because I've been using it for a while now and I didn't have any cumulative update problems in the past. Manually installing the updates do not work, neither does expanding the MSU files. The 0x800f0831 error has to do with missing package files.

EDIT 2:

I have done a repair install and it fixed my windows update problems, there does not seem to be any other way to fix the error.

EDIT 3:

I noticed my computer was stuttering and freezing much more than usual, so I booted into UEFI settings to put everything to default to see if that fixed it, my fans went full speed in BIOS mode for some reason. After settings are put to default, I restart my computer and now it's in an automatic repair loop.

EDIT 4:

The system restore was successful, but the real reason was because my laptop can not boot into default RST mode, so I booted into AHCI and it worked fine.

The only problem now is the quality update KB4023057 downloads and installs briefly every time I check for updates even though it was already successfully installed and updates the date it was installed.

EDIT 5: After downloading a .bat file from Reset Windows Update in Windows 10 | Tutorials (tenforums.com) and running it in safe mode the popup no longer shows up for KB4023057.

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
Answer accepted by question author
SD - IA 179.6K Reputation points Independent Advisor
2021-05-17T02:23:51+00:00

I see, thanks. A RI is the last and best resort to fix this issue.

Try doing a repair install. A repair Install keeps everything including Files and applications and reinstalls Windows.

http://www.yourwindowsguide.com/2016/06/how-to-...

http://www.tenforums.com/tutorials/16397-repair...

The best and the easiest way is to use first method in the first article.

Disclaimer:

This is a non-Microsoft website which would provide accurate and safe information. Watch out for ads on the site which are frequently classified as a PUP (Potentially Unwanted Products). There is no need to buy paid products to fix your computers as they do more harm than good sometimes.

Was this answer helpful?

0 comments No comments

59 additional answers

Sort by: Oldest
  1. Anonymous
    2021-05-17T17:53:59+00:00

    To Felix K

    I am in the same situation as you.  Neither update KB5001391 nor KB5003173 will install and both had error 0x800f0831.  The CBS log shows a similar inability to find certain packages as in your situation.

    Here is a slice of the log files where the error starts.

    2021-05-17 13:28:05, Error                 CBS    Failed to resolve package 'Microsoft-Windows-UpdateTargeting-ClientOS-EKB-Wrapper-Package~31bf3856ad364e35~amd64~~10.0.19041.906' [HRESULT = 0x800f0831 - CBS_E_STORE_CORRUPTION]

    2021-05-17 13:28:05, Info                  CBS    Mark store corruption flag because of package: Microsoft-Windows-UpdateTargeting-ClientOS-EKB-Wrapper-Package~31bf3856ad364e35~amd64~~10.0.19041.906. [HRESULT = 0x800f0831 - CBS_E_STORE_CORRUPTION]

    2021-05-17 13:28:05, Info                  CBS    Failed to resolve package [HRESULT = 0x800f0831 - CBS_E_STORE_CORRUPTION]

    2021-05-17 13:28:05, Info                  CBS    Failed to check whether this is the real child: Microsoft-Windows-UpdateTargeting-ClientOS-EKB-Wrapper-Package~31bf3856ad364e35~amd64~~10.0.19041.906 [HRESULT = 0x800f0831 - CBS_E_STORE_CORRUPTION]

    2021-05-17 13:28:05, Info                  CBS    Failed to collect affected dependent package for package: Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~10.0.19041.1 [HRESULT = 0x800f0831 - CBS_E_STORE_CORRUPTION]

    2021-05-17 13:28:05, Info                  CBS    Failed to process package watchlist. [HRESULT = 0x800f0831 - CBS_E_STORE_CORRUPTION]

    2021-05-17 13:28:05, Info                  CBS    Failed to plan execution. [HRESULT = 0x800f0831 - CBS_E_STORE_CORRUPTION]

    2021-05-17 13:28:05, Error                 CBS    Failed to process single phase execution. [HRESULT = 0x800f0831 - CBS_E_STORE_CORRUPTION]

    Here are the steps I have taken to try to get a successful update install

    1. Checked systems files with SFC /scannow, no issues found
    2. Tried to fix image with Dism /Online /Cleanup-Image /RestoreHealth.  It said it was repairable but could not find the files needed to make repair
    3. Downloaded the latest Win 10 ISO from MS and directed Dism to look there (install.wim).  Still could not find the files needed to repair.
    4. Reset WU using the BAT file code “Reset_Reregister_Windows_Update_Components”.  I believe it’s the one you were directed to by Sumit.  Update would still not install.  Same error code.  Also tried doing some manual resets, still not able to update.
    5. My log files indicate that EKB Wrapper Packages are missing, build 10.0.19041.906.  This was the build from update KB5000842.  Even though that update was previously installed, I got the MSU and expanded it to get the CAB files from it and then used Dism /online /add-package /packagepath to add both the windows and SSU CABs into the image.  Still got the same 0x800f0831 error trying to install KB5003173.

    Seems like doing the Repair install is the only thing left for me.  I just don’t understand why all of sudden I need to repair my operating system to get these updates to install.  What’s different about these updates?  Anyone else have solution other than a repair install?

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2021-05-17T18:15:25+00:00

    Have you used any system file cleaners such as advanced system care? I believe the likely cause is from accidental deletion of old package files. These updates require these old packages to be successfully installed and utilized.

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2021-05-17T18:23:09+00:00

    Nope.  Have not used any system file cleaners.

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2021-05-17T18:26:06+00:00

    I really have no idea then, I hope someone is able to provide a solution to this uncommon problem.

    Was this answer helpful?

    0 comments No comments