Open in the explorer

Configure Microsoft Defender Application Guard clipboard settings

Configurer les paramètres du Presse-papiers de 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_ClipboardConfig

Explanation

This policy setting allows you to decide how the clipboard behaves while in Microsoft Defender Application Guard.

If you enable this setting, you must choose from the following behaviors:

- Disable clipboard functionality completely between the host and Application Guard

- Enable the clipboard to copy content from Application Guard to the host

- Enable the clipboard to copy content from the host to Application Guard.

Note:
We recommend that you don't enable copying from the host to Application Guard. If you enable this functionality, a potentially compromised Application Guard session will have access to the host device’s clipboard and its content.

If you choose to enable copying, you must also choose the type of content that can be copied, by using the content options:

- 1. Allows text copying.

- 2. Allows image copying.

- 3. Allows both text and image copying.

If you disable or don't configure this setting, all clipboard functionality is turned off in Application Guard.

French text from Windows 11 26H2

Ce paramètre de stratégie vous permet de déterminer comment le Presse-papiers se comporte dans Microsoft Defender Application Guard.

Si vous activez ce paramètre, vous devez choisir parmi les comportements suivants :

- Désactiver complètement la fonctionnalité de Presse-papiers entre l'hôte et Application Guard

- Permettre au Presse-papiers de copier du contenu depuis Application Guard vers l'hôte

- Permettre au Presse-Papiers de copier du contenu depuis l'hôte vers Application Guard.

REMARQUE
Nous vous recommandons de ne pas autoriser la copie depuis l'hôte vers Application Guard. Si vous activez cette fonctionnalité, une session potentiellement compromise d'Application Guard aura accès au Presse-papiers de le périphérique hôte et au contenu de ce dernier.

Si vous choisissez d'activer la copie, vous pouvez également choisir le type de contenu qui peut être copié en utilisant les options de contenu :

- 1. Autoriser la copie de texte.

- 2. Autoriser la copie d'images.

- 3. Autoriser la copie de texte et d'images.

Si vous désactivez ce paramètre ou si vous ne le configurez pas, toutes les fonctionnalités de Presse-papiers seront désactivées 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_ClipboardConfig
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\AppHVSI'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Clipboard behavior setting.
# Possible options:
#   Block clipboard operations(default) = 0
#   Enable clipboard operation from an isolated session to the host = 1
#   Enable clipboard operation from an host to the isolated session = 2
#   Enable clipboard operation both directions = 3
Set-ItemProperty -Path $k -Name 'AppHVSIClipboardSettings' -Value 0 -Type DWord
# Clipboard content options.
Set-ItemProperty -Path $k -Name 'AppHVSIClipboardFileType' -Value 1 -Type DWord  # between 1 and 3

Disable

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

Revert to "Not configured"

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

Options (2)

LabelControlRegistry valueREG typeConstraints / details
Clipboard behavior setting.Paramètre de comportement du Presse-papiers.AppHVSIClipboardSettings_CopyPasteDirection_DropdownListDrop-down listenumAppHVSIClipboardSettingsREG_DWORD
Required · Default choice (UI): #0
LabelValue
Block clipboard operations(default)REG_DWORD = 0
Enable clipboard operation from an isolated session to the hostREG_DWORD = 1
Enable clipboard operation from an host to the isolated sessionREG_DWORD = 2
Enable clipboard operation both directionsREG_DWORD = 3
Clipboard content options.Options du contenu du Presse-papiers.AppHVSIClipboardFileType_AllowedFileType_TextBoxNumeric boxdecimalAppHVSIClipboardFileTypeREG_DWORD
Min: 1 · Max: 3 · Default (UI): 1

Availability

Windows Server