Imposta dimensione massima buffer del token di contesto SSPI di Kerberos: valore del Registro di sistema EnableMaxTokenSize e altri 1ComputerHKLM\System\CurrentControlSet\Control\Lsa\Kerberos\Parameters
- ID criterio
- MaxTokenSize
- Ambito
- Configurazione computer
- Supportato in
- Almeno Windows Server 2003 o Windows XP Professional
- Origine
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versione 1.0)
- Categoria
- Sistema › Kerberos
Registro
EnableMaxTokenSize
REG_DWORDComputerHKLM\System\CurrentControlSet\Control\Lsa\Kerberos\Parameters Chiave corrente
- Valore abilitato
- 1
- Valore disabilitato
- 0
Applica con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Lsa\Kerberos\Parameters] ; Opzioni (usarne solo una) ; Abilitato "EnableMaxTokenSize"=dword:00000001 ; Disabilitato "EnableMaxTokenSize"=dword:00000000
CMD
:: Opzioni (usarne solo una) :: Abilitato reg add "HKLM\System\CurrentControlSet\Control\Lsa\Kerberos\Parameters" /v "EnableMaxTokenSize" /t REG_DWORD /d 1 /f :: Disabilitato reg add "HKLM\System\CurrentControlSet\Control\Lsa\Kerberos\Parameters" /v "EnableMaxTokenSize" /t REG_DWORD /d 0 /f
PowerShell
# Comune: crea la chiave New-Item -Path 'HKLM:\System\CurrentControlSet\Control\Lsa\Kerberos\Parameters' -Force | Out-Null # Opzioni (usarne solo una) # Abilitato New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Control\Lsa\Kerberos\Parameters' -Name 'EnableMaxTokenSize' -PropertyType DWord -Value 1 -Force | Out-Null # Disabilitato New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Control\Lsa\Kerberos\Parameters' -Name 'EnableMaxTokenSize' -PropertyType DWord -Value 0 -Force | Out-Null
MaxTokenSize
REG_DWORDComputerHKLM\System\CurrentControlSet\Control\Lsa\Kerberos\Parameters Chiave corrente
- Valore abilitato
- Dipende dal valore dell'opzione
- Elemento
- Dimensioni massime
- Tipo di valore
- REG_DWORD
- Obbligatorio
- true
- Valore minimo
- 12000
- Valore massimo
- 2147483647
Applica con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Lsa\Kerberos\Parameters] ; Nomi e tipi di valore seguono l'ADMX. Sostituisci <inserisci valore> qui sotto con i tuoi dati "MaxTokenSize"=dword:<inserisci valore>
CMD
:: Nomi e tipi di valore seguono l'ADMX. Sostituisci <inserisci valore> qui sotto con i tuoi dati reg add "HKLM\System\CurrentControlSet\Control\Lsa\Kerberos\Parameters" /v "MaxTokenSize" /t REG_DWORD /d "<inserisci valore>" /f
PowerShell
# Nomi e tipi di valore seguono l'ADMX. Sostituisci <inserisci valore> qui sotto con i tuoi dati 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 '<inserisci valore>' -Force | Out-Null