Configure copy and paste from Office documents opened in Application Guard
Explanation
This policy setting allows you to control whether users can copy and paste content from Office to and from documents opened in Application Guard, as well as the allowed formats. This policy setting only applies to Word, Excel, and PowerPoint.
If you enable this policy setting, you must choose from the following behaviors:
- Enable clipboard functionality between the host and Application Guard (default).
- 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: Application Guard only allows copying text and images and doesn’t allow copying of rich content.
Important: 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.
You can also choose the type of content that can be copied, by using the content options:
- Allows text copying (default).
- Allows image copying.
- Allows both text and image copying.
If you disable or don't configure this policy setting, users can copy and paste content to and from documents opened in Application Guard to other locations outside Application Guard.
Note: Application Guard only allows copying text and images and doesn’t allow copying of rich content.
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_TurnOffClipboardAccessInApplicationGuard
$k = 'HKCU:\software\policies\microsoft\office\16.0\common\security\applicationguard'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Clipboard behavior setting.
# Possible options:
# Enable clipboard operation both directions (default) = 0
# Enable clipboard operation only from the host to the isolated session = 1
# Enable clipboard operation only from an isolated session to the host = 2
# Disable clipboard operation both directions = 3
Set-ItemProperty -Path $k -Name 'clipboarddirection' -Value 0 -Type DWord
# Clipboard content options.
# Possible options:
# Enable only text operations in the clipboard (default). = 0
# Enable only image operations in the clipboard. = 1
# Enable image and text operations in the clipboard. = 2
Set-ItemProperty -Path $k -Name 'clipboardformats' -Value 0 -Type DWordDisable
# Disable: office16/L_TurnOffClipboardAccessInApplicationGuard
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": office16/L_TurnOffClipboardAccessInApplicationGuard
$k = 'HKCU:\software\policies\microsoft\office\16.0\common\security\applicationguard'
Remove-ItemProperty -Path $k -Name 'clipboarddirection' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'clipboardformats' -ErrorAction SilentlyContinueOptions (2)
| Label | Control | Registry value | REG type | Constraints / details | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Clipboard behavior setting.L_AppGuardClipboardDirection | Drop-down listenum | clipboarddirection | REG_DWORD | Default choice (UI): #0
| ||||||||||
| Clipboard content options.L_AppGuardClipboardTypeValue | Drop-down listenum | clipboardformats | REG_DWORD | Default (UI): 0
|
Application
Microsoft 365 Apps / Office (Microsoft) — November 2026 templates
Official templates downloaded on November 12, 2026.