Hello Forum,
I faced a problem that totally drives me crazy and I do not know how to fix it.
But first things first:
I want to install Windows Optional Feature MSMQ-Server on windows Server 2019
Neither GUI, Powershell nor DISM worked to install the feature:
They all fail with message: The referenced assembly could not be found.
Investigating the dism.log I can see the following:
sfc /scannow shows me:
The CBS.log shows me:
After that I run SFCFix.exe and after some time it told me that there is nothing to fix:
Any idea how to resolve this issue or how to get a step further?
I dont know what to do...
The CBS and DISM Logs are attached.
Best regards,
Toni
I faced a problem that totally drives me crazy and I do not know how to fix it.
But first things first:
I want to install Windows Optional Feature MSMQ-Server on windows Server 2019
Neither GUI, Powershell nor DISM worked to install the feature:
They all fail with message: The referenced assembly could not be found.
Investigating the dism.log I can see the following:
Code:
2022-08-09 09:18:07, Info DISM DISM.EXE: Succesfully registered commands for the provider: SetupPlatformManager.
2022-08-09 09:18:07, Info DISM DISM Package Manager: PID=36000 TID=32924 Processing the top level command token(enable-feature). - CPackageManagerCLIHandler::Private_ValidateCmdLine
2022-08-09 09:18:07, Info DISM DISM Package Manager: PID=36000 TID=32924 Attempting to route to appropriate command handler. - CPackageManagerCLIHandler::ExecuteCmdLine
2022-08-09 09:18:07, Info DISM DISM Package Manager: PID=36000 TID=32924 Routing the command... - CPackageManagerCLIHandler::ExecuteCmdLine
2022-08-09 09:18:07, Info DISM DISM Package Manager: PID=36000 TID=32924 Encountered the option "featurename" with value "MSMQ-Server" - CPackageManagerCLIHandler::Private_GetPackagesFromCommandLine
2022-08-09 09:18:07, Info DISM DISM Package Manager: PID=36000 TID=32924 Encountered an unknown option "featurename" with value "MSMQ-Server" - CPackageManagerCLIHandler::Private_GetPackagesFromCommandLine
2022-08-09 09:18:10, Info DISM DISM Package Manager: PID=36000 TID=32924 Feature MSMQ-Services with CBS state 7(CbsInstallStateInstalled) being mapped to dism state 7(DISM_INSTALL_STATE_INSTALLED) - CDISMPackageFeature::LogInstallStateMapping
2022-08-09 09:18:10, Info DISM DISM Package Manager: PID=36000 TID=32924 Initiating Changes on Package with values: 5, 7 - CDISMPackage::Internal_ChangePackageState
2022-08-09 09:18:10, Info DISM DISM Package Manager: PID=36000 TID=32924 CBS session options=0x40100! - CDISMPackageManager::Internal_Finalize
2022-08-09 09:18:14, Info DISM DISM Package Manager: PID=36000 TID=27264 Error in operation: (null) (CBS HRESULT=0x80073701) - CCbsConUIHandler::Error
2022-08-09 09:18:14, Error DISM DISM Package Manager: PID=36000 TID=32924 Failed finalizing changes. - CDISMPackageManager::Internal_Finalize(hr:0x80073701)
2022-08-09 09:18:14, Error DISM DISM Package Manager: PID=36000 TID=32924 Failed processing package changes with session options - CDISMPackageManager::ProcessChangesWithOptions(hr:0x80073701)
2022-08-09 09:18:14, Error DISM DISM Package Manager: PID=36000 TID=32924 Failed ProcessChanges. - CPackageManagerCLIHandler::Private_ProcessFeatureChange(hr:0x80073701)
2022-08-09 09:18:14, Error DISM DISM Package Manager: PID=36000 TID=32924 Failed while processing command enable-feature. - CPackageManagerCLIHandler::ExecuteCmdLine(hr:0x80073701)
2022-08-09 09:18:14, Info DISM DISM Package Manager: PID=36000 TID=32924 Further logs for online package and feature related operations can be found at %WINDIR%\logs\CBS\cbs.log - CPackageManagerCLIHandler::ExecuteCmdLine
2022-08-09 09:18:14, Error DISM DISM.EXE: DISM Package Manager processed the command line but failed. HRESULT=80073701
sfc /scannow shows me:
Code:
PS C:\Users\service.varonis> sfc /scannow
Beginning system scan. This process will take some time.
Beginning verification phase of system scan.
Verification 68% complete.
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.
The CBS.log shows me:
Code:
2022-08-09 10:08:38, Info CBS Exec: 6 deployments need bulk staging
2022-08-09 10:08:38, Error CSI 00000008@2022/8/9:08:08:38.627 (F) onecore\base\wcp\componentstore\csd_locking.cpp(95): Error STATUS_SXS_ASSEMBLY_MISSING originated in function CCSDirectTransaction::LockComponent expression: (null)
[gle=0x80004005]
2022-08-09 10:08:38, Info CBS Added C:\Windows\Logs\CBS\CBS.log to WER report.
2022-08-09 10:08:38, Info CBS Added C:\Windows\Logs\CBS\CbsPersist_20220809080834.log to WER report.
2022-08-09 10:08:38, Info CBS Added C:\Windows\Logs\CBS\CbsPersist_20220809071807.log to WER report.
2022-08-09 10:08:38, Info CBS Added C:\Windows\Logs\CBS\CbsPersist_20220809060640.log to WER report.
2022-08-09 10:08:38, Info CBS Added C:\Windows\Logs\CBS\CbsPersist_20220809012318.log to WER report.
2022-08-09 10:08:38, Info CBS Added C:\Windows\Logs\CBS\CbsPersist_20220808212239.log to WER report.
2022-08-09 10:08:38, Info CBS Not able to add pending.xml to Windows Error Report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2022-08-09 10:08:38, Info CBS Not able to add pending.xml.bad to Windows Error Report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2022-08-09 10:08:38, Info CBS Not able to add SCM.EVM to Windows Error Report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2022-08-09 10:08:40, Error CSI 00000009 (F) STATUS_SXS_ASSEMBLY_MISSING #19351# from CCSDirectTransaction::OperateEnding at index 0 of 1 operations, disposition 2[gle=0xd015000c]
2022-08-09 10:08:40, Error CSI 0000000a (F) HRESULT_FROM_WIN32(ERROR_SXS_ASSEMBLY_MISSING) #19193# from Windows::ServicingAPI::CCSITransaction::ICSITransaction_PinDeployment(Flags = 0, a = 69d05075c33bf009307a02c9cba085c4, version 10.0.17763.1817, arch amd64, nonSxS, pkt {l:8 b:31bf3856ad364e35}, cb = (null), s = (null), rid = 'Package_3907_for_KB5000822~31bf3856ad364e35~amd64~~10.0.1.5.5000822-7778_neutral', rah = (null), manpath = (null), catpath = (null), ed = 0, disp = 0)[gle=0x80073701]
2022-08-09 10:08:40, Info CBS Failed to pin deployment while resolving Update: Package_3907_for_KB5000822~31bf3856ad364e35~amd64~~10.0.1.5.5000822-7778_neutral from file: (null) [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]
2022-08-09 10:08:40, Info CBS Failed to bulk stage deployment manifest and pin deployment for package:Package_4123_for_KB5015811~31bf3856ad364e35~amd64~~10.0.1.8 [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]
2022-08-09 10:08:40, Info CBS CommitPackagesState: Started persisting state of packages
2022-08-09 10:08:40, Info CBS CommitPackagesState: Completed persisting state of packages
2022-08-09 10:08:40, Info CSI 0000000b@2022/8/9:08:08:40.654 CSI Transaction @0x1f30d37bc20 destroyed
2022-08-09 10:08:40, Info CBS Perf: Resolve chain complete.
2022-08-09 10:08:40, Info CBS Failed to resolve execution chain. [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]
2022-08-09 10:08:40, Error CBS Failed to process single phase execution. [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]
2022-08-09 10:08:40, Info CBS WER: Generating failure report for package: Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~10.0.17763.1, status: 0x80073701, failure source: Resolve, start state: Installed, target state: Installed, client id: DISM Package Manager Provider
2022-08-09 10:08:40, Info CBS Not able to query DisableWerReporting flag. Assuming not set... [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2022-08-09 10:08:40, Info CBS Added C:\Windows\Logs\CBS\CBS.log to WER report.
After that I run SFCFix.exe and after some time it told me that there is nothing to fix:
Code:
SFCFix version 3.0.2.1 by niemiro.
Start time: 2022-08-09 09:19:43.484
Microsoft Windows Server 10 Build 17763 - amd64
Not using a script file.
AutoAnalysis::
SUMMARY: No corruptions were detected.
AutoAnalysis:: directive completed successfully.
Successfully processed all directives.
SFCFix version 3.0.2.1 by niemiro has completed.
Currently storing 0 datablocks.
Finish time: 2022-08-09 09:57:39.861
----------------------EOF-----------------------
Any idea how to resolve this issue or how to get a step further?
I dont know what to do...
The CBS and DISM Logs are attached.
Best regards,
Toni