Turn off Install Tracing
Désactiver le suivi d’installation
Explanation
This policy controls the state of Install Tracing. Install Tracing is a mechanism that tracks application installs to help diagnose compatibility problems.
If you enable this policy, Install Tracing will not be run.
If you disable or do not configure this policy, Install Tracing will be turned on.
Cette stratégie contrôle l’état du suivi de l’installation. Le suivi de l’installation est un mécanisme qui effectue le suivi des installations d’applications pour faciliter le diagnostic des problèmes de compatibilité.
Si vous activez cette stratégie, le suivi de l’installation ne sera pas exécuté.
Si vous désactivez ou ne configurez pas cette stratégie, le suivi de l’installation sera activé.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\AppCompat- Value name
DisableInstallTracing
| State | Value written |
|---|---|
| Enabled | REG_DWORD = 1 |
| Disabled | REG_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: AppDeviceInventory/TurnOffInstallTracing
$k = 'HKLM:\Software\Policies\Microsoft\Windows\AppCompat'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'DisableInstallTracing' -Value 1 -Type DWordDisable
# Disable: AppDeviceInventory/TurnOffInstallTracing
$k = 'HKLM:\Software\Policies\Microsoft\Windows\AppCompat'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'DisableInstallTracing' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": AppDeviceInventory/TurnOffInstallTracing
$k = 'HKLM:\Software\Policies\Microsoft\Windows\AppCompat'
Remove-ItemProperty -Path $k -Name 'DisableInstallTracing' -ErrorAction SilentlyContinue