Configurare algoritmi hash per l'accesso al certificato: valore del Registro di sistema PKInitHashAlgorithmConfigurationEnabled e altri 4 (Kerberos\Parameters)ComputerHKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters

ID criterio
PKInitHashAlgorithmConfiguration
Ambito
Configurazione computer
Supportato in
Almeno Windows 11 versione 22H2
Origine
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versione 1.0)
Categoria
Sistema › Kerberos

Registro

PKInitHashAlgorithmConfigurationEnabled

REG_DWORDComputer
Valore abilitato
1
Valore disabilitato
0
Applica con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

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

; Opzioni (usarne solo una)
; Abilitato
"PKInitHashAlgorithmConfigurationEnabled"=dword:00000001
; Disabilitato
"PKInitHashAlgorithmConfigurationEnabled"=dword:00000000
CMD
:: Opzioni (usarne solo una)

:: Abilitato
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters" /v "PKInitHashAlgorithmConfigurationEnabled" /t REG_DWORD /d 1 /f
:: Disabilitato
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters" /v "PKInitHashAlgorithmConfigurationEnabled" /t REG_DWORD /d 0 /f
PowerShell
# Comune: crea la chiave
New-Item -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Force | Out-Null

# Opzioni (usarne solo una)
# Abilitato
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Name 'PKInitHashAlgorithmConfigurationEnabled' -PropertyType DWord -Value 1 -Force | Out-Null
# Disabilitato
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Name 'PKInitHashAlgorithmConfigurationEnabled' -PropertyType DWord -Value 0 -Force | Out-Null

PKInitSHA1

REG_DWORDComputer
Valore abilitato
Dipende dal valore dell'opzione
Elemento
SHA-1
Opzioni
VoceValore memorizzato
Impostazione predefinita1
Supportato3
Monitorato2
Non supportato0
Applica con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

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

; Opzioni (usarne solo una)
; Impostazione predefinita
"PKInitSHA1"=dword:00000001
; Supportato
"PKInitSHA1"=dword:00000003
; Monitorato
"PKInitSHA1"=dword:00000002
; Non supportato
"PKInitSHA1"=dword:00000000
CMD
:: Opzioni (usarne solo una)

:: Impostazione predefinita
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters" /v "PKInitSHA1" /t REG_DWORD /d 1 /f
:: Supportato
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters" /v "PKInitSHA1" /t REG_DWORD /d 3 /f
:: Monitorato
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters" /v "PKInitSHA1" /t REG_DWORD /d 2 /f
:: Non supportato
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters" /v "PKInitSHA1" /t REG_DWORD /d 0 /f
PowerShell
# Comune: crea la chiave
New-Item -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Force | Out-Null

# Opzioni (usarne solo una)
# Impostazione predefinita
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Name 'PKInitSHA1' -PropertyType DWord -Value 1 -Force | Out-Null
# Supportato
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Name 'PKInitSHA1' -PropertyType DWord -Value 3 -Force | Out-Null
# Monitorato
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Name 'PKInitSHA1' -PropertyType DWord -Value 2 -Force | Out-Null
# Non supportato
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Name 'PKInitSHA1' -PropertyType DWord -Value 0 -Force | Out-Null

PKInitSHA256

REG_DWORDComputer
Valore abilitato
Dipende dal valore dell'opzione
Elemento
SHA-256
Opzioni
VoceValore memorizzato
Impostazione predefinita1
Supportato3
Monitorato2
Non supportato0
Applica con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

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

; Opzioni (usarne solo una)
; Impostazione predefinita
"PKInitSHA256"=dword:00000001
; Supportato
"PKInitSHA256"=dword:00000003
; Monitorato
"PKInitSHA256"=dword:00000002
; Non supportato
"PKInitSHA256"=dword:00000000
CMD
:: Opzioni (usarne solo una)

:: Impostazione predefinita
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters" /v "PKInitSHA256" /t REG_DWORD /d 1 /f
:: Supportato
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters" /v "PKInitSHA256" /t REG_DWORD /d 3 /f
:: Monitorato
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters" /v "PKInitSHA256" /t REG_DWORD /d 2 /f
:: Non supportato
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters" /v "PKInitSHA256" /t REG_DWORD /d 0 /f
PowerShell
# Comune: crea la chiave
New-Item -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Force | Out-Null

# Opzioni (usarne solo una)
# Impostazione predefinita
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Name 'PKInitSHA256' -PropertyType DWord -Value 1 -Force | Out-Null
# Supportato
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Name 'PKInitSHA256' -PropertyType DWord -Value 3 -Force | Out-Null
# Monitorato
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Name 'PKInitSHA256' -PropertyType DWord -Value 2 -Force | Out-Null
# Non supportato
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Name 'PKInitSHA256' -PropertyType DWord -Value 0 -Force | Out-Null

PKInitSHA384

REG_DWORDComputer
Valore abilitato
Dipende dal valore dell'opzione
Elemento
SHA-384
Opzioni
VoceValore memorizzato
Impostazione predefinita1
Supportato3
Monitorato2
Non supportato0
Applica con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

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

; Opzioni (usarne solo una)
; Impostazione predefinita
"PKInitSHA384"=dword:00000001
; Supportato
"PKInitSHA384"=dword:00000003
; Monitorato
"PKInitSHA384"=dword:00000002
; Non supportato
"PKInitSHA384"=dword:00000000
CMD
:: Opzioni (usarne solo una)

:: Impostazione predefinita
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters" /v "PKInitSHA384" /t REG_DWORD /d 1 /f
:: Supportato
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters" /v "PKInitSHA384" /t REG_DWORD /d 3 /f
:: Monitorato
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters" /v "PKInitSHA384" /t REG_DWORD /d 2 /f
:: Non supportato
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters" /v "PKInitSHA384" /t REG_DWORD /d 0 /f
PowerShell
# Comune: crea la chiave
New-Item -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Force | Out-Null

# Opzioni (usarne solo una)
# Impostazione predefinita
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Name 'PKInitSHA384' -PropertyType DWord -Value 1 -Force | Out-Null
# Supportato
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Name 'PKInitSHA384' -PropertyType DWord -Value 3 -Force | Out-Null
# Monitorato
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Name 'PKInitSHA384' -PropertyType DWord -Value 2 -Force | Out-Null
# Non supportato
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Name 'PKInitSHA384' -PropertyType DWord -Value 0 -Force | Out-Null

PKInitSHA512

REG_DWORDComputer
Valore abilitato
Dipende dal valore dell'opzione
Elemento
SHA-512
Opzioni
VoceValore memorizzato
Impostazione predefinita1
Supportato3
Monitorato2
Non supportato0
Applica con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

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

; Opzioni (usarne solo una)
; Impostazione predefinita
"PKInitSHA512"=dword:00000001
; Supportato
"PKInitSHA512"=dword:00000003
; Monitorato
"PKInitSHA512"=dword:00000002
; Non supportato
"PKInitSHA512"=dword:00000000
CMD
:: Opzioni (usarne solo una)

:: Impostazione predefinita
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters" /v "PKInitSHA512" /t REG_DWORD /d 1 /f
:: Supportato
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters" /v "PKInitSHA512" /t REG_DWORD /d 3 /f
:: Monitorato
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters" /v "PKInitSHA512" /t REG_DWORD /d 2 /f
:: Non supportato
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters" /v "PKInitSHA512" /t REG_DWORD /d 0 /f
PowerShell
# Comune: crea la chiave
New-Item -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Force | Out-Null

# Opzioni (usarne solo una)
# Impostazione predefinita
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Name 'PKInitSHA512' -PropertyType DWord -Value 1 -Force | Out-Null
# Supportato
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Name 'PKInitSHA512' -PropertyType DWord -Value 3 -Force | Out-Null
# Monitorato
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Name 'PKInitSHA512' -PropertyType DWord -Value 2 -Force | Out-Null
# Non supportato
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Name 'PKInitSHA512' -PropertyType DWord -Value 0 -Force | Out-Null