Open in the explorer

Restrict clipboard transfer from server to client

Restreindre le transfert du Presse-papiers du serveur vers le client

Type
Computer and user
GPO path
Computer Configuration › Policies › Administrative Templates › Windows Components › Remote Desktop Services › Remote Desktop Session Host › Device and Resource Redirection User Configuration › Policies › Administrative Templates › Windows Components › Remote Desktop Services › Remote Desktop Session Host › Device and Resource Redirection FR: Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Services Bureau à distance › Hôte de la session Bureau à distance › Redirection de périphérique et de ressourceFR: Configuration utilisateur › Stratégies › Modèles d'administration › Composants Windows › Services Bureau à distance › Hôte de la session Bureau à distance › Redirection de périphérique et de ressource
Supported on
At least Windows 11 Version 22H2 FR: Au moins Windows 11 version 22H2
ADMX file
TerminalServer.admx
Internal name
TerminalServer/TS_CLIENT_CLIPBOARDRESTRICTION_SC

Explanation

This policy setting allows you to restrict clipboard data transfers from server to client.

If you enable this policy setting, you must choose from the following behaviors:

- Disable clipboard transfers from server to client.

- Allow plain text copying from server to client.

- Allow plain text and images copying from server to client.

- Allow plain text, images and Rich Text Format copying from server to client.

- Allow plain text, images, Rich Text Format and HTML copying from server to client.

If you disable or do not configure this policy setting, users can copy arbitrary contents from server to client if clipboard redirection is enabled.

Note: This policy setting appears in both Computer Configuration and User Configuration. If both policy settings are configured, the stricter restriction will be used.

French text from Windows 11 26H2

Ce paramètre de stratégie vous permet de limiter les transferts de données du Presse-papiers du serveur vers le client.

Si vous activez ce paramètre de stratégie, vous devez choisir parmi les comportements suivants :

- Désactiver les transferts du Presse-papiers du serveur vers le client.

- Autoriser la copie de texte brut du serveur vers le client.

- Autoriser la copie de texte brut et d’images du serveur vers le client.

- Autoriser la copie de texte brut, d’images et de format texte enrichi du serveur vers le client.

- Autoriser la copie de texte brut, d’images, de format texte enrichi et de HTML du serveur vers le client.

Si vous désactivez ou ne configurez pas ce paramètre de stratégie, les utilisateurs peuvent copier du contenu arbitraire du serveur vers le client si la redirection du Presse-papiers est activée.

Remarque : ce paramètre de stratégie s’affiche dans Configuration de l’ordinateur et Configuration utilisateur. Si les deux paramètres de stratégie sont configurés, la restriction la plus stricte est utilisée.

Registry

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services
HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services
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.

Computer (HKLM)

Enable

# Enable: TerminalServer/TS_CLIENT_CLIPBOARDRESTRICTION_SC
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Restrict clipboard transfer from server to client
# Possible options:
#   Disable clipboard transfers from server to client = 0
#   Allow plain text = 1
#   Allow plain text and images = 2
#   Allow plain text, images and Rich Text Format = 3
#   Allow plain text, images, Rich Text Format and HTML = 4
Set-ItemProperty -Path $k -Name 'SCClipLevel' -Value 0 -Type DWord

Disable

# Disable: TerminalServer/TS_CLIENT_CLIPBOARDRESTRICTION_SC
# No value is written in the "Disabled" state (nothing defined in the ADMX)

Revert to "Not configured"

# Revert to "Not configured": TerminalServer/TS_CLIENT_CLIPBOARDRESTRICTION_SC
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services'
Remove-ItemProperty -Path $k -Name 'SCClipLevel' -ErrorAction SilentlyContinue

User (HKCU)

Enable

Disable

Revert to "Not configured"

Options (1)

LabelControlRegistry valueREG typeConstraints / details
Restrict clipboard transfer from server to client:Restreindre le transfert du Presse-papiers du serveur vers le client :TS_SC_CLIPBOARD_RESTRICTION_TextDrop-down listenumSCClipLevelREG_DWORD
Required · Default choice (UI): #0
LabelValue
Disable clipboard transfers from server to clientREG_DWORD = 0
Allow plain textREG_DWORD = 1
Allow plain text and imagesREG_DWORD = 2
Allow plain text, images and Rich Text FormatREG_DWORD = 3
Allow plain text, images, Rich Text Format and HTMLREG_DWORD = 4

Availability

Windows 11

Windows 10

— 22H2— 21H2— 21H1— 20H2— 2004— 1909— 1903— 1809— 1803— 1709— 1703— 1607— 1511— 1507

Windows Server

✓ 2025— 2022— 2016