Restrict printing from Office of documents opened in Application Guard
Explanation
This policy setting allows you to control how users can print from Office documents opened in Application Guard.
If you enable this policy setting, you can choose to selectively retrict one or more of the following printing options.
- Don't allow printing to XPS, prevents users from printing as XPS and saving the resulting file on the host.
- Don't allow printing to PDF, prevents users from printing as PDF and saving the resulting file on the host.
- Don't allow printing to local printers, prevents users from printing to locally attached printers.
- Don't allow printing to existing network printers, prevents users from printing to previously connected network printers. Also, users can't search for additional printers.
Note: if you select all the choices or don’t select any of the choices, then printing isn’t allowed in Application Guard.
If you disable or don’t configure this policy setting, users can print to all printers configured on their device.
Note: This policy setting only applies to Microsoft 365 Apps for enterprise.
Registry
HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\common\security\applicationguard- 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: office16/L_TurnOffPrintSettingsInApplicationGuard
$k = 'HKCU:\software\policies\microsoft\office\16.0\common\security\applicationguard'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Disable XPS printing
# unchecked: 0
Set-ItemProperty -Path $k -Name 'disablexpsprintsettings' -Value 1 -Type DWord
# Disable PDF printing
# unchecked: 0
Set-ItemProperty -Path $k -Name 'disablepdfprintsettings' -Value 1 -Type DWord
# Disable Local printing
# unchecked: 0
Set-ItemProperty -Path $k -Name 'disablelocalprintsettings' -Value 1 -Type DWord
# Disable Network printing
# unchecked: 0
Set-ItemProperty -Path $k -Name 'disablenetworkprintsettings' -Value 1 -Type DWordDisable
# Disable: office16/L_TurnOffPrintSettingsInApplicationGuard
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": office16/L_TurnOffPrintSettingsInApplicationGuard
$k = 'HKCU:\software\policies\microsoft\office\16.0\common\security\applicationguard'
Remove-ItemProperty -Path $k -Name 'disablexpsprintsettings' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'disablepdfprintsettings' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'disablelocalprintsettings' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'disablenetworkprintsettings' -ErrorAction SilentlyContinueOptions (4)
| Label | Control | Registry value | REG type | Constraints / details |
|---|---|---|---|---|
| Disable XPS printingL_TurnOffXPSPrintingInApplicationGuard | Check boxboolean | disablexpsprintsettings | REG_DWORD | Checked: REG_DWORD = 1Unchecked: REG_DWORD = 0 |
| Disable PDF printingL_TurnOffPDFPrintingInApplicationGuard | Check boxboolean | disablepdfprintsettings | REG_DWORD | Checked: REG_DWORD = 1Unchecked: REG_DWORD = 0 |
| Disable Local printingL_TurnOffLocalPrintingInApplicationGuard | Check boxboolean | disablelocalprintsettings | REG_DWORD | Checked: REG_DWORD = 1Unchecked: REG_DWORD = 0 |
| Disable Network printingL_TurnOffNetworkPrintingInApplicationGuard | Check boxboolean | disablenetworkprintsettings | REG_DWORD | Checked: REG_DWORD = 1Unchecked: REG_DWORD = 0 |
Application
Microsoft 365 Apps / Office (Microsoft) — November 2026 templates
Official templates downloaded on November 12, 2026.