Restrict clipboard transfer from client to server: registry value CSClipLevelUserHKCU\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services

Policy ID
TS_CLIENT_CLIPBOARDRESTRICTION_CS
Scope
Computer Configuration, User Configuration
Supported on
At least Windows 11 Version 22H2
Source
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (version 1.0)
Category
Windows Components › Remote Desktop Services › Remote Desktop Session Host › Device and Resource Redirection

Registry

CSClipLevel

REG_DWORDUserComputer
Enabled value
Depends on the option value
Element
Restrict clipboard transfer from client to server:
Options
ItemStored value
Disable clipboard transfers from client to server0
Allow plain text1
Allow plain text and images2
Allow plain text, images and Rich Text Format3
Allow plain text, images, Rich Text Format and HTML4
Apply with .reg · CMD · PowerShell
UserPer-account setting
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services]

; Options (use only one)
; Disable clipboard transfers from client to server
"CSClipLevel"=dword:00000000
; Allow plain text
"CSClipLevel"=dword:00000001
; Allow plain text and images
"CSClipLevel"=dword:00000002
; Allow plain text, images and Rich Text Format
"CSClipLevel"=dword:00000003
; Allow plain text, images, Rich Text Format and HTML
"CSClipLevel"=dword:00000004
CMD
:: Options (use only one)

:: Disable clipboard transfers from client to server
reg add "HKCU\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "CSClipLevel" /t REG_DWORD /d 0 /f
:: Allow plain text
reg add "HKCU\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "CSClipLevel" /t REG_DWORD /d 1 /f
:: Allow plain text and images
reg add "HKCU\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "CSClipLevel" /t REG_DWORD /d 2 /f
:: Allow plain text, images and Rich Text Format
reg add "HKCU\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "CSClipLevel" /t REG_DWORD /d 3 /f
:: Allow plain text, images, Rich Text Format and HTML
reg add "HKCU\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "CSClipLevel" /t REG_DWORD /d 4 /f
PowerShell
# Common: create the key
New-Item -Path 'HKCU:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Force | Out-Null

# Options (use only one)
# Disable clipboard transfers from client to server
New-ItemProperty -Path 'HKCU:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Name 'CSClipLevel' -PropertyType DWord -Value 0 -Force | Out-Null
# Allow plain text
New-ItemProperty -Path 'HKCU:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Name 'CSClipLevel' -PropertyType DWord -Value 1 -Force | Out-Null
# Allow plain text and images
New-ItemProperty -Path 'HKCU:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Name 'CSClipLevel' -PropertyType DWord -Value 2 -Force | Out-Null
# Allow plain text, images and Rich Text Format
New-ItemProperty -Path 'HKCU:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Name 'CSClipLevel' -PropertyType DWord -Value 3 -Force | Out-Null
# Allow plain text, images, Rich Text Format and HTML
New-ItemProperty -Path 'HKCU:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Name 'CSClipLevel' -PropertyType DWord -Value 4 -Force | Out-Null
ComputerMachine-wide setting
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services]

; Options (use only one)
; Disable clipboard transfers from client to server
"CSClipLevel"=dword:00000000
; Allow plain text
"CSClipLevel"=dword:00000001
; Allow plain text and images
"CSClipLevel"=dword:00000002
; Allow plain text, images and Rich Text Format
"CSClipLevel"=dword:00000003
; Allow plain text, images, Rich Text Format and HTML
"CSClipLevel"=dword:00000004
CMD
:: Options (use only one)

:: Disable clipboard transfers from client to server
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "CSClipLevel" /t REG_DWORD /d 0 /f
:: Allow plain text
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "CSClipLevel" /t REG_DWORD /d 1 /f
:: Allow plain text and images
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "CSClipLevel" /t REG_DWORD /d 2 /f
:: Allow plain text, images and Rich Text Format
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "CSClipLevel" /t REG_DWORD /d 3 /f
:: Allow plain text, images, Rich Text Format and HTML
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "CSClipLevel" /t REG_DWORD /d 4 /f
PowerShell
# Common: create the key
New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Force | Out-Null

# Options (use only one)
# Disable clipboard transfers from client to server
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Name 'CSClipLevel' -PropertyType DWord -Value 0 -Force | Out-Null
# Allow plain text
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Name 'CSClipLevel' -PropertyType DWord -Value 1 -Force | Out-Null
# Allow plain text and images
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Name 'CSClipLevel' -PropertyType DWord -Value 2 -Force | Out-Null
# Allow plain text, images and Rich Text Format
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Name 'CSClipLevel' -PropertyType DWord -Value 3 -Force | Out-Null
# Allow plain text, images, Rich Text Format and HTML
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Name 'CSClipLevel' -PropertyType DWord -Value 4 -Force | Out-Null