Failed finalizing changes. - CDISMPackageManager::Internal_Finalize(hr:0x800f0831)

Anonymous
2024-05-21T09:11:03+00:00

Hello friends!

I have a problem with windows server 2022 21h2. I cant install all security updates.

Windows update "Security Update for Windows (KB5037782)" could not be installed because of error 2147956481 "The referenced assembly could not be found." (Command line: ""C:\Windows\system32\wusa.exe" "C:\Users\user\Downloads\windows10.0-kb5037782-x64_a28aa2576fc6b120b127acfbb901d3546ba9db82.msu" ")

dism

2024-05-21 11:56:50, Info DISM DISM Package Manager: PID=15168 TID=16404 CBS is being initialized for online use. More information about CBS actions can be located at: %windir%\logs\cbs\cbs.log - CDISMPackageManager::Initialize
2024-05-21 11:56:50, Info DISM DISM Package Manager: PID=15168 TID=16404 Loaded servicing stack for online use only. - CDISMPackageManager::CreateCbsSession
2024-05-21 11:56:50, Info DISM DISM Package Manager: PID=15168 TID=16404 Processing the top level command token(add-package). - CPackageManagerCLIHandler::Private_ValidateCmdLine
2024-05-21 11:56:50, Info DISM DISM Package Manager: PID=15168 TID=16404 Attempting to route to appropriate command handler. - CPackageManagerCLIHandler::ExecuteCmdLine
2024-05-21 11:56:50, Info DISM DISM Package Manager: PID=15168 TID=16404 Routing the command... - CPackageManagerCLIHandler::ExecuteCmdLine
2024-05-21 11:56:50, Info DISM DISM Package Manager: PID=15168 TID=16404 Encountered the option "packagepath" with value "C:\Temp\CAB\Windows10.0-KB5037782-x64.cab" - CPackageManagerCLIHandler::Private_GetPackagesFromCommandLine
2024-05-21 11:56:51, Info DISM DISM Package Manager: PID=15168 TID=16404 Package Multiple_Packages~~~~0.0.0.0 with CBS state 0(CbsInstallStateAbsent) being mapped to dism state 1(DISM_INSTALL_STATE_NOTPRESENT) - CDISMPackage::LogInstallStateMapping
2024-05-21 11:56:51, Info DISM DISM Package Manager: PID=15168 TID=16404 Initiating Changes on Package with values: 4, 7 - CDISMPackage::Internal_ChangePackageState
2024-05-21 11:56:51, Info DISM DISM Package Manager: PID=15168 TID=16404 CBS session options=0x100! - CDISMPackageManager::Internal_Finalize
2024-05-21 11:59:21, Info DISM DISM Package Manager: PID=15168 TID=19204 Error in operation: (null) (CBS HRESULT=0x800f0831) - CCbsConUIHandler::Error
2024-05-21 11:59:21, Error DISM DISM Package Manager: PID=15168 TID=16404 Failed finalizing changes. - CDISMPackageManager::Internal_Finalize(hr:0x800f0831)
2024-05-21 11:59:21, Error DISM DISM Package Manager: PID=15168 TID=16404 Failed processing package changes - CDISMPackageManager::ProcessChanges(hr:0x800f0831)
2024-05-21 11:59:21, Info DISM DISM Package Manager: PID=15168 TID=16404 Loaded servicing stack for online use only. - CDISMPackageManager::CreateCbsSession
2024-05-21 11:59:21, Error DISM DISM Package Manager: PID=15168 TID=16404 Failed while processing command add-package. - CPackageManagerCLIHandler::ExecuteCmdLine(hr:0x800f0831)
2024-05-21 11:59:21, Info DISM DISM Package Manager: PID=15168 TID=16404 Further logs for online package and feature related operations can be found at %WINDIR%\logs\CBS\cbs.log - CPackageManagerCLIHandler::ExecuteCmdLine
2024-05-21 11:59:21, Error DISM DISM.EXE: DISM Package Manager processed the command line but failed. HRESULT=800F0831
2024-05-21 11:59:21, Info DISM DISM Package Manager: PID=15168 TID=16404 Finalizing CBS core. - CDISMPackageManager::Finalize
2024-05-21 12:00:08, Info DISM DISM Manager: PID=8492 TID=18804 Closing session event handle 0x218 - CDISMManager::CleanupImageSessionEntry
2024-05-21 12:00:08, Info DISM DISM.EXE: Image session has been closed. Reboot required=no.
2024-05-21 12:00:08, Info DISM DISM.EXE:
2024-05-21 12:00:08, Info DISM DISM.EXE: <----- Ending Dism.exe session ----->

Windows for business | Windows Server | Devices and deployment | Install Windows updates, features, or roles

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. To protect privacy, user profiles for migrated questions are anonymized.

0 comments No comments
{count} votes
Accepted answer
  1. Anonymous
    2024-05-21T14:32:54+00:00

    Hello s.belousov,

    the error code 0x800f0831 indicates that the package could not be installed. You may need to check the CBS log located at %windir%\logs\cbs\cbs.log for more information.

    Additionally, you can try to resolve this error code by following the steps in Error 0x800f0831 when installing an update - Configuration Manager | Microsoft Learn.

    Best regards,

    Lei

    0 comments No comments

0 additional answers

Sort by: Most helpful