Requerir el uso de un nivel de seguridad específico para conexiones remotas (RDP): valor del Registro SecurityLayerEquipoHKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services
- Id. de directiva
- TS_SECURITY_LAYER_POLICY
- Ámbito
- Configuración del equipo
- Compatible con
- Al menos Windows Vista
- Origen
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versión 1.0)
- Categoría
- Componentes de Windows › Servicios de Escritorio remoto › Host de sesión de Escritorio remoto › Seguridad
Registro
SecurityLayer
REG_DWORDEquipo- Valor al habilitar
- Depende del valor de la opción
- Elemento
- Nivel de seguridad
| Elemento de lista | Valor almacenado |
|---|---|
| RDP | 0 |
| Negotiate | 1 |
| SSL | 2 |
Aplicar con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services] ; Opciones (usar solo una) ; RDP "SecurityLayer"=dword:00000000 ; Negotiate "SecurityLayer"=dword:00000001 ; SSL "SecurityLayer"=dword:00000002
CMD
:: Opciones (usar solo una) :: RDP reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "SecurityLayer" /t REG_DWORD /d 0 /f :: Negotiate 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
# Común: crear la clave New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Force | Out-Null # Opciones (usar solo una) # RDP New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Name 'SecurityLayer' -PropertyType DWord -Value 0 -Force | Out-Null # Negotiate 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