Configure copy and paste from Office documents opened in Application Guard: wartość rejestru clipboarddirection i 1 więcejUżytkownikHKCU\software\policies\microsoft\office\16.0\common\security\applicationguard

Brak oficjalnego tekstu w tym języku (wyświetlono oryginał angielski)

Identyfikator zasady
L_TurnOffClipboardAccessInApplicationGuard
Zakres
Konfiguracja użytkownika
Obsługiwane w systemach
Co najmniej Windows Server 2016, Windows 10
Źródło
Microsoft 365 Apps / Office Administrative Templates (wersja 5568.1000)
Kategoria
Microsoft Office 2016 › Security Settings › Trust Center › Application Guard

Rejestr

clipboarddirection

REG_DWORDUżytkownik
Wartość włączona
Zależy od wartości opcji
Element
Clipboard behavior setting.
Opcje
PozycjaZapisana wartość
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
Zastosuj przez .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

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

; Opcje (użyj tylko jednej)
; 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
:: Opcje (użyj tylko jednej)

:: 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
# Wspólne: utwórz klucz
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\common\security\applicationguard' -Force | Out-Null

# Opcje (użyj tylko jednej)
# 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_DWORDUżytkownik
Wartość włączona
Zależy od wartości opcji
Element
Clipboard content options.
Opcje
PozycjaZapisana wartość
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
Zastosuj przez .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

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

; Opcje (użyj tylko jednej)
; 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
:: Opcje (użyj tylko jednej)

:: 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
# Wspólne: utwórz klucz
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\common\security\applicationguard' -Force | Out-Null

# Opcje (użyj tylko jednej)
# 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