Establecer el tamaño máximo del búfer de token de contexto SSPI de Kerberos: valor del Registro EnableMaxTokenSize y 1 másEquipoHKLM\System\CurrentControlSet\Control\Lsa\Kerberos\Parameters
- Id. de directiva
- MaxTokenSize
- Ámbito
- Configuración del equipo
- Compatible con
- Al menos sistemas operativos Windows Server 2003 o Windows XP Professional
- Origen
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versión 1.0)
- Categoría
- Sistema › Kerberos
Registro
EnableMaxTokenSize
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\System\CurrentControlSet\Control\Lsa\Kerberos\Parameters] ; Opciones (usar solo una) ; Habilitada "EnableMaxTokenSize"=dword:00000001 ; Deshabilitada "EnableMaxTokenSize"=dword:00000000
CMD
:: Opciones (usar solo una) :: Habilitada reg add "HKLM\System\CurrentControlSet\Control\Lsa\Kerberos\Parameters" /v "EnableMaxTokenSize" /t REG_DWORD /d 1 /f :: Deshabilitada reg add "HKLM\System\CurrentControlSet\Control\Lsa\Kerberos\Parameters" /v "EnableMaxTokenSize" /t REG_DWORD /d 0 /f
PowerShell
# Común: crear la clave New-Item -Path 'HKLM:\System\CurrentControlSet\Control\Lsa\Kerberos\Parameters' -Force | Out-Null # Opciones (usar solo una) # Habilitada New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Control\Lsa\Kerberos\Parameters' -Name 'EnableMaxTokenSize' -PropertyType DWord -Value 1 -Force | Out-Null # Deshabilitada New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Control\Lsa\Kerberos\Parameters' -Name 'EnableMaxTokenSize' -PropertyType DWord -Value 0 -Force | Out-Null
MaxTokenSize
REG_DWORDEquipo- Valor al habilitar
- Depende del valor de la opción
- Elemento
- Tamaño máximo
- Tipo de valor
- REG_DWORD
- Obligatorio
- true
- Valor mínimo
- 12000
- Valor máximo
- 2147483647
Aplicar con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Lsa\Kerberos\Parameters] ; Los nombres y tipos de valor siguen el ADMX. Reemplace <introducir valor> más abajo con sus propios datos "MaxTokenSize"=dword:<introducir valor>
CMD
:: Los nombres y tipos de valor siguen el ADMX. Reemplace <introducir valor> más abajo con sus propios datos reg add "HKLM\System\CurrentControlSet\Control\Lsa\Kerberos\Parameters" /v "MaxTokenSize" /t REG_DWORD /d "<introducir valor>" /f
PowerShell
# Los nombres y tipos de valor siguen el ADMX. Reemplace <introducir valor> más abajo con sus propios datos New-Item -Path 'HKLM:\System\CurrentControlSet\Control\Lsa\Kerberos\Parameters' -Force | Out-Null New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Control\Lsa\Kerberos\Parameters' -Name 'MaxTokenSize' -PropertyType DWord -Value '<introducir valor>' -Force | Out-Null