Richiedi l'utilizzo di un livello di sicurezza specificato per le connessioni remote (RDP): valore del Registro di sistema SecurityLayerComputerHKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services
- ID criterio
- TS_SECURITY_LAYER_POLICY
- Ambito
- Configurazione computer
- Supportato in
- Almeno Windows Vista
- Origine
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versione 1.0)
- Categoria
- Componenti di Windows › Servizi Desktop remoto › Host sessione di Desktop remoto › Sicurezza
Registro
SecurityLayer
REG_DWORDComputerHKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services Chiave corrente
- Valore abilitato
- Dipende dal valore dell'opzione
- Elemento
- Livello di sicurezza
| Voce | Valore memorizzato |
|---|---|
| RDP | 0 |
| Negoziazione | 1 |
| SSL | 2 |
Applica con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services] ; Opzioni (usarne solo una) ; RDP "SecurityLayer"=dword:00000000 ; Negoziazione "SecurityLayer"=dword:00000001 ; SSL "SecurityLayer"=dword:00000002
CMD
:: Opzioni (usarne solo una) :: RDP reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "SecurityLayer" /t REG_DWORD /d 0 /f :: Negoziazione 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
# Comune: crea la chiave New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Force | Out-Null # Opzioni (usarne solo una) # RDP New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Name 'SecurityLayer' -PropertyType DWord -Value 0 -Force | Out-Null # Negoziazione 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