Hi,
After noticing update issues with KB4601554, KB4023057 and KB5004237, I found multiple problems
1. sfc fails
>sfc /scannow
Windows Resource Protection could not start the repair service
2. dism
>dism /Online /Cleanup-Image /RestoreHealth
Version: 10.0.19043.964
Error: 193
%1 is not a valid Win32 application
The DISM log file can be found at C:\Windows\logs\dism\dism.log
In the dism.log
2021-07-22 22:24:39, Error DISM DISM Package Manager: PID=33692 TID=35300 Failed finalizing changes. - CDISMPackageManager::Internal_Finalize(hr:0x800700c1)
2021-07-22 22:24:39, Error DISM DISM Package Manager: PID=33692 TID=35300 Failed processing package changes with session option CbsSessionOptionRepairStoreCorruption - CDISMPackageManager::RestoreHealth(hr:0x800700c1)
2021-07-22 22:24:39, Error DISM DISM Package Manager: PID=33692 TID=35300 Failed to restore the image health. - CPackageManagerCLIHandler:rocessCmdLine_CleanupImage(hr:0x800700c1)
2021-07-22 22:24:39, Error DISM DISM Package Manager: PID=33692 TID=35300 Failed while processing command cleanup-image. - CPackageManagerCLIHandler::ExecuteCmdLine(hr:0x800700c1)
2021-07-22 22:24:39, Info DISM DISM Package Manager: PID=33692 TID=35300 Further logs for online package and feature related operations can be found at %WINDIR%\logs\CBS\cbs.log - CPackageManagerCLIHandler::ExecuteCmdLine
2021-07-22 22:24:39, Error DISM DISM.EXE: DISM Package Manager processed the command line but failed. HRESULT=800700C1
In the cbs.log
2021-07-22 22:23:19, Info CBS Failed to initialize CBS class factory. [HRESULT = 0x800700c1 - ERROR_BAD_EXE_FORMAT]
2021-07-22 22:23:19, Info CBS TiWorker: Client requests SFP repair object.
2021-07-22 22:23:19, Info CBS Failed to load Core DLL from path: C:\WINDOWS\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.19041.963_none_e7400f2b262ca554\\cbscore.dll [HRESULT = 0x800700c1 - ERROR_BAD_EXE_FORMAT]
2021-07-22 22:23:19, Info CBS Failed to initialize CBS class factory. [HRESULT = 0x800700c1 - ERROR_BAD_EXE_FORMAT]
2021-07-22 22:23:19, Info CBS Failed to get class factory for service: 1 [HRESULT = 0x800700c1]
2021-07-22 22:24:39, Info CBS Failed to load Core DLL from path: C:\WINDOWS\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.19041.963_none_e7400f2b262ca554\\cbscore.dll [HRESULT = 0x800700c1 - ERROR_BAD_EXE_FORMAT]
2021-07-22 22:24:39, Info CBS Failed to initialize CBS class factory. [HRESULT = 0x800700c1 - ERROR_BAD_EXE_FORMAT]
2021-07-22 22:24:39, Info CBS Failed to load Core DLL from path: C:\WINDOWS\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.19041.963_none_e7400f2b262ca554\\cbscore.dll [HRESULT = 0x800700c1 - ERROR_BAD_EXE_FORMAT]
2021-07-22 22:24:39, Info CBS Failed to initialize CBS class factory. [HRESULT = 0x800700c1 - ERROR_BAD_EXE_FORMAT]
2021-07-22 22:24:39, Info CBS Failed to create a worker session [HRESULT = 0x800700c1]
2021-07-22 22:24:39, Info CBS Failed to create worker session. [HRESULT = 0x800700c1]
2021-07-22 22:24:39, Info CBS Failed to get worker session. [HRESULT = 0x800700c1]
2021-07-22 22:26:40, Info CBS Trusted Installer is shutting down because: SHUTDOWN_REASON_AUTOSTOP
2021-07-22 22:26:40, Info CBS CbsCoreStopIdleProcessing is not implemented. [HRESULT = 0x80004001 - E_NOTIMPL]
3. Tried a Windows in-place upgrade
-> fails
4. Other side-effects: cannot upgrade NVIDIA driver anymore
Upgrading the NVIDIA driver fails
After noticing update issues with KB4601554, KB4023057 and KB5004237, I found multiple problems
1. sfc fails
>sfc /scannow
Windows Resource Protection could not start the repair service
2. dism
>dism /Online /Cleanup-Image /RestoreHealth
Version: 10.0.19043.964
Error: 193
%1 is not a valid Win32 application
The DISM log file can be found at C:\Windows\logs\dism\dism.log
In the dism.log
2021-07-22 22:24:39, Error DISM DISM Package Manager: PID=33692 TID=35300 Failed finalizing changes. - CDISMPackageManager::Internal_Finalize(hr:0x800700c1)
2021-07-22 22:24:39, Error DISM DISM Package Manager: PID=33692 TID=35300 Failed processing package changes with session option CbsSessionOptionRepairStoreCorruption - CDISMPackageManager::RestoreHealth(hr:0x800700c1)
2021-07-22 22:24:39, Error DISM DISM Package Manager: PID=33692 TID=35300 Failed to restore the image health. - CPackageManagerCLIHandler:rocessCmdLine_CleanupImage(hr:0x800700c1)
2021-07-22 22:24:39, Error DISM DISM Package Manager: PID=33692 TID=35300 Failed while processing command cleanup-image. - CPackageManagerCLIHandler::ExecuteCmdLine(hr:0x800700c1)
2021-07-22 22:24:39, Info DISM DISM Package Manager: PID=33692 TID=35300 Further logs for online package and feature related operations can be found at %WINDIR%\logs\CBS\cbs.log - CPackageManagerCLIHandler::ExecuteCmdLine
2021-07-22 22:24:39, Error DISM DISM.EXE: DISM Package Manager processed the command line but failed. HRESULT=800700C1
In the cbs.log
2021-07-22 22:23:19, Info CBS Failed to initialize CBS class factory. [HRESULT = 0x800700c1 - ERROR_BAD_EXE_FORMAT]
2021-07-22 22:23:19, Info CBS TiWorker: Client requests SFP repair object.
2021-07-22 22:23:19, Info CBS Failed to load Core DLL from path: C:\WINDOWS\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.19041.963_none_e7400f2b262ca554\\cbscore.dll [HRESULT = 0x800700c1 - ERROR_BAD_EXE_FORMAT]
2021-07-22 22:23:19, Info CBS Failed to initialize CBS class factory. [HRESULT = 0x800700c1 - ERROR_BAD_EXE_FORMAT]
2021-07-22 22:23:19, Info CBS Failed to get class factory for service: 1 [HRESULT = 0x800700c1]
2021-07-22 22:24:39, Info CBS Failed to load Core DLL from path: C:\WINDOWS\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.19041.963_none_e7400f2b262ca554\\cbscore.dll [HRESULT = 0x800700c1 - ERROR_BAD_EXE_FORMAT]
2021-07-22 22:24:39, Info CBS Failed to initialize CBS class factory. [HRESULT = 0x800700c1 - ERROR_BAD_EXE_FORMAT]
2021-07-22 22:24:39, Info CBS Failed to load Core DLL from path: C:\WINDOWS\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.19041.963_none_e7400f2b262ca554\\cbscore.dll [HRESULT = 0x800700c1 - ERROR_BAD_EXE_FORMAT]
2021-07-22 22:24:39, Info CBS Failed to initialize CBS class factory. [HRESULT = 0x800700c1 - ERROR_BAD_EXE_FORMAT]
2021-07-22 22:24:39, Info CBS Failed to create a worker session [HRESULT = 0x800700c1]
2021-07-22 22:24:39, Info CBS Failed to create worker session. [HRESULT = 0x800700c1]
2021-07-22 22:24:39, Info CBS Failed to get worker session. [HRESULT = 0x800700c1]
2021-07-22 22:26:40, Info CBS Trusted Installer is shutting down because: SHUTDOWN_REASON_AUTOSTOP
2021-07-22 22:26:40, Info CBS CbsCoreStopIdleProcessing is not implemented. [HRESULT = 0x80004001 - E_NOTIMPL]
3. Tried a Windows in-place upgrade
-> fails
4. Other side-effects: cannot upgrade NVIDIA driver anymore
Upgrading the NVIDIA driver fails