Open in the explorer

Detect applications unable to launch installers under UAC

Détecter les applications incapables de lancer les programmes d’installation régis par le contrôle de compte d’utilisateur

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › System › Troubleshooting and Diagnostics › Application Compatibility Diagnostics FR: Configuration ordinateur › Stratégies › Modèles d'administration › Système › Dépannage et diagnostics › Diagnostics de compatibilité des applications
Supported on
At least Windows Vista FR: Au minimum Windows Vista
ADMX file
pca.admx
Internal name
pca/DetectUpdateFailuresPolicy

Explanation

This setting exists only for backward compatibility, and is not valid for this version of Windows. To configure the Program Compatibility Assistant, use the 'Turn off Program Compatibility Assistant' setting under Computer Configuration\Administrative Templates\Windows Components\Application Compatibility.

French text from Windows 11 26H2

Ce paramètre existe uniquement à des fins de compatibilité descendante et il n’est pas valide pour cette version de Windows. Pour configurer l’Assistant Compatibilité des programmes, utilisez le paramètre « Désactiver l’Assistant Compatibilité des programmes » sous Configuration ordinateur\Modèles d’administration\Composants Windows\Compatibilité des applications.

Registry

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WDI\{081D3213-48AA-4533-9284-D98F01BDC8E6}
Value name
ScenarioExecutionEnabled
StateValue written
EnabledREG_DWORD = 1
DisabledREG_DWORD = 0

PowerShell

PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.

Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.

Enable

# Enable: pca/DetectUpdateFailuresPolicy
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WDI\{081D3213-48AA-4533-9284-D98F01BDC8E6}'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'ScenarioExecutionEnabled' -Value 1 -Type DWord
# Scenario Execution Level
# Possible options:
#   Detection and Troubleshooting Only = 1
#   Detection, Troubleshooting and Resolution = 2
Set-ItemProperty -Path $k -Name 'EnabledScenarioExecutionLevel' -Value 2 -Type DWord

Disable

# Disable: pca/DetectUpdateFailuresPolicy
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WDI\{081D3213-48AA-4533-9284-D98F01BDC8E6}'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'ScenarioExecutionEnabled' -Value 0 -Type DWord

Revert to "Not configured"

# Revert to "Not configured": pca/DetectUpdateFailuresPolicy
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WDI\{081D3213-48AA-4533-9284-D98F01BDC8E6}'
Remove-ItemProperty -Path $k -Name 'ScenarioExecutionEnabled' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'EnabledScenarioExecutionLevel' -ErrorAction SilentlyContinue

Options (1)

LabelControlRegistry valueREG typeConstraints / details
Scenario Execution LevelNiveau d’exécution des scénariosDetectUpdateFailuresLevelDrop-down listenumEnabledScenarioExecutionLevelREG_DWORD
Required · Default choice (UI): #1
LabelValue
Detection and Troubleshooting OnlyREG_DWORD = 1
Detection, Troubleshooting and ResolutionREG_DWORD = 2

Availability