Permitir SPN basados en direcciones IP durante la autenticación Kerberos: valor del Registro TryIPSPNEquipoHKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters

Id. de directiva
EnableTryIPSPN
Ámbito
Configuración del equipo
Compatible con
Como mínimo Windows 11 versión 24H2
Origen
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versión 1.0)
Categoría
Sistema › Kerberos

Registro

TryIPSPN

REG_DWORDEquipo
Valor al habilitar
1
Valor al deshabilitar
0
Aplicar con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters]

; Opciones (usar solo una)
; Habilitada
"TryIPSPN"=dword:00000001
; Deshabilitada
"TryIPSPN"=dword:00000000
CMD
:: Opciones (usar solo una)

:: Habilitada
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters" /v "TryIPSPN" /t REG_DWORD /d 1 /f
:: Deshabilitada
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters" /v "TryIPSPN" /t REG_DWORD /d 0 /f
PowerShell
# Común: crear la clave
New-Item -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Force | Out-Null

# Opciones (usar solo una)
# Habilitada
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Name 'TryIPSPN' -PropertyType DWord -Value 1 -Force | Out-Null
# Deshabilitada
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Name 'TryIPSPN' -PropertyType DWord -Value 0 -Force | Out-Null