Permitir SPNs baseados em endereço IP durante a autenticação Kerberos: valor do Registro TryIPSPNComputadorHKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters

ID da política
EnableTryIPSPN
Escopo
Configuração do Computador
Compatível com
Pelo menos Windows 11 Versão 24H2
Fonte
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versão 1.0)
Categoria
Sistema › Kerberos

Registro

TryIPSPN

REG_DWORDComputador
Valor habilitado
1
Valor desabilitado
0
Aplicar com .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

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

; Opções (use apenas uma)
; Habilitada
"TryIPSPN"=dword:00000001
; Desabilitada
"TryIPSPN"=dword:00000000
CMD
:: Opções (use apenas uma)

:: Habilitada
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters" /v "TryIPSPN" /t REG_DWORD /d 1 /f
:: Desabilitada
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters" /v "TryIPSPN" /t REG_DWORD /d 0 /f
PowerShell
# Comum: criar a chave
New-Item -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Force | Out-Null

# Opções (use apenas uma)
# Habilitada
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Name 'TryIPSPN' -PropertyType DWord -Value 1 -Force | Out-Null
# Desabilitada
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Name 'TryIPSPN' -PropertyType DWord -Value 0 -Force | Out-Null