询问者
Windows Server 2016 无法安装或删除任何角色

问题
-
在Windows 2016 datacenter 上以Administrator身份登录,无法删除或添加任何Windows角色。目前尚不清楚此问题何时开始,在现有的备份内也未找到任何能解决此问题的副本。具体错误代码见下图,这是用这两个错误来举例。物理机器还安装了可能产生问题的软件有:Eset File Security;SAS 9.2;NI,不知道是不是他们中的备选项导致了错误。发生此问题后,系统在安装cadence时也出现一些错误,此错误导致所有Windows程序、服务都会丢失,迫使我们对系统做了多次还原才找到错误原因。差不多可以肯定,机器上没有任何恶意程序。
是否除了重新安装此Windows就没有别的解决办法了?
由于系统限制,只能将错误以文字的形式描述
例如:卸载hyper-v
请求添加或删除指定服务器上的功能失败。删除一个或多个角色、角色服务或功能失败。
找不到引用的汇编。错误0x80073701
又例如:安装一个远程服务
请求添加或删除指定服务器上的功能失败。删除一个或多个角色、角色服务或功能失败。
找不到引用的汇编。错误0x80073701
搜索网上的相关错误代码得到的大致是:(1)更新错误(2).Net x.xx错误;但此计算机的更新记录里没有任何错误,并且安装了完整的Visual Studio 2015,应该不缺编译器或.Net组件。
全部回复
-
以下是发生错误时在事件管理器中截取的错误代码
-------------------------------------------------------------------------------------------------------------------
127919388064
5
WindowsWcpOtherFailure3
不可用
0
10.0.14393.1439:3
wcp\componentstore\csd_locking.cpp
CCSDirectTransaction::LockComponent
200
c015000c
0x68b1d622
C:\ProgramData\Microsoft\Windows\WER\ReportArchive\Critical_10.0.14393.1439__bbc5ea5a957f9ed881fbb5f7b391c2e9af4fb51b_00000000_2dfa2cba
0
84cb4565-62ee-11e7-8e1a-28c2dd9b1359
0
434ccc59c73998d9f91df5ac14d335e1--------------------------------------------------------------------------------------------------------------------------------
0 WindowsWcpOtherFailure3 不可用 0 10.0.14393.1439:3 wcp\componentstore\csd_locking.cpp CCSDirectTransaction::LockComponent 200 c015000c 0x68b1d622 \\?\C:\WINDOWS\Logs\CBS\CBS.log \\?\C:\WINDOWS\Logs\CBS\CbsPersist_20170707082603.log \\?\C:\WINDOWS\Logs\CBS\CbsPersist_20170707080156.log \\?\C:\WINDOWS\Logs\CBS\CbsPersist_20170629080242.cab \\?\C:\WINDOWS\Logs\CBS\CbsPersist_20170626010959.cab \\?\C:\WINDOWS\Logs\CBS\CbsPersist_20170615001841.cab \\?\C:\WINDOWS\servicing\Sessions\Sessions.xml \\?\C:\WINDOWS\servicing\Sessions\30663754_2476123792.xml \\?\C:\WINDOWS\WinSxs\poqexec.log \\?\C:\WINDOWS\Logs\Cbs\FilterList.log 0 84cb4565-62ee-11e7-8e1a-28c2dd9b1359 262144 -
ERROR_FILE_NOT_FOUND]
2017-07-07 15:58:43, Info CBS Not able to add pending.xml.bad to Windows Error Report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2017-07-07 15:58:43, Info CBS Not able to add SCM.EVM to Windows Error Report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2017-07-07 15:58:43, Error CSI 00007f49 (F) STATUS_SXS_ASSEMBLY_MISSING #16699489# from CCSDirectTransaction::OperateEnding at index 0 of 1 operations, disposition 2[gle=0xd015000c]
2017-07-07 15:58:43, Error CSI 00007f4a (F) HRESULT_FROM_WIN32(ERROR_SXS_ASSEMBLY_MISSING) #16699337# from Windows::ServicingAPI::CCSITransaction::ICSITransaction_PinDeployment(Flags = 0, a = be3b19b168c78aad3c3443069143c3ca, version 10.0.14393.693, arch amd64, nonSxS, pkt {l:8 b:31bf3856ad364e35}, cb = (null), s = (null), rid = 'Package_4163_for_KB4015217~31bf3856ad364e35~amd64~~10.0.1.8.4015217-8718_neutral', rah = '2', manpath = (null), catpath = (null), ed = 0, disp = 0)[gle=0x80073701]
2017-07-07 15:58:43, Info CBS Failed to pin deployment while resolving Update: Package_4163_for_KB4015217~31bf3856ad364e35~amd64~~10.0.1.8.4015217-8718_neutral from file: (null) [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]
2017-07-07 15:58:43, Info CBS Failed to bulk stage deployment manifest and pin deployment for package:Package_1902_for_KB4022715~31bf3856ad364e35~amd64~~10.0.1.9 [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]
2017-07-07 15:58:43, Info CBS CommitPackagesState: Started persisting state of packages
2017-07-07 15:58:43, Info CBS CommitPackagesState: Completed persisting state of packages
2017-07-07 15:58:43, Info CSI 00007f4b@2017/7/7:07:58:43.244 CSI Transaction @0x2a5bab725f0 destroyed
2017-07-07 15:58:43, Info CBS Perf: Resolve chain complete.
2017-07-07 15:58:43, Info CBS Failed to resolve execution chain. [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]
2017-07-07 15:58:43, Error CBS Failed to process single phase execution. [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]
2017-07-07 15:58:43, Info CBS WER: Generating failure report for package: Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~10.0.14393.0, status: 0x80073701, failure source: Resolve, start state: Installed, target state: Installed, client id: DISM Package Manager Provider
2017-07-07 15:58:43, Info CBS Not able to query DisableWerReporting flag. Assuming not set... [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2017-07-07 15:58:43, Info CBS Added C:\WINDOWS\Logs\CBS\CBS.log to WER report.
2017-07-07 15:58:43, Info CBS Added C:\WINDOWS\Logs\CBS\CbsPersist_20170629080242.cab to WER report.
2017-07-07 15:58:43, Info CBS Added C:\WINDOWS\Logs\CBS\CbsPersist_20170626010959.cab to WER report.
2017-07-07 15:58:43, Info CBS Added C:\WINDOWS\Logs\CBS\CbsPersist_20170615001841.cab to WER report.
2017-07-07 15:58:43, Info CBS Added C:\WINDOWS\Logs\CBS\CbsPersist_20170614101302.cab to WER report.
2017-07-07 15:58:43, Info CBS Added C:\WINDOWS\Logs\CBS\CbsPersist_20170614095654.cab to WER report.
2017-07-07 15:58:43, Info CBS Not able to add %windir%\winsxs\pending.xml to WER report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2017-07-07 15:58:43, Info CBS Not able to add %windir%\winsxs\pending.xml.bad to WER report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2017-07-07 15:58:43, Info CBS Reboot mark cleared
2017-07-07 15:58:43, Info CBS Winlogon: Simplifying Winlogon CreateSession notifications
2017-07-07 15:58:43, Info CBS Winlogon: Deregistering for CreateSession notifications
2017-07-07 15:58:43, Info CBS FinalCommitPackagesState: Started persisting state of packages
2017-07-07 15:58:43, Info CBS FinalCommitPackagesState: Completed persisting state of packages
2017-07-07 15:58:43, Info CBS Enabling LKG boot option
2017-07-07 15:58:43, Info CBS Exec: Processing complete. Session: 30663754_2476123041, Package: Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~10.0.14393.0 [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]
2017-07-07 15:58:43, Error CBS Failed to perform operation. [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]
2017-07-07 15:58:43, Info CBS Session: 30663754_2476123041 finalized. Reboot required: no [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]
2017-07-07 15:58:43, Info CBS Failed to FinalizeEx using worker session [HRESULT = 0x80073701]
2017-07-07 15:59:43, Info CBS Session: 30663754_2476123042 initialized by client WindowsUpdateAgent, external staging directory: (null), external registry directory: (null
2017-07-07 15:59:43, Info CBS Failed to internally open package. [HRESULT = 0x800f0805 - CBS_E_INVALID_PACKAGE]
2017-07-07 15:59:43, Info CBS Failed to OpenPackage using worker session [HRESULT = 0x800f0805]
2017-07-07 15:59:43, Info CBS Session: 30663754_2476123043 initialized by client WindowsUpdateAgent, external staging directory: (null), external registry directory: (null
2017-07-07 15:59:43, Info CBS Failed to internally open package. [HRESULT = 0x800f0805 - CBS_E_INVALID_PACKAGE]
2017-07-07 15:59:43, Info CBS Failed to OpenPackage using worker session [HRESULT = 0x800f0805]
2017-07-07 16:01:43, Info CBS Trusted Installer is shutting down because: SHUTDOWN_REASON_AUTOSTOP
2017-07-07 16:01:43, Info CBS TiWorker signaled for shutdown, going to exit.
2017-07-07 16:01:43, Info CBS CbsCoreFinalize: ExecutionEngineFinalize
2017-07-07 16:01:43, Info CBS Ending the TiWorker main loop.
2017-07-07 16:01:43, Info CBS Starting TiWorker finalization.
2017-07-07 16:01:43, Info CBS CbsCoreFinalize: ManifestCacheFinalize
2017-07-07 16:01:43, Info CBS CbsCoreFinalize: ExecutionEngineFinalize
2017-07-07 16:01:43, Info CBS CbsCoreFinalize: ComponentAnalyzerFinalize
2017-07-07 16:01:43, Info CBS CbsCoreFinalize: PackageTrackerFinalize
2017-07-07 16:01:43, Info CBS CbsCoreFinalize: CoreResourcesUnload
2017-07-07 16:01:43, Info CBS CbsCoreFinalize: SessionManagerFinalize
2017-07-07 16:01:43, Info CBS CbsCoreFinalize: CapabilityManagerFinalize
2017-07-07 16:01:43, Info CBS CbsCoreFinalize: PublicObjectMonitorFinalize
2017-07-07 16:01:43, Info CBS CbsCoreFinalize: Enter vCoreInitializeLock
2017-07-07 16:01:43, Info CBS CbsCoreFinalize: WcpUnload
2017-07-07 16:01:43, Info CBS CbsCoreFinalize: DrupUnload
2017-07-07 16:01:43, Info CBS CbsCoreFinalize: CfgMgr32Unload
2017-07-07 16:01:43, Info CBS CbsCoreFinalize: DpxUnload
2017-07-07 16:01:43, Info CBS CbsCoreFinalize: CbsEsdUnload
2017-07-07 16:01:43, Info CBS CbsCoreFinalize: CbsTraceInfoUninitialize
2017-07-07 16:01:43, Info CBS CbsCoreFinalize: CbsEventUnregister
2017-07-07 16:01:43, Info CBS CbsCoreFinalize: AppContainerUnload
2017-07-07 16:01:43, Info CBS CbsCoreFinalize: WdsUnload, logging from cbscore will end.
2017-07-07 16:01:43, Info CBS Ending TiWorker finalization.
2017-07-07 16:01:43, Info CBS Ending the TrustedInstaller main loop.
2017-07-07 16:01:43, Info CBS Starting TrustedInstaller finalization.
2017-07-07 16:01:43, Info CBS Winlogon: Stopping notify server
2017-07-07 16:01:43, Info CBS Winlogon: Unloading SysNotify DLL
2017-07-07 16:01:43, Info CBS Ending TrustedInstaller finalization. -
你好,
要解决此问题,请尝试以下操作
1. 运行命令DISM / Online / Cleanup-Image / RestoreHealth。
2.运行命令sfc / scannow
3.检查系统上安装的语言包。卸载不必要的语言包。
4.查看cbs日志并卸载KB4015217并重新启动服务器。
Best Regards,
Frank
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.- 已编辑 frank_songMicrosoft contingent staff, Moderator 2017年7月10日 5:15