Open in the explorer

Allow users to trust files that open in Windows Defender Application Guard

Autoriser les utilisateurs à faire confiance aux fichiers qui s'ouvrent dans Windows 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
Windows 10 Enterprise, Windows 10 Education, or later FR: Windows 10 Entreprise, Windows 10 Éducation ou version ultérieure
ADMX file
AppHVSI.admx
Internal name
AppHVSI/AppHVSI_FileTrustCriteria

Explanation

This policy setting allows you to configure required actions and validations that enable users to trust files that open in Application Guard. Upon successful completion, the files will open on the host.

If you enable this setting, you must select one or more of the following:
0. Do not allow users to manually trust files: Users will not be given the option to trust files.
1. Allow users to manually trust files: Users can open UI in Windows that enables them to explicitly trust selected files.
2. Allow users to manually trust after an antivirus check: Users can open UI in Windows that enables them to explicitly trust selected files. The files are trusted only after they are cleared by the antivirus program that is installed on the user’s device.

If you disable or don't configure this setting, users will not be able to trust files that open in Application Guard.

French text from Windows 10 1909

Ce paramètre de stratégie vous permet de configurer les actions et les validations requises pour permettre aux utilisateurs d'approuver fichiers qui s'ouvrent dans Application Guard. Une fois cette opération terminée, les fichiers s'ouvriront dans l'hôte.

Si vous activez ce paramètre, vous devez sélectionner au moins l'un des éléments suivants :
0. N'autorisez pas les utilisateurs à approuver manuellement les fichiers : les utilisateurs n'auront pas la possibilité d'approuver les fichiers.
1. Autorisez les utilisateurs à approuver manuellement les fichiers : les utilisateurs peuvent ouvrir l'interface utilisateur dans Windows qui leur permet d'approuver explicitement les fichiers sélectionnés.
2. Autorisez les utilisateurs à approuver manuellement après une vérification antivirus : les utilisateurs peuvent ouvrir l'interface utilisateur dans Windows qui leur permet d'approuver explicitement les fichiers sélectionnés. Les fichiers ne sont approuvés qu'après avoir été effacés par le programme antivirus installé sur l'appareil de l'utilisateur.

Si vous désactivez ou ne configurez pas ce paramètre, les utilisateurs ne peuvent pas approuver les fichiers qui s'ouvrent dans Application Guard.

Registry

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\AppHVSI
Value name
not defined in the ADMX

Enable / disable values: 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.

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_FileTrustCriteria
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\AppHVSI'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
#
Set-ItemProperty -Path $k -Name 'FileTrustCriteria' -Value 0 -Type DWord  # between 0 and 2

Disable

# Disable: AppHVSI/AppHVSI_FileTrustCriteria
# No value is written in the "Disabled" state (nothing defined in the ADMX)

Revert to "Not configured"

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

Options (1)

LabelControlRegistry valueREG typeConstraints / details
AppHVSI_FileTrustCriteria_TextBoxNumeric boxdecimalFileTrustCriteriaREG_DWORD
Min: 0 · Max: 2 · Default (UI): 0

Availability

Windows 11

— 26H2— 25H2— 24H2— 23H2— 22H2— 21H2

Windows 10

— 22H2— 21H2— 21H1— 20H2— 2004✓ 1909✓ 1903✓ 1809— 1803— 1709— 1703— 1607— 1511— 1507

Windows Server

— 2025— 2022— 2016