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
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.
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 2Disable
# 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 SilentlyContinueOptions (1)
| Label | Control | Registry value | REG type | Constraints / details |
|---|---|---|---|---|
| AppHVSI_FileTrustCriteria_TextBox | Numeric boxdecimal | FileTrustCriteria | REG_DWORD | Min: 0 · Max: 2 · Default (UI): 0 |