Ouvrir dans l'explorateur

Autoriser rendu avec accélération matérielle pour Microsoft Defender Application Guard

Allow hardware-accelerated rendering for Microsoft Defender Application Guard

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_AllowVirtualGPU

Explication

Texte français issu de Windows 11 26H2

Ce paramètre de stratégie détermine si Microsoft Defender Application Guard restitue les graphismes à l’aide de l’accélération matérielle ou logicielle.

Si vous activez ce paramètre, Microsoft Defender Application Guard utilise Hyper-V pour accéder au matériel vidéo avec restitution hautement sécurisée. Ces unités de GPU améliorent l’autonomie de la batterie et les performances de restitution lors de l’utilisation de Microsoft Defender Application Guard, en particulier pour la lecture vidéo et les autres utilisations sollicitant fortement les performances graphiques. Si vous activez ce paramètre sans vous connecter à du matériel graphique avec rendu hautement sécurisé, Microsoft Defender Application Guard récupérera automatiquement un rendu basé sur des logiciels (UC).

Remarque :
N’oubliez pas que l’activation de ce paramètre sur des appareils aux graphismes ou pilotes potentiellement compromis peut présenter un risque pour l'appareil hôte.

Si vous désactivez ou ne configurez pas ce paramètre, Microsoft Defender Application Guard utilise le rendu (UC) basé sur des logiciels et la solution ne chargera aucun pilote tiers et n'interagira avec aucun matériel graphique connecté.

This policy setting determines whether Microsoft Defender Application Guard renders graphics using hardware or software acceleration.

If you enable this setting, Microsoft Defender Application Guard uses Hyper-V to access supported, high-security rendering graphics hardware (GPUs). These GPUs improve rendering performance and battery life while using Microsoft Defender Application Guard, particularly for video playback and other graphics-intensive use cases. If you enable this setting without connecting any high-security rendering graphics hardware, Microsoft Defender Application Guard will automatically revert to software-based (CPU) rendering.

Note:
Be aware that enabling this setting with potentially compromised graphics devices or drivers might pose a risk to the host device.

If you disable or don’t configure this setting, Microsoft Defender Application Guard uses software-based (CPU) rendering and won’t load any third-party graphics drivers or interact with any connected graphics hardware.

Registre

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\AppHVSI
Nom de la valeur
AllowVirtualGPU
ÉtatValeur écrite
ActivéREG_DWORD = 1
DésactivéREG_DWORD = 0

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_AllowVirtualGPU
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\AppHVSI'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'AllowVirtualGPU' -Value 1 -Type DWord

Désactiver

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

Revenir à « Non configuré »

# Revenir à « Non configuré » : apphvsi/AppHVSI_AllowVirtualGPU
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\AppHVSI'
Remove-ItemProperty -Path $k -Name 'AllowVirtualGPU' -ErrorAction SilentlyContinue

Disponibilité

Windows Server