Configure hash algorithms for certificate logon: registry value PKInitHashAlgorithmConfigurationEnabled and 4 more (Kerberos\Parameters)ComputerHKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters
- Policy ID
- PKInitHashAlgorithmConfiguration
- Scope
- Computer Configuration
- Supported on
- At least Windows 11 Version 22H2
- Source
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (version 1.0)
- Category
- System › Kerberos
Registry
PKInitHashAlgorithmConfigurationEnabled
REG_DWORDComputer- Enabled value
- 1
- Disabled value
- 0
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters] ; Options (use only one) ; Enabled "PKInitHashAlgorithmConfigurationEnabled"=dword:00000001 ; Disabled "PKInitHashAlgorithmConfigurationEnabled"=dword:00000000
CMD
:: Options (use only one) :: Enabled reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters" /v "PKInitHashAlgorithmConfigurationEnabled" /t REG_DWORD /d 1 /f :: Disabled reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters" /v "PKInitHashAlgorithmConfigurationEnabled" /t REG_DWORD /d 0 /f
PowerShell
# Common: create the key New-Item -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Force | Out-Null # Options (use only one) # Enabled New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Name 'PKInitHashAlgorithmConfigurationEnabled' -PropertyType DWord -Value 1 -Force | Out-Null # Disabled New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Name 'PKInitHashAlgorithmConfigurationEnabled' -PropertyType DWord -Value 0 -Force | Out-Null
PKInitSHA1
REG_DWORDComputer- Enabled value
- Depends on the option value
- Element
- SHA-1
| Item | Stored value |
|---|---|
| Default | 1 |
| Supported | 3 |
| Audited | 2 |
| Not Supported | 0 |
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters] ; Options (use only one) ; Default "PKInitSHA1"=dword:00000001 ; Supported "PKInitSHA1"=dword:00000003 ; Audited "PKInitSHA1"=dword:00000002 ; Not Supported "PKInitSHA1"=dword:00000000
CMD
:: Options (use only one) :: Default reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters" /v "PKInitSHA1" /t REG_DWORD /d 1 /f :: Supported reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters" /v "PKInitSHA1" /t REG_DWORD /d 3 /f :: Audited reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters" /v "PKInitSHA1" /t REG_DWORD /d 2 /f :: Not Supported reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters" /v "PKInitSHA1" /t REG_DWORD /d 0 /f
PowerShell
# Common: create the key New-Item -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Force | Out-Null # Options (use only one) # Default New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Name 'PKInitSHA1' -PropertyType DWord -Value 1 -Force | Out-Null # Supported New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Name 'PKInitSHA1' -PropertyType DWord -Value 3 -Force | Out-Null # Audited New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Name 'PKInitSHA1' -PropertyType DWord -Value 2 -Force | Out-Null # Not Supported New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Name 'PKInitSHA1' -PropertyType DWord -Value 0 -Force | Out-Null
PKInitSHA256
REG_DWORDComputer- Enabled value
- Depends on the option value
- Element
- SHA-256
| Item | Stored value |
|---|---|
| Default | 1 |
| Supported | 3 |
| Audited | 2 |
| Not Supported | 0 |
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters] ; Options (use only one) ; Default "PKInitSHA256"=dword:00000001 ; Supported "PKInitSHA256"=dword:00000003 ; Audited "PKInitSHA256"=dword:00000002 ; Not Supported "PKInitSHA256"=dword:00000000
CMD
:: Options (use only one) :: Default reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters" /v "PKInitSHA256" /t REG_DWORD /d 1 /f :: Supported reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters" /v "PKInitSHA256" /t REG_DWORD /d 3 /f :: Audited reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters" /v "PKInitSHA256" /t REG_DWORD /d 2 /f :: Not Supported reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters" /v "PKInitSHA256" /t REG_DWORD /d 0 /f
PowerShell
# Common: create the key New-Item -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Force | Out-Null # Options (use only one) # Default New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Name 'PKInitSHA256' -PropertyType DWord -Value 1 -Force | Out-Null # Supported New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Name 'PKInitSHA256' -PropertyType DWord -Value 3 -Force | Out-Null # Audited New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Name 'PKInitSHA256' -PropertyType DWord -Value 2 -Force | Out-Null # Not Supported New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Name 'PKInitSHA256' -PropertyType DWord -Value 0 -Force | Out-Null
PKInitSHA384
REG_DWORDComputer- Enabled value
- Depends on the option value
- Element
- SHA-384
| Item | Stored value |
|---|---|
| Default | 1 |
| Supported | 3 |
| Audited | 2 |
| Not Supported | 0 |
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters] ; Options (use only one) ; Default "PKInitSHA384"=dword:00000001 ; Supported "PKInitSHA384"=dword:00000003 ; Audited "PKInitSHA384"=dword:00000002 ; Not Supported "PKInitSHA384"=dword:00000000
CMD
:: Options (use only one) :: Default reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters" /v "PKInitSHA384" /t REG_DWORD /d 1 /f :: Supported reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters" /v "PKInitSHA384" /t REG_DWORD /d 3 /f :: Audited reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters" /v "PKInitSHA384" /t REG_DWORD /d 2 /f :: Not Supported reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters" /v "PKInitSHA384" /t REG_DWORD /d 0 /f
PowerShell
# Common: create the key New-Item -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Force | Out-Null # Options (use only one) # Default New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Name 'PKInitSHA384' -PropertyType DWord -Value 1 -Force | Out-Null # Supported New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Name 'PKInitSHA384' -PropertyType DWord -Value 3 -Force | Out-Null # Audited New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Name 'PKInitSHA384' -PropertyType DWord -Value 2 -Force | Out-Null # Not Supported New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Name 'PKInitSHA384' -PropertyType DWord -Value 0 -Force | Out-Null
PKInitSHA512
REG_DWORDComputer- Enabled value
- Depends on the option value
- Element
- SHA-512
| Item | Stored value |
|---|---|
| Default | 1 |
| Supported | 3 |
| Audited | 2 |
| Not Supported | 0 |
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters] ; Options (use only one) ; Default "PKInitSHA512"=dword:00000001 ; Supported "PKInitSHA512"=dword:00000003 ; Audited "PKInitSHA512"=dword:00000002 ; Not Supported "PKInitSHA512"=dword:00000000
CMD
:: Options (use only one) :: Default reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters" /v "PKInitSHA512" /t REG_DWORD /d 1 /f :: Supported reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters" /v "PKInitSHA512" /t REG_DWORD /d 3 /f :: Audited reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters" /v "PKInitSHA512" /t REG_DWORD /d 2 /f :: Not Supported reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters" /v "PKInitSHA512" /t REG_DWORD /d 0 /f
PowerShell
# Common: create the key New-Item -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Force | Out-Null # Options (use only one) # Default New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Name 'PKInitSHA512' -PropertyType DWord -Value 1 -Force | Out-Null # Supported New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Name 'PKInitSHA512' -PropertyType DWord -Value 3 -Force | Out-Null # Audited New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Name 'PKInitSHA512' -PropertyType DWord -Value 2 -Force | Out-Null # Not Supported New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Name 'PKInitSHA512' -PropertyType DWord -Value 0 -Force | Out-Null