Turn off Application Footprint
Désactiver l’Application Footprint
Explanation
This policy controls the state of Application Footprint. Application Footprint monitors the sampled collection of registry and file usage to help diagnose compatibility problems.
If you enable this policy, Application Footprint will not be run.
If you disable or do not configure this policy, Application Footprint will be turned on.
Cette stratégie contrôle l’état d’encombrement de l’application. L’application Footprint surveille l'échantillonnage de l'utilisation du registre et des fichiers pour aider le diagnostic des problèmes de compatibilité.
Si vous activez cette stratégie, l’application Footprint ne sera pas exécutée.
Si vous désactivez ou ne configurez pas cette stratégie, l’application Footprint sera activée.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\AppCompat- Value name
DisableApplicationFootprint
| 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/TurnOffApplicationFootprint
$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 'DisableApplicationFootprint' -Value 1 -Type DWordDisable
# Disable: AppDeviceInventory/TurnOffApplicationFootprint
$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 'DisableApplicationFootprint' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": AppDeviceInventory/TurnOffApplicationFootprint
$k = 'HKLM:\Software\Policies\Microsoft\Windows\AppCompat'
Remove-ItemProperty -Path $k -Name 'DisableApplicationFootprint' -ErrorAction SilentlyContinue