限制剪貼簿從伺服器傳送到用戶端 的登錄值 SCClipLevel使用者HKCU\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services
- 原則 ID
- TS_CLIENT_CLIPBOARDRESTRICTION_SC
- 適用範圍
- 電腦設定、使用者設定
- 支援的作業系統
- 至少需要 Windows 11 版本 22H2
- 來源
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (版本 1.0)
- 類別
- Windows 元件 › 遠端桌面服務 › 遠端桌面工作階段主機 › 裝置及資源重新導向
登錄
SCClipLevel
REG_DWORD使用者電腦…\SOFTWARE\Policies\Microsoft\Windows NT\Terminal ServicesHKCU\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services 目前的機碼
HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services
HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services
- 啟用時的值
- 取決於選項值
- 元素
- 限制剪貼簿從伺服器傳送到用戶端:
| 項目 | 儲存的值 |
|---|---|
| 停用剪貼簿從伺服器傳送到用戶端 | 0 |
| 允許純文字 | 1 |
| 允許純文字和影像 | 2 |
| 允許純文字、影像和 RTF 格式 | 3 |
| 允許純文字、影像、RTF 格式和 HTML | 4 |
以 .reg · CMD · PowerShell 套用
使用者各帳戶的設定
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services] ; 選項 (只使用其中一個) ; 停用剪貼簿從伺服器傳送到用戶端 "SCClipLevel"=dword:00000000 ; 允許純文字 "SCClipLevel"=dword:00000001 ; 允許純文字和影像 "SCClipLevel"=dword:00000002 ; 允許純文字、影像和 RTF 格式 "SCClipLevel"=dword:00000003 ; 允許純文字、影像、RTF 格式和 HTML "SCClipLevel"=dword:00000004
CMD
:: 選項 (只使用其中一個) :: 停用剪貼簿從伺服器傳送到用戶端 reg add "HKCU\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "SCClipLevel" /t REG_DWORD /d 0 /f :: 允許純文字 reg add "HKCU\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "SCClipLevel" /t REG_DWORD /d 1 /f :: 允許純文字和影像 reg add "HKCU\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "SCClipLevel" /t REG_DWORD /d 2 /f :: 允許純文字、影像和 RTF 格式 reg add "HKCU\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "SCClipLevel" /t REG_DWORD /d 3 /f :: 允許純文字、影像、RTF 格式和 HTML reg add "HKCU\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "SCClipLevel" /t REG_DWORD /d 4 /f
PowerShell
# 共通: 建立機碼 New-Item -Path 'HKCU:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Force | Out-Null # 選項 (只使用其中一個) # 停用剪貼簿從伺服器傳送到用戶端 New-ItemProperty -Path 'HKCU:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Name 'SCClipLevel' -PropertyType DWord -Value 0 -Force | Out-Null # 允許純文字 New-ItemProperty -Path 'HKCU:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Name 'SCClipLevel' -PropertyType DWord -Value 1 -Force | Out-Null # 允許純文字和影像 New-ItemProperty -Path 'HKCU:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Name 'SCClipLevel' -PropertyType DWord -Value 2 -Force | Out-Null # 允許純文字、影像和 RTF 格式 New-ItemProperty -Path 'HKCU:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Name 'SCClipLevel' -PropertyType DWord -Value 3 -Force | Out-Null # 允許純文字、影像、RTF 格式和 HTML New-ItemProperty -Path 'HKCU:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Name 'SCClipLevel' -PropertyType DWord -Value 4 -Force | Out-Null
電腦整部電腦的設定
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services] ; 選項 (只使用其中一個) ; 停用剪貼簿從伺服器傳送到用戶端 "SCClipLevel"=dword:00000000 ; 允許純文字 "SCClipLevel"=dword:00000001 ; 允許純文字和影像 "SCClipLevel"=dword:00000002 ; 允許純文字、影像和 RTF 格式 "SCClipLevel"=dword:00000003 ; 允許純文字、影像、RTF 格式和 HTML "SCClipLevel"=dword:00000004
CMD
:: 選項 (只使用其中一個) :: 停用剪貼簿從伺服器傳送到用戶端 reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "SCClipLevel" /t REG_DWORD /d 0 /f :: 允許純文字 reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "SCClipLevel" /t REG_DWORD /d 1 /f :: 允許純文字和影像 reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "SCClipLevel" /t REG_DWORD /d 2 /f :: 允許純文字、影像和 RTF 格式 reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "SCClipLevel" /t REG_DWORD /d 3 /f :: 允許純文字、影像、RTF 格式和 HTML reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "SCClipLevel" /t REG_DWORD /d 4 /f
PowerShell
# 共通: 建立機碼 New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Force | Out-Null # 選項 (只使用其中一個) # 停用剪貼簿從伺服器傳送到用戶端 New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Name 'SCClipLevel' -PropertyType DWord -Value 0 -Force | Out-Null # 允許純文字 New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Name 'SCClipLevel' -PropertyType DWord -Value 1 -Force | Out-Null # 允許純文字和影像 New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Name 'SCClipLevel' -PropertyType DWord -Value 2 -Force | Out-Null # 允許純文字、影像和 RTF 格式 New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Name 'SCClipLevel' -PropertyType DWord -Value 3 -Force | Out-Null # 允許純文字、影像、RTF 格式和 HTML New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Name 'SCClipLevel' -PropertyType DWord -Value 4 -Force | Out-Null