Unable to Update Windows (0x800f0900)

Brett Lin 0 Reputation points
2023-09-26T05:40:02.2666667+00:00

Current windows version is 21H1, when trying to update to latest version I get error code 0x800f0900.

Tried running sfc /scannow and got

Windows Resource Protection found corrupt files but was unable to fix some of them. For online repairs, details are included in the CBS log file located at windir\Logs\CBS\CBS.log. For example C:\Windows\Logs\CBS\CBS.log. For offline repairs, details are included in the log file provided by the /OFFLOGFILE flag.

Here is a link to the CBS.log since it is 10.7 MB and can't be uploaded here.

https://drive.google.com/file/d/1zaALZRm9SjPoJF6Vsj0_aewfU0FD-xXN/view?usp=drive_link

Any help on how to fix this would be greatly appreciated.

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,567 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Juan Sobrado - MSFT 421 Reputation points Microsoft Employee
    2023-09-26T07:15:22.52+00:00

    Hello @Brett Lin

    The error [HRESULT = 0x800f0900 - CBS_E_XML_PARSER_FAILURE]

    is observed in the below line from CBS.log:

    CBS Failed to parse package manifest: \?\C:\Windows\Servicing\Packages\Package_1_for_KB5012157~31bf3856ad364e35~amd64~~10.0.4501.1.mum [HRESULT = 0x800f0900 - CBS_E_XML_PARSER_FAILURE]

    The manifest Package_1_for_KB5012157~31bf3856ad364e35~amd64~~10.0.4501.1.mum

    The OS tries ACR (Automatic Corruption Repair) to get the correct payload from Windows Update but it will failed, below the results:

    2023-09-26 01:23:19, Info CBS =================================

    2023-09-26 01:23:19, Info CBS Checking System Update Readiness.

    2023-09-26 01:23:19, Info CBS

    2023-09-26 01:23:19, Info CBS (p) CBS Catalog Corrupt (n) Package_1_for_KB5012157~31bf3856ad364e35~amd64~~10.0.4501.1

    2023-09-26 01:23:19, Info CBS Repair failed: Missing replacement mum/cat pair.

    2023-09-26 01:23:19, Info CBS (p) CBS Catalog Corrupt (n) Package_2_for_KB5012157~31bf3856ad364e35~amd64~~10.0.4501.1

    2023-09-26 01:23:19, Info CBS Repair failed: Missing replacement mum/cat pair.

    2023-09-26 01:23:19, Info CBS (p) CBS Catalog Corrupt (n) Package_3_for_KB5012157~31bf3856ad364e35~amd64~~10.0.4501.1

    2023-09-26 01:23:19, Info CBS Repair failed: Missing replacement mum/cat pair.

    2023-09-26 01:23:19, Info CBS (p) CSI Manifest Corrupt (n) amd64_be94ba2a59104a793e7959cd2ef46a93_b03f5f7f11d50a3a_4.0.15805.451_none_6d7f2817da97cdfd

    2023-09-26 01:23:19, Info CBS Repair failed: Missing replacement manifest.

    2023-09-26 01:23:19, Info CBS (p) CBS Catalog Corrupt (n) Package_4_for_KB5012157~31bf3856ad364e35~amd64~~10.0.4501.1

    2023-09-26 01:23:19, Info CBS Repair failed: Missing replacement mum/cat pair.

    2023-09-26 01:23:19, Info CBS (p) CBS Catalog Corrupt (n) Package_5_for_KB5012157~31bf3856ad364e35~amd64~~10.0.4501.1

    2023-09-26 01:23:19, Info CBS Repair failed: Missing replacement mum/cat pair.

    2023-09-26 01:23:19, Info CBS (p) CSI Manifest Corrupt (n) amd64_d213941c1fa7cc39671135819dc776c2_b03f5f7f11d50a3a_10.0.19200.580_none_0ab8a9dd641cf066

    2023-09-26 01:23:19, Info CBS Repair failed: Missing replacement manifest.

    2023-09-26 01:23:19, Info CBS (p) CSI Manifest Corrupt (n) amd64_dd793b97c6975cdf7c7fbe307c9bee69_b03f5f7f11d50a3a_10.0.19200.580_none_6b8d733204e95c7a

    2023-09-26 01:23:19, Info CBS Repair failed: Missing replacement manifest.

    2023-09-26 01:23:19, Info CBS (p) CBS Catalog Corrupt (n) Package_6_for_KB5012157~31bf3856ad364e35~amd64~~10.0.4501.1

    2023-09-26 01:23:19, Info CBS Repair failed: Missing replacement mum/cat pair.

    2023-09-26 01:23:19, Info CBS (p) CBS Catalog Corrupt (n) Package_7_for_KB5012157~31bf3856ad364e35~amd64~~10.0.4501.1

    2023-09-26 01:23:19, Info CBS Repair failed: Missing replacement mum/cat pair.

    2023-09-26 01:23:19, Info CBS (p) CBS Catalog Corrupt (n) Package_for_DotNetRollup~31bf3856ad364e35~amd64~~10.0.4501.1

    2023-09-26 01:23:19, Info CBS Repair failed: Missing replacement mum/cat pair.

    These files need to be replaced with a copy of the .mum files reported above as failed to repair. You can check fo a copy of this files from a working machine , copy and replace them in their location.

    Re run : "SFC /scannow"

    then run "dism /online /cleanup-image /restorehealth
    then check section: Checking System Update Readiness and see if above files are no longer showing up. If not, try update install again.

    Regards,


  2. Juan Sobrado - MSFT 421 Reputation points Microsoft Employee
    2023-10-08T19:20:37.04+00:00

    Hello @Brett Lin

    An alternate option is to "force" the reinstall of the kb that contains this .mum file.

    Sure, here’s a concise tutorial on how to force reinstall KB5012157 using DISM:

    1. Download the Update: Get KB5012157 from the Microsoft Update Catalog. Choose the version matching your system architecture (x64, x86, or ARM64).
    2. Extract the .cab File: Use the expand command to extract the .cab file from the downloaded .msu file.
    3. Reinstall Using DISM: Run DISM as an administrator with /Online /Add-Package /PackagePath options to reinstall the update using the extracted .cab file.
    4. Restart Your System: After installation, restart your computer for changes to take effect.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.