Konfiguruj algorytmy wyznaczania wartości skrótu dla logowania certyfikatu: wartość rejestru PKInitHashAlgorithmConfigurationEnabled i 4 więcej (Kerberos\Parameters)KomputerHKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters
- Identyfikator zasady
- PKInitHashAlgorithmConfiguration
- Zakres
- Konfiguracja komputera
- Obsługiwane w systemach
- Co najmniej system Windows 11 w wersji 22H2
- Źródło
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (wersja 1.0)
- Kategoria
- System › Kerberos
Rejestr
PKInitHashAlgorithmConfigurationEnabled
REG_DWORDKomputer- Wartość włączona
- 1
- Wartość wyłączona
- 0
Zastosuj przez .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters] ; Opcje (użyj tylko jednej) ; Włączone "PKInitHashAlgorithmConfigurationEnabled"=dword:00000001 ; Wyłączone "PKInitHashAlgorithmConfigurationEnabled"=dword:00000000
CMD
:: Opcje (użyj tylko jednej) :: Włączone reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters" /v "PKInitHashAlgorithmConfigurationEnabled" /t REG_DWORD /d 1 /f :: Wyłączone reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters" /v "PKInitHashAlgorithmConfigurationEnabled" /t REG_DWORD /d 0 /f
PowerShell
# Wspólne: utwórz klucz New-Item -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Force | Out-Null # Opcje (użyj tylko jednej) # Włączone New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Name 'PKInitHashAlgorithmConfigurationEnabled' -PropertyType DWord -Value 1 -Force | Out-Null # Wyłączone New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Name 'PKInitHashAlgorithmConfigurationEnabled' -PropertyType DWord -Value 0 -Force | Out-Null
PKInitSHA1
REG_DWORDKomputer- Wartość włączona
- Zależy od wartości opcji
- Element
- SHA-1
| Pozycja | Zapisana wartość |
|---|---|
| Domyślny | 1 |
| Obsługiwany | 3 |
| Poddane inspekcji | 2 |
| Nieobsługiwany | 0 |
Zastosuj przez .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters] ; Opcje (użyj tylko jednej) ; Domyślny "PKInitSHA1"=dword:00000001 ; Obsługiwany "PKInitSHA1"=dword:00000003 ; Poddane inspekcji "PKInitSHA1"=dword:00000002 ; Nieobsługiwany "PKInitSHA1"=dword:00000000
CMD
:: Opcje (użyj tylko jednej) :: Domyślny reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters" /v "PKInitSHA1" /t REG_DWORD /d 1 /f :: Obsługiwany reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters" /v "PKInitSHA1" /t REG_DWORD /d 3 /f :: Poddane inspekcji reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters" /v "PKInitSHA1" /t REG_DWORD /d 2 /f :: Nieobsługiwany reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters" /v "PKInitSHA1" /t REG_DWORD /d 0 /f
PowerShell
# Wspólne: utwórz klucz New-Item -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Force | Out-Null # Opcje (użyj tylko jednej) # Domyślny New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Name 'PKInitSHA1' -PropertyType DWord -Value 1 -Force | Out-Null # Obsługiwany New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Name 'PKInitSHA1' -PropertyType DWord -Value 3 -Force | Out-Null # Poddane inspekcji New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Name 'PKInitSHA1' -PropertyType DWord -Value 2 -Force | Out-Null # Nieobsługiwany New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Name 'PKInitSHA1' -PropertyType DWord -Value 0 -Force | Out-Null
PKInitSHA256
REG_DWORDKomputer- Wartość włączona
- Zależy od wartości opcji
- Element
- SHA-256
| Pozycja | Zapisana wartość |
|---|---|
| Domyślny | 1 |
| Obsługiwany | 3 |
| Poddane inspekcji | 2 |
| Nieobsługiwany | 0 |
Zastosuj przez .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters] ; Opcje (użyj tylko jednej) ; Domyślny "PKInitSHA256"=dword:00000001 ; Obsługiwany "PKInitSHA256"=dword:00000003 ; Poddane inspekcji "PKInitSHA256"=dword:00000002 ; Nieobsługiwany "PKInitSHA256"=dword:00000000
CMD
:: Opcje (użyj tylko jednej) :: Domyślny reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters" /v "PKInitSHA256" /t REG_DWORD /d 1 /f :: Obsługiwany reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters" /v "PKInitSHA256" /t REG_DWORD /d 3 /f :: Poddane inspekcji reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters" /v "PKInitSHA256" /t REG_DWORD /d 2 /f :: Nieobsługiwany reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters" /v "PKInitSHA256" /t REG_DWORD /d 0 /f
PowerShell
# Wspólne: utwórz klucz New-Item -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Force | Out-Null # Opcje (użyj tylko jednej) # Domyślny New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Name 'PKInitSHA256' -PropertyType DWord -Value 1 -Force | Out-Null # Obsługiwany New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Name 'PKInitSHA256' -PropertyType DWord -Value 3 -Force | Out-Null # Poddane inspekcji New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Name 'PKInitSHA256' -PropertyType DWord -Value 2 -Force | Out-Null # Nieobsługiwany New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Name 'PKInitSHA256' -PropertyType DWord -Value 0 -Force | Out-Null
PKInitSHA384
REG_DWORDKomputer- Wartość włączona
- Zależy od wartości opcji
- Element
- SHA-384
| Pozycja | Zapisana wartość |
|---|---|
| Domyślny | 1 |
| Obsługiwany | 3 |
| Poddane inspekcji | 2 |
| Nieobsługiwany | 0 |
Zastosuj przez .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters] ; Opcje (użyj tylko jednej) ; Domyślny "PKInitSHA384"=dword:00000001 ; Obsługiwany "PKInitSHA384"=dword:00000003 ; Poddane inspekcji "PKInitSHA384"=dword:00000002 ; Nieobsługiwany "PKInitSHA384"=dword:00000000
CMD
:: Opcje (użyj tylko jednej) :: Domyślny reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters" /v "PKInitSHA384" /t REG_DWORD /d 1 /f :: Obsługiwany reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters" /v "PKInitSHA384" /t REG_DWORD /d 3 /f :: Poddane inspekcji reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters" /v "PKInitSHA384" /t REG_DWORD /d 2 /f :: Nieobsługiwany reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters" /v "PKInitSHA384" /t REG_DWORD /d 0 /f
PowerShell
# Wspólne: utwórz klucz New-Item -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Force | Out-Null # Opcje (użyj tylko jednej) # Domyślny New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Name 'PKInitSHA384' -PropertyType DWord -Value 1 -Force | Out-Null # Obsługiwany New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Name 'PKInitSHA384' -PropertyType DWord -Value 3 -Force | Out-Null # Poddane inspekcji New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Name 'PKInitSHA384' -PropertyType DWord -Value 2 -Force | Out-Null # Nieobsługiwany New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Name 'PKInitSHA384' -PropertyType DWord -Value 0 -Force | Out-Null
PKInitSHA512
REG_DWORDKomputer- Wartość włączona
- Zależy od wartości opcji
- Element
- SHA-512
| Pozycja | Zapisana wartość |
|---|---|
| Domyślny | 1 |
| Obsługiwany | 3 |
| Poddane inspekcji | 2 |
| Nieobsługiwany | 0 |
Zastosuj przez .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters] ; Opcje (użyj tylko jednej) ; Domyślny "PKInitSHA512"=dword:00000001 ; Obsługiwany "PKInitSHA512"=dword:00000003 ; Poddane inspekcji "PKInitSHA512"=dword:00000002 ; Nieobsługiwany "PKInitSHA512"=dword:00000000
CMD
:: Opcje (użyj tylko jednej) :: Domyślny reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters" /v "PKInitSHA512" /t REG_DWORD /d 1 /f :: Obsługiwany reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters" /v "PKInitSHA512" /t REG_DWORD /d 3 /f :: Poddane inspekcji reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters" /v "PKInitSHA512" /t REG_DWORD /d 2 /f :: Nieobsługiwany reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters" /v "PKInitSHA512" /t REG_DWORD /d 0 /f
PowerShell
# Wspólne: utwórz klucz New-Item -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Force | Out-Null # Opcje (użyj tylko jednej) # Domyślny New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Name 'PKInitSHA512' -PropertyType DWord -Value 1 -Force | Out-Null # Obsługiwany New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Name 'PKInitSHA512' -PropertyType DWord -Value 3 -Force | Out-Null # Poddane inspekcji New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Name 'PKInitSHA512' -PropertyType DWord -Value 2 -Force | Out-Null # Nieobsługiwany New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Name 'PKInitSHA512' -PropertyType DWord -Value 0 -Force | Out-Null