Turn off compatibility scan for backed up applications
Désactiver l’analyse de compatibilité pour les applications sauvegardées
Explanation
This policy controls the state of the compatibility scan for backed up applications. The compatibility scan for backed up applications evaluates for compatibility problems in installed applications.
If you enable this policy, the compatibility scan for backed up applications will not be run.
If you disable or do not configure this policy, the compatibility scan for backed up applications will be run.
Cette stratégie contrôle l’état de l’analyse de compatibilité pour les applications sauvegardées. L’analyse de compatibilité des applications sauvegardées évalue les problèmes de compatibilité des applications installées.
Si vous activez cette stratégie, l’analyse de compatibilité des applications sauvegardées ne sera pas exécutée.
Si vous désactivez ou ne configurez pas cette stratégie, l’analyse de compatibilité des applications sauvegardées sera exécutée.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\AppCompat- Value name
DisableWin32AppBackup
| 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/TurnOffWin32AppBackup
$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 'DisableWin32AppBackup' -Value 1 -Type DWordDisable
# Disable: AppDeviceInventory/TurnOffWin32AppBackup
$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 'DisableWin32AppBackup' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": AppDeviceInventory/TurnOffWin32AppBackup
$k = 'HKLM:\Software\Policies\Microsoft\Windows\AppCompat'
Remove-ItemProperty -Path $k -Name 'DisableWin32AppBackup' -ErrorAction SilentlyContinue