Détecter les applications incapables de lancer les programmes d’installation régis par le contrôle de compte d’utilisateur : valeur de Registre ScenarioExecutionEnabled et 1 autresOrdinateurHKLM\SOFTWARE\Policies\Microsoft\Windows\WDI\{081D3213-48AA-4533-9284-D98F01BDC8E6}

ID de stratégie
DetectUpdateFailuresPolicy
Étendue
Configuration ordinateur
Pris en charge sur
Au minimum Windows Vista
Source
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (version 1.0)
Catégorie
Système › Dépannage et diagnostics › Diagnostics de compatibilité des applications

Registre

ScenarioExecutionEnabled

REG_DWORDOrdinateur
Valeur si activée
1
Valeur si désactivée
0
Appliquer avec .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WDI\{081D3213-48AA-4533-9284-D98F01BDC8E6}]

; Options (en utiliser une seule)
; Activé
"ScenarioExecutionEnabled"=dword:00000001
; Désactivé
"ScenarioExecutionEnabled"=dword:00000000
CMD
:: Options (en utiliser une seule)

:: Activé
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WDI\{081D3213-48AA-4533-9284-D98F01BDC8E6}" /v "ScenarioExecutionEnabled" /t REG_DWORD /d 1 /f
:: Désactivé
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WDI\{081D3213-48AA-4533-9284-D98F01BDC8E6}" /v "ScenarioExecutionEnabled" /t REG_DWORD /d 0 /f
PowerShell
# Commun : créer la clé
New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WDI\{081D3213-48AA-4533-9284-D98F01BDC8E6}' -Force | Out-Null

# Options (en utiliser une seule)
# Activé
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WDI\{081D3213-48AA-4533-9284-D98F01BDC8E6}' -Name 'ScenarioExecutionEnabled' -PropertyType DWord -Value 1 -Force | Out-Null
# Désactivé
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WDI\{081D3213-48AA-4533-9284-D98F01BDC8E6}' -Name 'ScenarioExecutionEnabled' -PropertyType DWord -Value 0 -Force | Out-Null

EnabledScenarioExecutionLevel

REG_DWORDOrdinateur
Valeur si activée
Dépend de la valeur de l'option
Élément
Niveau d’exécution des scénarios
Options
EntréeValeur stockée
Détection et dépannage seulement1
Détection, dépannage et résolution2
Appliquer avec .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WDI\{081D3213-48AA-4533-9284-D98F01BDC8E6}]

; Options (en utiliser une seule)
; Détection et dépannage seulement
"EnabledScenarioExecutionLevel"=dword:00000001
; Détection, dépannage et résolution
"EnabledScenarioExecutionLevel"=dword:00000002
CMD
:: Options (en utiliser une seule)

:: Détection et dépannage seulement
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WDI\{081D3213-48AA-4533-9284-D98F01BDC8E6}" /v "EnabledScenarioExecutionLevel" /t REG_DWORD /d 1 /f
:: Détection, dépannage et résolution
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WDI\{081D3213-48AA-4533-9284-D98F01BDC8E6}" /v "EnabledScenarioExecutionLevel" /t REG_DWORD /d 2 /f
PowerShell
# Commun : créer la clé
New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WDI\{081D3213-48AA-4533-9284-D98F01BDC8E6}' -Force | Out-Null

# Options (en utiliser une seule)
# Détection et dépannage seulement
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WDI\{081D3213-48AA-4533-9284-D98F01BDC8E6}' -Name 'EnabledScenarioExecutionLevel' -PropertyType DWord -Value 1 -Force | Out-Null
# Détection, dépannage et résolution
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WDI\{081D3213-48AA-4533-9284-D98F01BDC8E6}' -Name 'EnabledScenarioExecutionLevel' -PropertyType DWord -Value 2 -Force | Out-Null