Configure copy and paste from Office documents opened in Application Guard: registry value clipboarddirection and 1 moreUserHKCU\software\policies\microsoft\office\16.0\common\security\applicationguard

Policy ID
L_TurnOffClipboardAccessInApplicationGuard
Scope
User Configuration
Supported on
At least Windows Server 2016, Windows 10
Source
Microsoft 365 Apps / Office Administrative Templates (version 5568.1000)
Category
Microsoft Office 2016 › Security Settings › Trust Center › Application Guard

Registry

clipboarddirection

REG_DWORDUser
Enabled value
Depends on the option value
Element
Clipboard behavior setting.
Options
ItemStored value
Enable clipboard operation both directions (default)0
Enable clipboard operation only from the host to the isolated session1
Enable clipboard operation only from an isolated session to the host2
Disable clipboard operation both directions3
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\common\security\applicationguard]

; Options (use only one)
; Enable clipboard operation both directions (default)
"clipboarddirection"=dword:00000000
; Enable clipboard operation only from the host to the isolated session
"clipboarddirection"=dword:00000001
; Enable clipboard operation only from an isolated session to the host
"clipboarddirection"=dword:00000002
; Disable clipboard operation both directions
"clipboarddirection"=dword:00000003
CMD
:: Options (use only one)

:: Enable clipboard operation both directions (default)
reg add "HKCU\software\policies\microsoft\office\16.0\common\security\applicationguard" /v "clipboarddirection" /t REG_DWORD /d 0 /f
:: Enable clipboard operation only from the host to the isolated session
reg add "HKCU\software\policies\microsoft\office\16.0\common\security\applicationguard" /v "clipboarddirection" /t REG_DWORD /d 1 /f
:: Enable clipboard operation only from an isolated session to the host
reg add "HKCU\software\policies\microsoft\office\16.0\common\security\applicationguard" /v "clipboarddirection" /t REG_DWORD /d 2 /f
:: Disable clipboard operation both directions
reg add "HKCU\software\policies\microsoft\office\16.0\common\security\applicationguard" /v "clipboarddirection" /t REG_DWORD /d 3 /f
PowerShell
# Common: create the key
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\common\security\applicationguard' -Force | Out-Null

# Options (use only one)
# Enable clipboard operation both directions (default)
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\security\applicationguard' -Name 'clipboarddirection' -PropertyType DWord -Value 0 -Force | Out-Null
# Enable clipboard operation only from the host to the isolated session
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\security\applicationguard' -Name 'clipboarddirection' -PropertyType DWord -Value 1 -Force | Out-Null
# Enable clipboard operation only from an isolated session to the host
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\security\applicationguard' -Name 'clipboarddirection' -PropertyType DWord -Value 2 -Force | Out-Null
# Disable clipboard operation both directions
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\security\applicationguard' -Name 'clipboarddirection' -PropertyType DWord -Value 3 -Force | Out-Null

clipboardformats

REG_DWORDUser
Enabled value
Depends on the option value
Element
Clipboard content options.
Options
ItemStored value
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
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\common\security\applicationguard]

; Options (use only one)
; Enable only text operations in the clipboard (default).
"clipboardformats"=dword:00000000
; Enable only image operations in the clipboard.
"clipboardformats"=dword:00000001
; Enable image and text operations in the clipboard.
"clipboardformats"=dword:00000002
CMD
:: Options (use only one)

:: Enable only text operations in the clipboard (default).
reg add "HKCU\software\policies\microsoft\office\16.0\common\security\applicationguard" /v "clipboardformats" /t REG_DWORD /d 0 /f
:: Enable only image operations in the clipboard.
reg add "HKCU\software\policies\microsoft\office\16.0\common\security\applicationguard" /v "clipboardformats" /t REG_DWORD /d 1 /f
:: Enable image and text operations in the clipboard.
reg add "HKCU\software\policies\microsoft\office\16.0\common\security\applicationguard" /v "clipboardformats" /t REG_DWORD /d 2 /f
PowerShell
# Common: create the key
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\common\security\applicationguard' -Force | Out-Null

# Options (use only one)
# Enable only text operations in the clipboard (default).
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\security\applicationguard' -Name 'clipboardformats' -PropertyType DWord -Value 0 -Force | Out-Null
# Enable only image operations in the clipboard.
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\security\applicationguard' -Name 'clipboardformats' -PropertyType DWord -Value 1 -Force | Out-Null
# Enable image and text operations in the clipboard.
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\security\applicationguard' -Name 'clipboardformats' -PropertyType DWord -Value 2 -Force | Out-Null