Partager via


Erreur 0x800f0922 lors de la tentative de désinstallation des rôles ou fonctionnalités Windows Server

Cet article vous aide à corriger l’erreur 0x800f0922 qui se produit lorsque vous désinstallez des rôles ou fonctionnalités Microsoft Windows Server.

Numéro de base de connaissances d’origine : 4094128

Symptômes

Lorsque vous essayez de désinstaller un rôle ou une fonctionnalité Windows Server à l’aide de Gestionnaire de serveur ou de l’applet de commande Uninstall-WindowsFeaturePowerShell, la tentative échoue et vous recevez le code d’erreur 0x800f0922 et le message d’erreur suivant :

CBS_E_INSTALLERS_FAILED
Échec du traitement des programmes d’installation avancés et des commandes génériques

Par exemple, lors de la désinstallation des services de déploiement Windows (WDS), les erreurs suivantes ont été enregistrées dans le fichier CBS.log sous C :\Windows\Logs\CBS :

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]

Cause

Ce problème peut se produire s’il y a plus de 65 000 fichiers dans le répertoire Windows Temp. Le répertoire Windows Temp se trouve dans C :\Windows\Temp. Vérifiez les variables d’environnement Windows pour confirmer l’emplacement du répertoire Windows Temp.

Résolution

Pour résoudre le problème, supprimez le contenu du dossier Windows Temp (normalement C :\Windows\Temp), puis réessayez de supprimer le rôle ou la fonctionnalité Windows Server.

Collecte de données

Si vous avez besoin de l’aide du support Microsoft, nous vous recommandons de collecter les informations en suivant les étapes mentionnées dans Collecter des informations à l’aide de TSS pour les problèmes liés au déploiement.