安装更新与部署

卸载角色时出错0x800f0922 - Windows Server

· 52CE 我爱测

本文可帮助解决卸载Microsoft Windows Server 角色或功能时发生的错误0x800f0922。 原始 KB 数: 4094128 现象 尝试使用 服务器管理器 或 PowerShell cmdlet Uninstall-WindowsFeature卸载 Windows Server 角色或功能时,尝试会失败,并收到错误代码0x800f0922和以下错误消息: CBS\E\INSTALLERS\FAILED 处理高级安装程序和泛型命令失败

本文可帮助解决卸载Microsoft Windows Server 角色或功能时发生的错误0x800f0922。

原始 KB 数: 4094128

现象

尝试使用 服务器管理器 或 PowerShell cmdlet Uninstall-WindowsFeature卸载 Windows Server 角色或功能时,尝试会失败,并收到错误代码0x800f0922和以下错误消息:

CBS_E_INSTALLERS_FAILED 处理高级安装程序和泛型命令失败

例如,卸载 Windows 部署服务(WDS)时,以下错误记录在 C:\Windows\Logs\CBS 下的CBS.log文件中:

SQM: Reporting selectable update change for package: Microsoft-Windows-Deployment-Services-Package~31bf3856ad364e35~amd64`~~`6.3.9600.16384, update: Microsoft-Windows-Deployment-Services, start: Installed, applicable: Resolved, target: Resolved, client id: DISM Package Manager Provider, initiated offline: False, execution sequence: 1433, first merged sequence: 1433, download source: 0, download time (secs): 4294967295, download status: 0x0 (S_OK),reboot required: False, overall result:0x800f0922 (CBS_E_INSTALLERS_FAILED)  
SQM: Upload requested for report:  UpdateChange_Microsoft-Windows-Deployment-Services_Microsoft-Windows-Deployment-Services-Package~31bf3856ad364e35~amd64`~~`6.3.9600.16384, session id: 142860, sample type: Standard  
SQM: Ignoring upload request because the sample type is not enabled: Standard  
TI: CBS has queried the current reboot required state: 0  
SQM: Reporting selectable update change for package: Microsoft-Windows-Deployment-Services-Package~31bf3856ad364e35~amd64`~~`6.3.9600.16384, update: Microsoft-Windows-Deployment-Services-Deployment-Server, start: Staged, applicable: Resolved, target: Resolved, client id: DISM Package Manager Provider, initiated offline: False, execution sequence: 1433, first merged sequence: 1433, download source: 0, download time (secs): 4294967295, download status: 0x0 (S_OK),reboot required: False, overall result:0x800f0922 (CBS_E_INSTALLERS_FAILED)  
SQM: Upload requested for report:  UpdateChange_Microsoft-Windows-Deployment-Services-Deployment-Server_Microsoft-Windows-Deployment-Services-Package~31bf3856ad364e35~amd64`~~`6.3.9600.16384, session id: 142860, sample type: Standard  
SQM: Ignoring upload request because the sample type is not enabled: Standard  
TI: CBS has queried the current reboot required state: 0  
SQM: Reporting selectable update change for package: Microsoft-Windows-Deployment-Services-Package~31bf3856ad364e35~amd64`~~`6.3.9600.16384, update: Microsoft-Windows-Deployment-Services-Transport-Server, start: Installed, applicable: Resolved, target: Resolved, client id: DISM Package Manager Provider, initiated offline: False, execution sequence: 1433, first merged sequence: 1433, download source: 0, download time (secs): 4294967295, download status: 0x0 (S_OK),reboot required: False, overall result:0x800f0922 (CBS_E_INSTALLERS_FAILED)  
SQM: Upload requested for report:  UpdateChange_Microsoft-Windows-Deployment-Services-Transport-Server_Microsoft-Windows-Deployment-Services-Package~31bf3856ad364e35~amd64`~~`6.3.9600.16384, session id: 142860, sample type: Standard  
SQM: Ignoring upload request because the sample type is not enabled: Standard  
SQM: Reporting package change for package: Microsoft-Windows-Deployment-Services-Package~31bf3856ad364e35~amd64`~~`6.3.9600.16384, current: Installed, pending: Default, start: Installed, applicable: Installed, target: Installed, limit: Installed, hotpatch status: DisabledBecauseNoHotpatchPackagesInitiated, status: 0x0, failure source: Execute, reboot required: False, client id: DISM Package Manager Provider, initiated offline: False, execution sequence: 1433, first merged sequence: 1433 reboot reason: REBOOT_NOT_REQUIRED RM App session: -1 RM App name: N/A FileName in use: N/A  
SQM: Upload requested for report: PackageChangeBegin_Microsoft-Windows-Deployment-Services-Package~31bf3856ad364e35~amd64`~~`6.3.9600.16384, session id: 142859, sample type: Standard  
SQM: Ignoring upload request because the sample type is not enabled: Standard  
SQM: Reporting package change completion for package: Microsoft-Windows-Deployment-Services-Package~31bf3856ad364e35~amd64`~~`6.3.9600.16384, current: Installed, original: Installed, target: Installed, status: 0x800f0922, failure source: Execute, failure details: "(null)", client id: DISM Package Manager Provider, initiated offline: False, execution sequence: 1433, first merged sequence: 1433, pending decision: InteractiveInstallFailed, primitive execution context: Interactive  
SQM: execute time performance datapoint is invalid. [HRESULT = 0x80070490 - ERROR_NOT_FOUND]  
SQM: Failed to initialize Win SAT assessment. [HRESULT = 0x80040154 - Unknown Error]  
SQM: average disk throughput datapoint is invalid [HRESULT = 0x80040154 - Unknown Error]  
SQM: Upload requested for report: PackageChangeEnd_Microsoft-Windows-Deployment-Services-Package~31bf3856ad364e35~amd64`~~`6.3.9600.16384, session id: 142862, sample type: Standard  
SQM: Ignoring upload request because the sample type is not enabled: Standard  
TI: CBS has queried the current reboot required state: 0  
SQM: Reporting selectable update change for package: Microsoft-Windows-Deployment-Services-UI-Package~31bf3856ad364e35~amd64`~~`6.3.9600.16384, update: Microsoft-Windows-Deployment-Services-Admin-Pack, start: Staged, applicable: Resolved, target: Resolved, client id: DISM Package Manager Provider, initiated offline: False, execution sequence: 1433, first merged sequence: 1433, download source: 0, download time (secs): 4294967295, download status: 0x0 (S_OK),reboot required: False, overall result:0x800f0922 (CBS_E_INSTALLERS_FAILED)  
SQM: Upload requested for report:  UpdateChange_Microsoft-Windows-Deployment-Services-Admin-Pack_Microsoft-Windows-Deployment-Services-UI-Package~31bf3856ad364e35~amd64`~~`6.3.9600.16384, session id: 142860, sample type: Standard  
SQM: Ignoring upload request because the sample type is not enabled: Standard  
SQM: Reporting package change for package: Microsoft-Windows-Deployment-Services-UI-Package~31bf3856ad364e35~amd64`~~`6.3.9600.16384, current: Installed, pending: Default, start: Installed, applicable: Installed, target: Installed, limit: Installed, hotpatch status: DisabledBecauseNoHotpatchPackagesInitiated, status: 0x0, failure source: Execute, reboot required: False, client id: DISM Package Manager Provider, initiated offline: False, execution sequence: 1433, first merged sequence: 1433 reboot reason: REBOOT_NOT_REQUIRED RM App session: -1 RM App name: N/A FileName in use: N/A  
SQM: Upload requested for report: PackageChangeBegin_Microsoft-Windows-Deployment-Services-UI-Package~31bf3856ad364e35~amd64`~~`6.3.9600.16384, session id: 142859, sample type: Standard  
SQM: Ignoring upload request because the sample type is not enabled: Standard
SQM: Reporting package change completion for package: Microsoft-Windows-Deployment-Services-UI-Package~31bf3856ad364e35~amd64`~~`6.3.9600.16384, current: Installed, original: Installed, target: Installed, status: 0x800f0922, failure source: Execute, failure details: "(null)", client id: DISM Package Manager Provider, initiated offline: False, execution sequence: 1433, first merged sequence: 1433, pending decision: InteractiveInstallFailed, primitive execution context: Interactive  
SQM: execute time performance datapoint is invalid. [HRESULT = 0x80070490 - ERROR_NOT_FOUND]  
SQM: Failed to initialize Win SAT assessment. [HRESULT = 0x80040154 - Unknown Error]  
SQM: average disk throughput datapoint is invalid [HRESULT = 0x80040154 - Unknown Error]  
SQM: Upload requested for report: PackageChangeEnd_Microsoft-Windows-Deployment-Services-UI-Package~31bf3856ad364e35~amd64`~~`6.3.9600.16384, session id: 142862, sample type: Standard  
SQM: Ignoring upload request because the sample type is not enabled: Standard  
FinalCommitPackagesState: Completed persisting state of packages  
Enabling LKG boot option  
Exec: Processing complete.  Session: 30651968_3203616141, Package: Microsoft-Windows-ServerCore-Package~31bf3856ad364e35~amd64`~~`6.3.9600.16384 [HRESULT = 0x800f0922 - CBS_E_INSTALLERS_FAILED]  
Failed to perform operation.  [HRESULT = 0x800f0922 - CBS_E_INSTALLERS_FAILED]  
Session: 30651968_3203616141 finalized. Reboot required: no [HRESULT = 0x800f0922 - CBS_E_INSTALLERS_FAILED]  
Failed to FinalizeEx using worker session [HRESULT = 0x800f0922]

原因

如果 Windows Temp 目录中的文件超过 65,000 个,则可能会出现此问题。 Windows Temp 目录位于 C:\Windows\Temp。检查 Windows 环境变量以确认 Windows Temp 目录的位置。

解决方法

若要解决此问题,请删除 Windows Temp 文件夹(通常 为 C:\Windows\Temp)的内容,然后再次尝试删除 Windows Server 角色或功能。

数据收集

如果需要 Microsoft 支持方面的帮助,建议按照使用 TSS 针对与部署相关的问题收集信息中所述的步骤收集信息。

资料来源与适用范围

资料来源
微软官方中文故障文档
适用范围
按正文的 Windows / Windows Server 适用版本;保留原文兼容性要求
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-10-26
授权说明
CC BY 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。