[SOLVED] Corrupt service stack!? Windows 10Pro 64B

Razorflash

New member
Joined
Mar 29, 2022
Posts
3
Dear Sir
I cannot longer use Windows Update to install "2022-02, kumulativ uppdatering för Windows 10 Version 21H2 för x86-baserade system (KB5010415)". SFC and DISM command doesn't work anymore.
SFC get the error "Windows Resource Protection could not start the repair service" and "Dism.exe /Online /Cleanup-image /AnalyzeComponentStore" goves error 193, error text "Command not a valid win32 program".
I suspect that the Windows 10 Service Pack library and/or its files have been corrupted. The library is named: C:\Windows\WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.19041.1613_none_7df538047ca074bb.
Your earlier suggestions to solutions for alike issues seems to be adapted to certain circumstances connected to the PC's OS in question.
I don't want to do a clean reinstall as I have about 550 apps running in my environment and it is a computer, it should be repairable if the disks are ok, which they are.
OS Info
Windows 10 Pro
Version 21H2
Insalled 2022-01-20
OS-version 19044.1586
Interface Windows Feature Experience Pack 120.2212.4170.0

The Dism log provided as a zip file
CBS log:
CBS TI: --- Initializing Trusted Installer ---
CBS TI: Last boot time: 2022-03-30 22:16:56.500
CBS Starting TrustedInstaller initialization.
CBS Lock: New lock added: CCbsPublicSessionClassFactory, level: 30, total lock:4
CBS Lock: New lock added: CCbsPublicSessionClassFactory, level: 30, total lock:5
CBS Lock: New lock added: WinlogonNotifyLock, level: 8, total lock:6
CBS Ending TrustedInstaller initialization.
CBS Starting the TrustedInstaller main loop.
CBS TrustedInstaller service starts successfully.
CBS Winlogon: Registering for CreateSession notifications
CBS Winlogon: Loading SysNotify DLL
CBS Winlogon: Starting notify server
CBS Starting TiWorker initialization.
CBS Lock: New lock added: TiWorkerClassFactory, level: 30, total lock:2
CBS Ending TiWorker initialization.
CBS Starting the TiWorker main loop.
CBS TiWorker starts successfully.
CBS Lock: New lock added: CCbsWorker, level: 5, total lock:3
CBS Universal Time is: 2022-03-31 12:34:22.222
CBS Loaded Servicing Stack v10.0.19041.1613 with Core: C:\Windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.19041.1613_none_7df538047ca074bb\cbscore.dll
CBS Build: 19041.1.amd64fre.vb_release.191206-1406
CBS Failed to load WCP DLL: C:\Windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.19041.1613_none_7df538047ca074bb\wcp.dll [HRESULT = 0x800700c1 - ERROR_BAD_EXE_FORMAT]
CBS Failed to load WCP DLL. [HRESULT = 0x800700c1 - ERROR_BAD_EXE_FORMAT]
CBS Failed to initialize the Core DLL: C:\Windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.19041.1613_none_7df538047ca074bb\\cbscore.dll [HRESULT = 0x800700c1 - ERROR_BAD_EXE_FORMAT]
CBS Failed to initialize CBS class factory. [HRESULT = 0x800700c1 - ERROR_BAD_EXE_FORMAT]
CBS Startup: Failed initializing for create session notification. [HRESULT = 0x800700c1]
CBS Failed during startup processing, continuing with Trusted Installer execution [HRESULT = 0x800700c1]
CBS Startup processing thread terminated normally
CBS TiWorker signaled for shutdown, going to exit.
CBS Deleting the contents of directory: \\?\C:\Windows\CbsTemp
CBS Deletion of: \\?\C:\Windows\CbsTemp successful
CBS Lock: Lock removed: TiWorkerClassFactory, level: 30, total lock:3
CBS Lock: Lock removed: CCbsWorker, level: 5, total lock:2
CBS Ending the TiWorker main loop.
CBS Starting TiWorker finalization.
CBS Trusted Installer core was not initialized.
CBS Ending TiWorker finalization.
CBS TI: Startup Processing completes, release startup processing lock.
CBS Starting TiWorker initialization.
CBS Lock: New lock added: TiWorkerClassFactory, level: 30, total lock:2
CBS Ending TiWorker initialization.
CBS Starting the TiWorker main loop.
CBS TiWorker starts successfully.
CBS Lock: New lock added: CCbsWorker, level: 5, total lock:3
CBS Universal Time is: 2022-03-31 12:34:22.281
CBS Loaded Servicing Stack v10.0.19041.1613 with Core: C:\Windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.19041.1613_none_7df538047ca074bb\cbscore.dll
CBS Build: 19041.1.amd64fre.vb_release.191206-1406
CBS Failed to load WCP DLL: C:\Windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.19041.1613_none_7df538047ca074bb\wcp.dll [HRESULT = 0x800700c1 - ERROR_BAD_EXE_FORMAT]
CBS Failed to load WCP DLL. [HRESULT = 0x800700c1 - ERROR_BAD_EXE_FORMAT]
CBS Failed to initialize the Core DLL: C:\Windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.19041.1613_none_7df538047ca074bb\\cbscore.dll [HRESULT = 0x800700c1 - ERROR_BAD_EXE_FORMAT]
CBS Failed to initialize CBS class factory. [HRESULT = 0x800700c1 - ERROR_BAD_EXE_FORMAT]
CBS Universal Time is: 2022-03-31 12:34:22.284
CBS Loaded Servicing Stack v10.0.19041.1613 with Core: C:\Windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.19041.1613_none_7df538047ca074bb\cbscore.dll
CBS Build: 19041.1.amd64fre.vb_release.191206-1406
CBS Failed to load WCP DLL: C:\Windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.19041.1613_none_7df538047ca074bb\wcp.dll [HRESULT = 0x800700c1 - ERROR_BAD_EXE_FORMAT]
CBS Failed to load WCP DLL. [HRESULT = 0x800700c1 - ERROR_BAD_EXE_FORMAT]
CBS Failed to initialize the Core DLL: C:\Windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.19041.1613_none_7df538047ca074bb\\cbscore.dll [HRESULT = 0x800700c1 - ERROR_BAD_EXE_FORMAT]
CBS Failed to initialize CBS class factory. [HRESULT = 0x800700c1 - ERROR_BAD_EXE_FORMAT]
CBS Failed to create a worker session [HRESULT = 0x800700c1]
CBS Failed to create worker session. [HRESULT = 0x800700c1]
CBS Failed to get worker session. [HRESULT = 0x800700c1]
 

Attachments

Sorry wrong" 2022-02, kumulativ uppdatering för Windows 10 Version 21H2 för x86-baserade system (KB5010415)" Should be the 64B version
-> "2022-02 Cumulative Update Preview for Windows 10 Version 21H2 for x64-based Systems (KB5010415)"
 
Dear Sir.
I have now solved the issue with a corrupt service stack.
First the wrong kb was mentioned wrongly. Should be

22 mars 2022 – KB5011543 .​


I solved the issue with a old-fashioned method since DOS 1.0 days. I replaced the corrupted files with fresh ones from alike another computer updated with kb5011543 changing the authority of the service stack library C:\Windows\WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.19041.1613_none_7df538047ca074bb from owner Trustedinstaller to Administrator to be able to copy and delete, etc.
The corrupted files were
Cbscore.dll, updateagent.dll and wcp.dll as indicated in the CBS.log when running the command "dism.ex /Online /Cleanup-image /AnalyzeComponentStore" from the cmd prompt with admin rights.
This solved the issue
If the disks are ok then try to replace the pinpointed damned objects.
Yours
Razorflash
The last Defender of Corrupt Repairable MS Systems.
 
Back
Top