Open in the explorer

Configure Microsoft Defender Application Guard print settings

Configurer les paramètres d’impression 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_PrintingConfig

Explanation

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

If you enable this setting, you must choose one or many of the following behaviors:

- Disable all print functionality in Application Guard.

- Enable printing to existing network printers.

- Enable printing to local printers.

- Enable printing to PDF, allows people to print as PDF and save the resulting file on the host.

- Enable printing to XPS, allows people to print as XPS and save the resulting file on the host.

If you disable or don't configure this setting, all print 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 la fonctionnalité d'impression se comporte dans Microsoft Defender Application Guard.

Si vous activez ce paramètre, vous devez choisir un ou plusieurs des comportements suivants :

- Désactiver toutes les fonctionnalités d'impression dans Application Guard.

- Autoriser l'impression sur des imprimantes réseau existantes.

- Autoriser l'impression sur des imprimantes locales.

- Autoriser l'impression en PDF, permettre à des personnes d'imprimer en PDF et d'enregistrer le fichier résultant sur l'hôte.

- Autoriser l'impression en XPS, permettre à des personnes d'imprimer en PDF et d'enregistrer le fichier résultant sur l'hôte.

Si vous ne configurez pas ce paramètre ou si vous le désactivez, toutes les fonctionnalités d'impression sont 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_PrintingConfig
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\AppHVSI'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Allowed print types in Application Guard.
Set-ItemProperty -Path $k -Name 'AppHVSIPrintingSettings' -Value 0 -Type DWord  # between 0 and 15

Disable

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

Revert to "Not configured"

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

Options (1)

LabelControlRegistry valueREG typeConstraints / details
Allowed print types in Application Guard.Types d'impression autorisés dans Application Guard.AppHVSIPrintingSettings_TextBoxNumeric boxdecimalAppHVSIPrintingSettingsREG_DWORD
Min: 0 · Max: 15 · Default (UI): 0

Availability

Windows Server