Set a list of apps to be filtered from snapshots for Recall
Définir une liste d’applications à filtrer à partir d’instantanés pour Retrouver
Explanation
This policy allows you to define a list of apps that won't be included in snapshots for Recall.
Users will be able to add additional applications to exclude from snapshots using Recall settings.
The list can include Application User Model IDs (AUMID) or name of the executable file.
Use a semicolon-separated list of apps to define the deny app list for Recall.
For example: code.exe;Microsoft.WindowsNotepad_8wekyb3d8bbwe!App;ms-teams.exe
Important: This setting applies to Enterprise and Education client SKUs only. When configuring this policy setting, changes will not take effect until the device restarts.
Cette stratégie vous permet de définir une liste d’applications qui ne seront pas incluses dans les instantanés pour Retrouver.
Les utilisateurs pourront ajouter des applications supplémentaires à exclure des instantanés à l’aide des paramètres de Retrouver.
La liste peut inclure des ID de modèle utilisateur d’application (AUMID) ou le nom du fichier exécutable.
Utilisez une liste d’applications séparées par des points-virgules pour définir la liste d’applications d’exclusion pour Retrouver.
Par exemple : code.exe ; Microsoft.WindowsNotepad_8wekyb3d8bbwe ! Application ;ms-teams.exe
Important : ce paramètre s’applique uniquement aux références SKU clientEs Entreprise et Éducation. Lors de la configuration de ce paramètre de stratégie, les modifications ne prendront effet qu’après le redémarrage de l’appareil.
Registry
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsAIHKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\Windows\WindowsAI- Value name
SetDenyAppListForRecall
| State | Value written |
|---|---|
| Enabled | not defined in the ADMX (see the options below) |
| Disabled | not defined in the ADMX (see the options below) |
PowerShell
PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.
The ADMX does not specify the value written when enabled; the GPO editor usually writes REG_DWORD 1 (enabled) / 0 (disabled). The commands below use 1/0 as an assumption.
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.
Computer (HKLM)
Enable
# Enable: WindowsCopilot/SetDenyAppListForRecall
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsAI'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# The ADMX does not specify the value written; the GPO editor usually writes REG_DWORD 1 (enabled) / 0 (disabled)
Set-ItemProperty -Path $k -Name 'SetDenyAppListForRecall' -Value 1 -Type DWord # assumed value (not defined in the ADMX)
# Enter deny app list
Set-ItemProperty -Path $k -Name 'DenyAppListForRecall' -Value '<value>' -Type StringDisable
# Disable: WindowsCopilot/SetDenyAppListForRecall
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsAI'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# The ADMX does not specify the value written; the GPO editor usually writes REG_DWORD 1 (enabled) / 0 (disabled)
Set-ItemProperty -Path $k -Name 'SetDenyAppListForRecall' -Value 0 -Type DWord # assumed value (not defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": WindowsCopilot/SetDenyAppListForRecall
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsAI'
Remove-ItemProperty -Path $k -Name 'SetDenyAppListForRecall' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'DenyAppListForRecall' -ErrorAction SilentlyContinueUser (HKCU)
Enable
Disable
Revert to "Not configured"
Options (1)
| Label | Control | Registry value | REG type | Constraints / details |
|---|---|---|---|---|
| Enter deny app list:Entrez la liste d’applications de refus :SetDenyAppListForRecall_Name | Text boxtext | DenyAppListForRecall | REG_SZ |