Disable Cloud Clipboard integration for server-to-client data transfer
Désactiver l’intégration du Presse-papiers cloud pour le transfert de données serveur à client
Explanation
This policy setting lets you control whether data transferred from the remote session to the client using clipboard redirection is added to the client-side Cloud Clipboard.
By default, Remote Desktop disables integration with the client-side Cloud Clipboard for data transfered from the remote session using clipboard redirection.
If you enable or do not configure this policy setting, data copied in the remote session and pasted on the client, will not be added to the client-side Cloud Clipboard.
If you disable this policy setting, data copied in the remote session and pasted on the client, will be added to the client-side Cloud Clipboard (if enabled).
Ce paramètre de stratégie vous permet de contrôler si les données transférées de la session à distance vers le client à l’aide de la redirection du Presse-papiers sont ajoutées au Presse-papiers cloud côté client.
Par défaut, Bureau à distance désactive l’intégration au Presse-papiers cloud côté client pour les données transférées à partir de la session distante à l’aide de la redirection du Presse-papiers.
Si vous activez ou ne configurez pas ce paramètre de stratégie, les données copiées dans la session distante et collées sur le client ne sont pas ajoutées au Presse-papiers cloud côté client.
Si vous désactivez ce paramètre de stratégie, les données copiées dans la session distante et collées sur le client sont ajoutées au Presse-papiers cloud côté client (si cette option est activée).
Registry
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services\Client- Value name
DisableCloudClipboardIntegration
| State | Value written |
|---|---|
| Enabled | REG_DWORD = 1 |
| Disabled | REG_DWORD = 0 |
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: TerminalServer/TS_CLIPRDR_CLOUD_CLIP_INTEGRATION
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services\Client'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'DisableCloudClipboardIntegration' -Value 1 -Type DWordDisable
# Disable: TerminalServer/TS_CLIPRDR_CLOUD_CLIP_INTEGRATION
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services\Client'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'DisableCloudClipboardIntegration' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": TerminalServer/TS_CLIPRDR_CLOUD_CLIP_INTEGRATION
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services\Client'
Remove-ItemProperty -Path $k -Name 'DisableCloudClipboardIntegration' -ErrorAction SilentlyContinue