Open in the explorer

Allow data persistence for Microsoft Defender Application Guard

Autoriser la persistance des données pour Microsoft Defender Application Guard

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › Windows Components › Microsoft Defender Application Guard FR: Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Microsoft Defender Application Guard
Supported on
Microsoft Edge on Windows 10 Enterprise or Windows 10 Education with Microsoft Defender Application Guard in Enterprise mode FR: Microsoft Edge sur Windows 10 Entreprise ou Windows 10 Éducation avec Microsoft Defender Application Guard en mode Entreprise
ADMX file
apphvsi.admx
Internal name
apphvsi/AppHVSI_AllowPersistence

Explanation

This policy setting allows you to decide whether data should persist across different sessions in Microsoft Defender Application Guard.

If you enable this setting, Application Guard saves user-downloaded files and other items (such as, cookies, Favorites, and so on) for use in future Application Guard sessions.

Note:
If you enable this setting, you can still delete a user's data from a specific device using the Reset-ApplicationGuard PowerShell command. Running this command deletes all employee data, regardless of configuration, and can result in data loss for the employee.

If you disable or don't configure this setting, Application Guard deletes all user data within the Application Guard container.

French text from Windows 11 26H2

Ce paramètre de stratégie vous permet de décider si les données doivent être conservées dans plusieurs sessions dans Microsoft Defender Application Guard (Application Guard).

Si vous activez ce paramètre, Application Guard enregistre les fichiers et d'autres éléments téléchargés par les utilisateurs (tels que des cookies, des favoris, etc.) pour une utilisation dans des sessions futures d'Application Guard.

Remarque :
Si vous activez ce paramètre, vous pouvez toujours supprimer les données d'un utilisateur d'un périphérique spécifique à l'aide de la commande Reset-ApplicationGuard PowerShell. L'exécution de cette commande supprime toutes les données de l'employé, peu importe la configuration et peut conduire à la perte des données pour l'employé.

Si vous désactivez ou ne configurez pas ce paramètre, Application Guard supprime toutes les données utilisateur dans le conteneur d'Application Guard.

Registry

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\AppHVSI
Value name
AllowPersistence
StateValue written
EnabledREG_DWORD = 1
DisabledREG_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: apphvsi/AppHVSI_AllowPersistence
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\AppHVSI'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'AllowPersistence' -Value 1 -Type DWord

Disable

# Disable: apphvsi/AppHVSI_AllowPersistence
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\AppHVSI'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'AllowPersistence' -Value 0 -Type DWord

Revert to "Not configured"

# Revert to "Not configured": apphvsi/AppHVSI_AllowPersistence
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\AppHVSI'
Remove-ItemProperty -Path $k -Name 'AllowPersistence' -ErrorAction SilentlyContinue

Availability

Windows Server