Ouvrir dans l'explorateur

Configurer les paramètres du Presse-papiers de Microsoft Defender Application Guard

Configure Microsoft Defender Application Guard clipboard settings

Type
Ordinateur
Chemin GPO
Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Microsoft Defender Application Guard EN : Computer Configuration › Policies › Administrative Templates › Windows Components › Microsoft Defender Application Guard
Pris en charge sur
Microsoft Edge sur Windows 10 Entreprise ou Windows 10 Éducation avec Microsoft Defender Application Guard en mode Entreprise EN : Microsoft Edge on Windows 10 Enterprise or Windows 10 Education with Microsoft Defender Application Guard in Enterprise mode
Fichier ADMX
apphvsi.admx
Nom interne
apphvsi/AppHVSI_ClipboardConfig

Explication

Texte français issu de 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.

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.

Registre

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\AppHVSI
Nom de la valeur
non défini dans l'ADMX

Valeurs d'activation / désactivation : non défini dans l'ADMX (voir les options ci-dessous).

PowerShell

Commandes PowerShell qui écrivent dans le registre ce que la stratégie écrirait. Les valeurs entre chevrons (<…>) sont à remplacer.

Écrire directement dans le registre contourne la stratégie de groupe : si une GPO gère cette valeur, elle sera réécrite au prochain gpupdate ; sinon la valeur reste en place (effet « tatouage »). Préférez une GPO ou, en local, LGPO.exe. Exécutez PowerShell en administrateur pour HKLM. Certaines stratégies demandent un redémarrage ou gpupdate /force.

Activer

# Activer : apphvsi/AppHVSI_ClipboardConfig
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\AppHVSI'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Paramètre de comportement du Presse-papiers.
# Options possibles :
#   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
# Options du contenu du Presse-papiers.
Set-ItemProperty -Path $k -Name 'AppHVSIClipboardFileType' -Value 1 -Type DWord  # entre 1 et 3

Désactiver

# Désactiver : apphvsi/AppHVSI_ClipboardConfig
# Aucune valeur n'est écrite à l'état « Désactivé » (rien de défini dans l'ADMX)

Revenir à « Non configuré »

# Revenir à « Non configuré » : 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)

LibelléContrôleValeur de registreType REGContraintes / détails
Paramètre de comportement du Presse-papiers.Clipboard behavior setting.AppHVSIClipboardSettings_CopyPasteDirection_DropdownListListe déroulanteenumAppHVSIClipboardSettingsREG_DWORD
Obligatoire · Choix par défaut (interface) : n° 0
LibelléValeur
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
Options du contenu du Presse-papiers.Clipboard content options.AppHVSIClipboardFileType_AllowedFileType_TextBoxZone numériquedecimalAppHVSIClipboardFileTypeREG_DWORD
Min : 1 · Max : 3 · Défaut (interface) : 1

Disponibilité

Windows Server