원격(RDP) 연결에 특정 보안 계층 사용 레지스트리 값 SecurityLayer컴퓨터HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services
- 정책 ID
- TS_SECURITY_LAYER_POLICY
- 범위
- 컴퓨터 구성
- 지원 OS
- 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] ; 선택 항목 (하나만 사용) ; RDP "SecurityLayer"=dword:00000000 ; 협상 "SecurityLayer"=dword:00000001 ; SSL "SecurityLayer"=dword:00000002
CMD
:: 선택 항목 (하나만 사용) :: 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 # 선택 항목 (하나만 사용) # 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