Open in the explorer

Enable/Disable PerfTrack

Activer/Désactiver PerfTrack

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › System › Troubleshooting and Diagnostics › Windows Performance PerfTrack FR: Configuration ordinateur › Stratégies › Modèles d'administration › Système › Dépannage et diagnostics › Windows Performance PerfTrack
Supported on
At least Windows Vista FR: Au minimum Windows Vista
ADMX file
performanceperftrack.admx
Internal name
performanceperftrack/WdiScenarioExecutionPolicy

Explanation

This policy setting specifies whether to enable or disable tracking of responsiveness events.

If you enable this policy setting, responsiveness events are processed and aggregated. The aggregated data will be transmitted to Microsoft through SQM.

if you disable this policy setting, responsiveness events are not processed.

If you do not configure this policy setting, the DPS will enable Windows Performance PerfTrack by default.

French text from Windows 11 26H2

Ce paramètre de stratégie spécifie si le suivi des événements de réactivité doit être activé ou désactivé.

Si vous activez ce paramètre, les événements de réactivité sont traités et agrégés. Les données agrégées sont transmises à Microsoft par le biais de SQM.

Si vous désactivez ce paramètre, les événements de réactivité ne sont pas traitées.

Si vous ne configurez pas ce paramètre de stratégie, le service de stratégie de diagnostic active Windows Performance PerfTrack par défaut.

Registry

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WDI\{9c5a40da-b965-4fc3-8781-88dd50a6299d}
Value name
ScenarioExecutionEnabled
StateValue written
EnabledREG_DWORD = 1
KeyValueData
SOFTWARE\Policies\Microsoft\Windows\WDI\{9c5a40da-b965-4fc3-8781-88dd50a6299d}ScenarioExecutionEnabledREG_DWORD = 1
DisabledREG_DWORD = 0
KeyValueData
SOFTWARE\Policies\Microsoft\Windows\WDI\{9c5a40da-b965-4fc3-8781-88dd50a6299d}ScenarioExecutionEnabledREG_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: performanceperftrack/WdiScenarioExecutionPolicy
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WDI\{9c5a40da-b965-4fc3-8781-88dd50a6299d}'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'ScenarioExecutionEnabled' -Value 1 -Type DWord
Set-ItemProperty -Path $k -Name 'ScenarioExecutionEnabled' -Value 1 -Type DWord

Disable

# Disable: performanceperftrack/WdiScenarioExecutionPolicy
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WDI\{9c5a40da-b965-4fc3-8781-88dd50a6299d}'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'ScenarioExecutionEnabled' -Value 0 -Type DWord
Set-ItemProperty -Path $k -Name 'ScenarioExecutionEnabled' -Value 0 -Type DWord

Revert to "Not configured"

# Revert to "Not configured": performanceperftrack/WdiScenarioExecutionPolicy
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WDI\{9c5a40da-b965-4fc3-8781-88dd50a6299d}'
Remove-ItemProperty -Path $k -Name 'ScenarioExecutionEnabled' -ErrorAction SilentlyContinue

Availability