question

LucioCastro-0927 avatar image
0 Votes"
LucioCastro-0927 asked ·

Windows update - Please help with 0x800f0831

For a year now, all the cumulative updates on a machine, which I am supposed to manage, with Win10 in S mode fail because of that error, which is related to corrupt CBS store, caused by OneDrive update attempts. I found the proper manifest missing but it does not install it either.
Every cumulative fails at 20%.
Here is a portion of the CBS.log:


2021-01-27 14:33:36, Info CBS Store corruption, manifest missing for package: Microsoft-Windows-OneDrive-Setup-WOW64-Package~31bf3856ad364e35~amd64~en-US~10.0.18362.1
2021-01-27 14:33:36, Info CBS Mark store corruption flag because of package: Microsoft-Windows-OneDrive-Setup-WOW64-Package~31bf3856ad364e35~amd64~en-US~10.0.18362.1. [HRESULT = 0x80070490 - ERROR_NOT_FOUND]
2021-01-27 14:33:36, Info CBS Store corruption, manifest missing for package: Microsoft-Windows-OneDrive-Setup-WOW64-Package~31bf3856ad364e35~amd64~en-US~10.0.18362.1
2021-01-27 14:33:36, Info CBS Mark store corruption flag because of package: Microsoft-Windows-OneDrive-Setup-WOW64-Package~31bf3856ad364e35~amd64~en-US~10.0.18362.1. [HRESULT = 0x80070490 - ERROR_NOT_FOUND]
2021-01-27 14:33:36, Info CBS Store corruption, manifest missing for package: Microsoft-Windows-OneDrive-Setup-WOW64-Package~31bf3856ad364e35~amd64~en-US~10.0.18362.1
2021-01-27 14:33:36, Error CBS Failed to resolve package 'Microsoft-Windows-OneDrive-Setup-WOW64-Package~31bf3856ad364e35~amd64~en-US~10.0.18362.1' [HRESULT = 0x800f0831 - CBS_E_STORE_CORRUPTION]
2021-01-27 14:33:36, Info CBS Mark store corruption flag because of package: Microsoft-Windows-OneDrive-Setup-WOW64-Package~31bf3856ad364e35~amd64~en-US~10.0.18362.1. [HRESULT = 0x800f0831 - CBS_E_STORE_CORRUPTION]
2021-01-27 14:33:36, Info CBS Failed to resolve package [HRESULT = 0x800f0831 - CBS_E_STORE_CORRUPTION]
2021-01-27 14:33:36, Info CBS Failed to check whether this is the real child: Microsoft-Windows-OneDrive-Setup-WOW64-Package~31bf3856ad364e35~amd64~en-US~10.0.18362.1 [HRESULT = 0x800f0831 - CBS_E_STORE_CORRUPTION]
2021-01-27 14:33:36, Info CBS Failed to collect affected dependent package for package: Microsoft-Windows-OneDrive-Setup-WOW64-Package~31bf3856ad364e35~amd64~~10.0.18362.1 [HRESULT = 0x800f0831 - CBS_E_STORE_CORRUPTION]
2021-01-27 14:33:36, Info CBS Failed to process package watchlist. [HRESULT = 0x800f0831 - CBS_E_STORE_CORRUPTION]
2021-01-27 14:33:36, Info CBS Failed to plan execution. [HRESULT = 0x800f0831 - CBS_E_STORE_CORRUPTION]
2021-01-27 14:33:36, Error CBS Failed to process single phase execution. [HRESULT = 0x800f0831 - CBS_E_STORE_CORRUPTION]
2021-01-27 14:33:36, Info CBS WER: Generating failure report for package: Package_for_RollupFix~31bf3856ad364e35~amd64~~18362.1016.1.5, status: 0x800f0831, failure source: CBS Other, start state: Absent, target state: Installed, client id: UpdateAgentLCU
2021-01-27 14:33:36, Info CBS Not able to query DisableWerReporting flag. Assuming not set... [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2021-01-27 14:33:36, Info CBS Added C:\WINDOWS\Logs\CBS\CBS.log to WER report.
2021-01-27 14:33:36, Info CBS Added C:\WINDOWS\Logs\CBS\CbsPersist_20210127131927.cab to WER report.
2021-01-27 14:33:36, Info CBS Added C:\WINDOWS\Logs\CBS\CbsPersist_20200908105341.cab to WER report.
2021-01-27 14:33:36, Info CBS Added C:\WINDOWS\Logs\CBS\CbsPersist_20200908104156.cab to WER report.
2021-01-27 14:33:36, Info CBS Added C:\WINDOWS\Logs\CBS\CbsPersist_20200826080142.cab to WER report.
2021-01-27 14:33:36, Info CBS Added C:\WINDOWS\Logs\CBS\CbsPersist_20200825180855.cab to WER report.
2021-01-27 14:33:36, Info CBS Not able to add %windir%\winsxs\poqexec.log to WER report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2021-01-27 14:33:36, Info CBS Not able to add %windir%\winsxs\pending.xml to WER report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2021-01-27 14:33:36, Info CBS Not able to add %windir%\winsxs\pending.xml.bad to WER report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2021-01-27 14:33:36, Info CBS Reboot mark cleared
2021-01-27 14:33:36, Info CBS Winlogon: Simplifying Winlogon CreateSession notifications
2021-01-27 14:33:36, Info CBS Winlogon: Deregistering for CreateSession notifications
2021-01-27 14:33:36, Info CBS FinalCommitPackagesState: Started persisting state of packages
2021-01-27 14:33:36, Info CBS Reporting package change for package: Package_for_RollupFix~31bf3856ad364e35~amd64~~18362.1016.1.5, current: Absent, pending: Default, start: Absent, applicable: Installed, target: Installed, limit: Installed, status: 0x0, failure source: CBS Other, reboot required: False, client id: UpdateAgentLCU, initiated offline: False, execution sequence: 62, first merged sequence: 62, reboot reason: REBOOT_NOT_REQUIRED, RM App session: -1, RM App name: N/A, FileName in use: N/A, release type: Update, OC operation: False, download source: 0, download time (secs): 4294967295, download status: 0x0 (S_OK), Express download: False, Download Size: 0
2021-01-27 14:33:36, Info CBS Reporting package change completion for package: Package_for_RollupFix~31bf3856ad364e35~amd64~~18362.1016.1.5, current: Absent, original: Absent, target: Installed, status: 0x800f0831, failure source: CBS Other, failure details: "(null)", client id: UpdateAgentLCU, initiated offline: False, execution sequence: 62, first merged sequence: 62, pending decision: InteractiveInstallFailed, primitive execution context: Interactive
2021-01-27 14:33:36, Info CBS The store corruption status report is incomplete. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2021-01-27 14:33:37, Info CBS Plan time performance datapoint is invalid. [HRESULT = 0x80070490 - ERROR_NOT_FOUND]
2021-01-27 14:33:37, Info CBS Resolve time performance datapoint is invalid. [HRESULT = 0x80070490 - ERROR_NOT_FOUND]
2021-01-27 14:33:37, Info CBS Stage time performance datapoint is invalid. [HRESULT = 0x80070490 - ERROR_NOT_FOUND]
2021-01-27 14:33:37, Info CBS Execute time performance datapoint is invalid. [HRESULT = 0x80070490 - ERROR_NOT_FOUND]
2021-01-27 14:33:37, Info CBS FinalCommitPackagesState: Completed persisting state of packages
2021-01-27 14:33:37, Info CBS Enabling LKG boot option
2021-01-27 14:33:37, Info CBS Exec: End: nested restore point - complete.
2021-01-27 14:33:37, Info CBS Exec: Download qualification evaluation, business scenario: Automatic Corruption Repair
2021-01-27 14:33:37, Info CBS Exec: Network type is 2
2021-01-27 14:33:37, Info CBS Exec: Network type is 2, which is restricted
2021-01-27 14:33:37, Info CBS Exec: Metered network detected, give up WU download attempt
2021-01-27 14:33:37, Info CBS Exec: No local source available and WU download cannot be used, skip repair.
2021-01-27 14:33:37, Info CBS Exec: Processing complete. Session: <!-I_DELETED_THIS_INFO-!>, Package: Package_for_RollupFix~31bf3856ad364e35~amd64~~18362.1016.1.5, Identifier: KB4565351 [HRESULT = 0x800f0831 - CBS_E_STORE_CORRUPTION]
2021-01-27 14:33:37, Error CBS Failed to perform operation. [HRESULT = 0x800f0831 - CBS_E_STORE_CORRUPTION]
2021-01-27 14:33:37, Info CBS Session: <!-I_DELETED_THIS_INFO-!> finalized. Reboot required: no [HRESULT = 0x800f0831 - CBS_E_STORE_CORRUPTION]
2021-01-27 14:33:37, Info CBS Failed finalizing session [HRESULT = 0x800f0831 - CBS_E_STORE_CORRUPTION]
2021-01-27 14:33:37, Info CBS Failed to call Process on TiWorker session [HRESULT = 0x800f0831]
2021-01-27 14:36:26, Info CBS Trusted Installer is shutting down because: SHUTDOWN_REASON_AUTOSTOP
2021-01-27 14:36:27, Info CBS Maint: idle processing paused
2021-01-27 14:36:27, Info CBS TiWorker signaled for shutdown, going to exit.

windows-10-general
· 3
10 |1000 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,

Just checking in to see if the information provided was helpful.

If the reply helped you, please remember to accept as answer.
If no, please reply and tell us the current situation in order to provide further help.

1 Vote 1 ·

The only option at the store was to install OneDrive, I did.

The problem version of OneDrive in this machine is another. I went to apps and uninstalled it, name:Microsoft OneDrive. The OneDrive at the store was listed as a different app.

W.U. still fails cumul. and feature updts at 20% related to the original faulty OneDrive.
Some info from cbs log:

CBS Repr: After UUP download, some manifests are still missing
Failed to collect payload and there is nothing to repair. [HRESULT = 0x800f081f - CBS_E_SOURCE_MISSING]
...
CBS MUM Missing (n) Microsoft-Windows-OneDrive-Setup-Package~31bf3856ad364e35~amd64~en-US~10.0.18362.1
Repair failed: Missing replacement mum/cat pair.
CBS MUM Missing (n) Microsoft-Windows-OneDrive-Setup-Package~31bf3856ad364e35~amd64~~10.0.18362.1
Repair failed: Missing replacement mum/cat pair.
CBS MUM Missing (n) Microsoft-Windows-OneDrive-Setup-WOW64-Package~31bf3856ad364e35~amd64~en-US~10.0.18362.1
Repair failed: Missing replacement mum/cat pair.

0 Votes 0 ·

Thank you for you support.

I'm going to try Jenny's suggestion about the OneDrive from the store, since it is the only answer which seems reasonable. No offense but, I did mention windows 10 in S mode.

This OS doesn't allow anything to be run on the machine which hasn't come from the store: command prompt, for example and other tools are simply denied for execution. Makes absolutely no sense to me, but even the anti-virus is blocked : I'm not allowed to make a scan on demand (completely useless) and even to configure the antivirus to allways perform full scans. Everybody knows it is configured by default with the lightest options, which are the most unsecure.

Sorry to vent out, but this version of windows, although it has security advantages, seems to be botched in other ways.

Gonna post back as soon as I can.

BRgrds

0 Votes 0 ·
SSengupta-4080 avatar image
0 Votes"
SSengupta-4080 answered ·

Open Settings > Updates & Secuirty > Troubleshoot > Windows Update > Run the troubleshooter

·
10 |1000 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.

KapilArya avatar image
0 Votes"
KapilArya answered ·

Hello,

Please run Windows Update troubleshooter from Settings app > Update & security > Troubleshoot > Additional troubleshooters. See if it works.

If that doesn't work, try this:

Open administrative Command Prompt and type following commands one-by-one followed by Enter key.

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

Close Command Prompt and see if Windows Updates works then.

Reset Windows Update components, if you continue to face this issue:

https://docs.microsoft.com/en-us/windows/deployment/update/windows-update-resources?WT.mc_id=WD-MVP-5000693

Let us know if this helps!

·
10 |1000 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.

JennyFeng-MSFT avatar image
0 Votes"
JennyFeng-MSFT answered ·

@LucioCastro-0927
Hi,
Try uninstalling the OneDrive application directly from the Windows 10 store, there you will have the option to reinstall it.
If that doesn't work, if you have the install media for your current build, you could try doing an in-place upgrade which would replace those files. It is started from the Windows desktop and you select the setup.exe file from the Install Media.
https://docs.microsoft.com/en-gb/windows-hardware/manufacture/desktop/configure-a-windows-repair-source
Hope above information can help you.

============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.
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.

·
10 |1000 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.

JuanSobrado-3258 avatar image
0 Votes"
JuanSobrado-3258 answered ·

Hello @LucioCastro-0927

Please try below:

Open admin cmd and run:

dism /online /cleanup-image /restorehealth /source:

In the /source: argument specify the full path from were you have saved the working manfiest. Alternatively you can use another computer in your network that has the working file as source.

Regards,


If the Answer is helpful, please click "Accept Answer" and upvote it.
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.

·
10 |1000 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.