Configurar la autenticación de servidor para el cliente: valor del Registro AuthenticationLevelEquipoHKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services

Id. de directiva
TS_SERVER_AUTH
Ámbito
Configuración del equipo
Compatible con
Al menos Windows Vista con Service Pack 1
Origen
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versión 1.0)
Categoría
Componentes de Windows › Servicios de Escritorio remoto › Cliente de conexión a Escritorio remoto

Registro

AuthenticationLevel

REG_DWORDEquipo
Valor al habilitar
Depende del valor de la opción
Elemento
Configuración de autenticación:
Opciones
Elemento de listaValor almacenado
Conectarse siempre, incluso si hay errores de autenticación0
Avisarme si hay errores de autenticación2
No conectarse si hay errores de autenticación1
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)
; Conectarse siempre, incluso si hay errores de autenticación
"AuthenticationLevel"=dword:00000000
; Avisarme si hay errores de autenticación
"AuthenticationLevel"=dword:00000002
; No conectarse si hay errores de autenticación
"AuthenticationLevel"=dword:00000001
CMD
:: Opciones (usar solo una)

:: Conectarse siempre, incluso si hay errores de autenticación
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "AuthenticationLevel" /t REG_DWORD /d 0 /f
:: Avisarme si hay errores de autenticación
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "AuthenticationLevel" /t REG_DWORD /d 2 /f
:: No conectarse si hay errores de autenticación
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "AuthenticationLevel" /t REG_DWORD /d 1 /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)
# Conectarse siempre, incluso si hay errores de autenticación
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Name 'AuthenticationLevel' -PropertyType DWord -Value 0 -Force | Out-Null
# Avisarme si hay errores de autenticación
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Name 'AuthenticationLevel' -PropertyType DWord -Value 2 -Force | Out-Null
# No conectarse si hay errores de autenticación
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Name 'AuthenticationLevel' -PropertyType DWord -Value 1 -Force | Out-Null