Windows 10 DISM Servicing Stack Error 0x800f0823

Ted Clark 96 Reputation points
2021-05-25T03:18:39.843+00:00

I am using DISM to update a Windows 10 image and I keep getting an error that it's unable to install the latest Cumulative Update (2021-05 Cumulative Update for Windows 10 Version 2004 for ARM64-based Systems (KB5003173)) where in the DISM log file it shows the error being

".... requires Servicing Stack v10.0.19041.504 but current Servicing Stack is v10.0.19041.153. [HRESULT = 0x800f0823 - CBS_E_NEW_SERVICING_STACK_REQUIRED] "

I have installed the latest Servicing Stack Update for Windows 10, 2021-05 Servicing Stack Update for Windows 10 Version 1803 for ARM64-based Systems (KB5003364) as well as "2021-01 Servicing Stack Update for Windows 10 Version 2004 for x64-based Systems (KB4598481) " but neither has worked since it still doesn't let me run the cumulative update. What am I missing, doing wrong, or both?

The build version from the Windows ADK that I'm using shows as "Image Version 10.0.19041.208" which I found is from May 2020, is that the problem? Do I need to install each cumulative update in succession? Sorry if this seems like a basic question but I can't find an answer online on what I'm doing wrong. Any and all help is appreciated. Thanks!

Windows for business | Windows Client for IT Pros | User experience | Other
{count} votes

Accepted answer
  1. Ted Clark 96 Reputation points
    2021-05-31T13:29:19.527+00:00

    So I did some additional testing to run the updates using the "Express Deployment Tool". When I attempted to run these updates via that application it wouldn't install either. I then simply took my base image, ran WinPE on a target machine, and booted to Windows. I then ran Windows Update and saw that the reason the updates I had downloaded from the Microsoft Update Catalog was that what I had downloaded were for "Windows 10 2004 amd64", while what Windows Update downloaded and successfully installed were the "Windows 10 2004 x64" updates. I then downloaded those corresponding updates from the Microsoft Update Catalog, attempted to install them in the Express Deployment Tool and they successfully installed.

    It appears that though it was saying the architecture was amd64, the actual install was a x64. This is why the updates weren't installing.

    I've had other issues with the Express Deployment Tool, but that's a different topic for potentially a different post.

    Thanks for your assistance, I really do appreciate your feedback and suggestions.

    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Jenny Feng 14,246 Reputation points
    2021-05-25T07:22:09.43+00:00

    @Ted Clark
    Hi,
    The update error 0x800f0823 mostly occurs when you forgot to apply the recent servicing stack update while installing a “.msu update package” on your computer.

    The Windows 10 20H2 and Windows 10 2004 Security Stack Update is included in the Update Package as of the March 2021 release. If you have not yet updated to the current release, the previous Security Stack Update for these versions is KB4598481. This version needs to be installed before updating to the March 2021 update.
    https://www.catalog.update.microsoft.com/Search.aspx?q=KB4598481
    What is your version of Windows 10?
    You may need to download the corresponding AMR64 version.
    Please check if you have installed the correct version.

    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.

    0 comments No comments

  2. Ted Clark 96 Reputation points
    2021-05-25T16:28:19.467+00:00

    Thanks for your response.

    In terms of the version of Windows it's using the Windows ADK 2004 and amd64 architecture. Below is from the details from the DIM log file.

    "Target image information: OS Version=10.0.19041.208, Image architecture=amd64"

    I was able to run the update (KB4598481) that you recommended above, and it ran successfully. Following that I tried running the Cumulative Update released on March 15th (KB5001567) and got a new error code " Error:0x80070002 "

    Here is a summary from the DISM log file of the related events around that error code:

    2021-05-25 11:14:42, Info DPX CreateFileW failed, FileName:C:\temp\lab\repository\cupdates\wwindows10.0-kb5001567-arm64_7b9a00e98520c487d5c5ca1df3c944193d13e971.msu, Error:0x80070002
    2021-05-25 11:14:42, Info DPX ProvideRequestedDataByFile failed to open response file: C:\temp\lab\repository\cupdates\wwindows10.0-kb5001567-arm64_7b9a00e98520c487d5c5ca1df3c944193d13e971.msu

    2021-05-25 11:14:42, Info DPX DpxException hr=0x80070002 code=0x020217
    2021-05-25 11:14:42, Error DISM DISM Package Manager: PID=13156 TID=672 Failed to start the DPX job to extract MSU files. - CMsuPackage::Expand(hr:0x80070002)
    2021-05-25 11:14:43, Error DISM DISM Package Manager: PID=13156 TID=672 Failed to expand the MSU file into temp folder C:\Users\THEOCL~1\AppData\Local\Temp\D1110B04-906F-49CB-BE08-BB22AC76B4C0. - CMsuPackage::Install

    2021-05-25 11:14:44, Info CSI 00000002 CSI Store 2205761780352 initialized
    2021-05-25 11:14:44, Info CBS Build: 19041.1.amd64fre.vb_release.191206-1406
    2021-05-25 11:14:44, Info CBS Session: 13156_293245484 initialized by client DISM Package Manager Provider, external staging directory: (null), external registry directory: (null)
    2021-05-25 11:14:44, Error DISM DISM Package Manager: PID=13156 TID=672 Failed while processing command add-package. - CPackageManagerCLIHandler::ExecuteCmdLine(hr:0x80070002)
    2021-05-25 11:14:44, Error DISM DISM.EXE: DISM Package Manager processed the command line but failed. HRESULT=80070002

    I then realized that maybe I had installed the wrong March Cumulative update when I re-examined the list for March updates, realizing there was one released on March 8th before the March 15th one, and attempted to install this cumulative update (KB5000802)

    I got the same "Error:0x80070002" result. I looked up this error code and saw it's something with the Windows Update not being able to be applied, but most items seem to indicate a resolution by booting up the computer and manually installing via Windows Update. Since this is for an image build process, I want to install these updates via DISM.

    Any suggestions on what I need to be doing to get the updates installed? Did I install the wrong Cumulative Update after successfully installing the Servicing Stack Update KB49598481?

    Any help is appreciated. Thanks again for your earlier reply and assistance.


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.