リモート (RDP) 接続に特定のセキュリティ レイヤーの使用を必要とする のレジストリ値 SecurityLayerコンピューターHKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services
- ポリシー ID
- TS_SECURITY_LAYER_POLICY
- 適用対象
- コンピューターの構成
- サポートされるバージョン
- Windows Vista 以降
- 出典
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (バージョン 1.0)
- カテゴリ
- Windows コンポーネント › リモート デスクトップ サービス › リモート デスクトップ セッション ホスト › セキュリティ
レジストリ
SecurityLayer
REG_DWORDコンピューター- 有効時の値
- オプションの値に依存
- 要素
- セキュリティ レイヤー
| 項目 | 保存される値 |
|---|---|
| RDP | 0 |
| ネゴシエート | 1 |
| SSL | 2 |
.reg · CMD · PowerShell で適用する
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services] ; 選択項目 (1 つだけ使用) ; RDP "SecurityLayer"=dword:00000000 ; ネゴシエート "SecurityLayer"=dword:00000001 ; SSL "SecurityLayer"=dword:00000002
CMD
:: 選択項目 (1 つだけ使用) :: RDP reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "SecurityLayer" /t REG_DWORD /d 0 /f :: ネゴシエート reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "SecurityLayer" /t REG_DWORD /d 1 /f :: SSL reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "SecurityLayer" /t REG_DWORD /d 2 /f
PowerShell
# 共通: キーを作成 New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Force | Out-Null # 選択項目 (1 つだけ使用) # RDP New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Name 'SecurityLayer' -PropertyType DWord -Value 0 -Force | Out-Null # ネゴシエート New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Name 'SecurityLayer' -PropertyType DWord -Value 1 -Force | Out-Null # SSL New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Name 'SecurityLayer' -PropertyType DWord -Value 2 -Force | Out-Null