Restrict printing from Office of documents opened in Application Guard
| Registry value | disablexpsprintsettings |
| Group Policy | Restrict printing from Office of documents opened in Application Guard |
| German version | Das Drucken von Dokumenten über Office einschränken, die in Application Guard geöffnet wurden |
| Intune settings catalog | Restrict printing from Office of documents opened in Application Guard. (User) |
| Scope | User · HKCU |
| ADMX | office16.admx · L_TurnOffPrintSettingsInApplicationGuard |
Group Policy path
Registry
| Value | Data |
|---|---|
HKCU\Software\policies\microsoft\office\16.0\common\security\applicationguard | |
| disablexpsprintsettings | Enabled = 1 · Disabled = 0 |
| disablepdfprintsettings | Enabled = 1 · Disabled = 0 |
| disablelocalprintsettings | Enabled = 1 · Disabled = 0 |
| disablenetworkprintsettings | Enabled = 1 · Disabled = 0 |
Not configured = the value does not exist – the application default applies and users may change the setting.
PowerShell
Check the current value (read-only)
# --- Settings ---
$root = 'HKCU:' # other signed-in user (elevated): 'Registry::HKEY_USERS\<SID>'
$key = "$root\Software\policies\microsoft\office\16.0\common\security\applicationguard"
foreach ($name in @('disablexpsprintsettings', 'disablepdfprintsettings', 'disablelocalprintsettings', 'disablenetworkprintsettings')) {
try { '{0} = {1}' -f $name, (Get-ItemPropertyValue -Path $key -Name $name -ErrorAction Stop) }
catch { '{0}: not configured' -f $name }
}Admin rights needed: HKCU\Software\Policies is read-only for standard users. An elevated session writes to the admin's own HKCU – to set it for another signed-in user, change $root to Registry::HKEY_USERS\<SID>.
Enable
# --- Settings ---
$root = 'HKCU:' # other signed-in user (elevated): 'Registry::HKEY_USERS\<SID>'
try {
$key = "$root\Software\policies\microsoft\office\16.0\common\security\applicationguard"
if (-not (Test-Path $key)) { New-Item -Path $key -Force -ErrorAction Stop | Out-Null }
New-ItemProperty -Path $key -Name 'disablexpsprintsettings' -PropertyType DWord -Value 1 -Force -ErrorAction Stop | Out-Null # Enabled
New-ItemProperty -Path $key -Name 'disablepdfprintsettings' -PropertyType DWord -Value 1 -Force -ErrorAction Stop | Out-Null # Enabled
New-ItemProperty -Path $key -Name 'disablelocalprintsettings' -PropertyType DWord -Value 1 -Force -ErrorAction Stop | Out-Null # Enabled
New-ItemProperty -Path $key -Name 'disablenetworkprintsettings' -PropertyType DWord -Value 1 -Force -ErrorAction Stop | Out-Null # Enabled
'Done.'
}
catch { Write-Error "Failed: $($_.Exception.Message)" }Reset to Not configured
# --- Settings --- $root = 'HKCU:' # other signed-in user (elevated): 'Registry::HKEY_USERS\<SID>' $key = "$root\Software\policies\microsoft\office\16.0\common\security\applicationguard" Remove-ItemProperty -Path $key -Name 'disablexpsprintsettings', 'disablepdfprintsettings', 'disablelocalprintsettings', 'disablenetworkprintsettings' -ErrorAction SilentlyContinue 'Policy values removed (Not configured).'
Intune (settings catalog)
Restrict printing from Office of documents opened in Application Guard. (User)
Settings catalog → Add settings → search for the name above.
Intune Settings Catalog Viewer ↗
Alternative: custom profile (OMA-URI)
| OMA-URI | ./User/Vendor/MSFT/Policy/Config/office16v7~Policy~L_MicrosoftOfficeSystem~L_SecuritySettings~L_trustcenter241~L_ApplicationGuard/L_TurnOffPrintSettingsInApplicationGuard |
| Data type | String |
| Value | <enabled/> · <disabled/> |
This policy has options: add one <data id="…" value="…"/> per element after <enabled/>. The element IDs are in the ADMX file.
Cloud Policy
Cloud Policy (config.office.com → Customization → Policy Management) offers many user policies of the Microsoft 365 Apps – search for Restrict printing from Office of documents opened in Application Guard. It also applies to unmanaged devices and wins over GPO and Intune for the same setting.
Microsoft 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.
Same category: Microsoft Office 2016 › Security Settings › Trust Center › Application Guard
- Prevent users from removing Application Guard protection on files.disabletrustpromotion
- Turn off camera and microphone access for Office apps using Application Guard.disablecameraandmicrophone
- Configure copy and paste from Office documents opened in Application Guardclipboarddirection
- Don't use Application Guard with Office.disableappguard
- Disable hardware acceleration for Office in Application Guarddisablehardwareacceleration
- Turn off protection of unsupported file types in Application Guard for Officeredirectunsupportedfiletypestopv
- Configure Application Guard container precreationprewarmwindow
All policies in this category · All 945 policies of office16.admx