Configure hash algorithms for certificate logon: registry value PKINITHashAlgorithmConfigurationEnabled and 4 more (KDC\Parameters)ComputerHKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\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 › KDC
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\KDC\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\KDC\Parameters" /v "PKINITHashAlgorithmConfigurationEnabled" /t REG_DWORD /d 1 /f :: Disabled reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters" /v "PKINITHashAlgorithmConfigurationEnabled" /t REG_DWORD /d 0 /f
PowerShell
# Common: create the key New-Item -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Force | Out-Null # Options (use only one) # Enabled New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Name 'PKINITHashAlgorithmConfigurationEnabled' -PropertyType DWord -Value 1 -Force | Out-Null # Disabled New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\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\KDC\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\KDC\Parameters" /v "PKINITSHA1" /t REG_DWORD /d 1 /f :: Supported reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters" /v "PKINITSHA1" /t REG_DWORD /d 3 /f :: Audited reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters" /v "PKINITSHA1" /t REG_DWORD /d 2 /f :: Not Supported reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters" /v "PKINITSHA1" /t REG_DWORD /d 0 /f
PowerShell
# Common: create the key New-Item -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Force | Out-Null # Options (use only one) # Default New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Name 'PKINITSHA1' -PropertyType DWord -Value 1 -Force | Out-Null # Supported New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Name 'PKINITSHA1' -PropertyType DWord -Value 3 -Force | Out-Null # Audited New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Name 'PKINITSHA1' -PropertyType DWord -Value 2 -Force | Out-Null # Not Supported New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\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\KDC\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\KDC\Parameters" /v "PKINITSHA256" /t REG_DWORD /d 1 /f :: Supported reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters" /v "PKINITSHA256" /t REG_DWORD /d 3 /f :: Audited reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters" /v "PKINITSHA256" /t REG_DWORD /d 2 /f :: Not Supported reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters" /v "PKINITSHA256" /t REG_DWORD /d 0 /f
PowerShell
# Common: create the key New-Item -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Force | Out-Null # Options (use only one) # Default New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Name 'PKINITSHA256' -PropertyType DWord -Value 1 -Force | Out-Null # Supported New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Name 'PKINITSHA256' -PropertyType DWord -Value 3 -Force | Out-Null # Audited New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Name 'PKINITSHA256' -PropertyType DWord -Value 2 -Force | Out-Null # Not Supported New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\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\KDC\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\KDC\Parameters" /v "PKINITSHA384" /t REG_DWORD /d 1 /f :: Supported reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters" /v "PKINITSHA384" /t REG_DWORD /d 3 /f :: Audited reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters" /v "PKINITSHA384" /t REG_DWORD /d 2 /f :: Not Supported reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters" /v "PKINITSHA384" /t REG_DWORD /d 0 /f
PowerShell
# Common: create the key New-Item -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Force | Out-Null # Options (use only one) # Default New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Name 'PKINITSHA384' -PropertyType DWord -Value 1 -Force | Out-Null # Supported New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Name 'PKINITSHA384' -PropertyType DWord -Value 3 -Force | Out-Null # Audited New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Name 'PKINITSHA384' -PropertyType DWord -Value 2 -Force | Out-Null # Not Supported New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\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\KDC\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\KDC\Parameters" /v "PKINITSHA512" /t REG_DWORD /d 1 /f :: Supported reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters" /v "PKINITSHA512" /t REG_DWORD /d 3 /f :: Audited reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters" /v "PKINITSHA512" /t REG_DWORD /d 2 /f :: Not Supported reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters" /v "PKINITSHA512" /t REG_DWORD /d 0 /f
PowerShell
# Common: create the key New-Item -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Force | Out-Null # Options (use only one) # Default New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Name 'PKINITSHA512' -PropertyType DWord -Value 1 -Force | Out-Null # Supported New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Name 'PKINITSHA512' -PropertyType DWord -Value 3 -Force | Out-Null # Audited New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Name 'PKINITSHA512' -PropertyType DWord -Value 2 -Force | Out-Null # Not Supported New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Name 'PKINITSHA512' -PropertyType DWord -Value 0 -Force | Out-Null