Konfiguruj algorytmy wyznaczania wartości skrótu dla logowania certyfikatu: wartość rejestru PKINITHashAlgorithmConfigurationEnabled i 4 więcej (KDC\Parameters)KomputerHKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\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 › KDC
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\KDC\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\KDC\Parameters" /v "PKINITHashAlgorithmConfigurationEnabled" /t REG_DWORD /d 1 /f :: Wyłączone reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\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\KDC\Parameters' -Force | Out-Null # Opcje (użyj tylko jednej) # Włączone New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Name 'PKINITHashAlgorithmConfigurationEnabled' -PropertyType DWord -Value 1 -Force | Out-Null # Wyłączone New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\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\KDC\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\KDC\Parameters" /v "PKINITSHA1" /t REG_DWORD /d 1 /f :: Obsługiwany reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters" /v "PKINITSHA1" /t REG_DWORD /d 3 /f :: Poddane inspekcji reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters" /v "PKINITSHA1" /t REG_DWORD /d 2 /f :: Nieobsługiwany reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\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\KDC\Parameters' -Force | Out-Null # Opcje (użyj tylko jednej) # Domyślny New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Name 'PKINITSHA1' -PropertyType DWord -Value 1 -Force | Out-Null # Obsługiwany New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Name 'PKINITSHA1' -PropertyType DWord -Value 3 -Force | Out-Null # Poddane inspekcji New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Name 'PKINITSHA1' -PropertyType DWord -Value 2 -Force | Out-Null # Nieobsługiwany New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\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\KDC\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\KDC\Parameters" /v "PKINITSHA256" /t REG_DWORD /d 1 /f :: Obsługiwany reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters" /v "PKINITSHA256" /t REG_DWORD /d 3 /f :: Poddane inspekcji reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters" /v "PKINITSHA256" /t REG_DWORD /d 2 /f :: Nieobsługiwany reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\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\KDC\Parameters' -Force | Out-Null # Opcje (użyj tylko jednej) # Domyślny New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Name 'PKINITSHA256' -PropertyType DWord -Value 1 -Force | Out-Null # Obsługiwany New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Name 'PKINITSHA256' -PropertyType DWord -Value 3 -Force | Out-Null # Poddane inspekcji New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Name 'PKINITSHA256' -PropertyType DWord -Value 2 -Force | Out-Null # Nieobsługiwany New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\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\KDC\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\KDC\Parameters" /v "PKINITSHA384" /t REG_DWORD /d 1 /f :: Obsługiwany reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters" /v "PKINITSHA384" /t REG_DWORD /d 3 /f :: Poddane inspekcji reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters" /v "PKINITSHA384" /t REG_DWORD /d 2 /f :: Nieobsługiwany reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\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\KDC\Parameters' -Force | Out-Null # Opcje (użyj tylko jednej) # Domyślny New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Name 'PKINITSHA384' -PropertyType DWord -Value 1 -Force | Out-Null # Obsługiwany New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Name 'PKINITSHA384' -PropertyType DWord -Value 3 -Force | Out-Null # Poddane inspekcji New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Name 'PKINITSHA384' -PropertyType DWord -Value 2 -Force | Out-Null # Nieobsługiwany New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\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\KDC\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\KDC\Parameters" /v "PKINITSHA512" /t REG_DWORD /d 1 /f :: Obsługiwany reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters" /v "PKINITSHA512" /t REG_DWORD /d 3 /f :: Poddane inspekcji reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters" /v "PKINITSHA512" /t REG_DWORD /d 2 /f :: Nieobsługiwany reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\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\KDC\Parameters' -Force | Out-Null # Opcje (użyj tylko jednej) # Domyślny New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Name 'PKINITSHA512' -PropertyType DWord -Value 1 -Force | Out-Null # Obsługiwany New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Name 'PKINITSHA512' -PropertyType DWord -Value 3 -Force | Out-Null # Poddane inspekcji New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Name 'PKINITSHA512' -PropertyType DWord -Value 2 -Force | Out-Null # Nieobsługiwany New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Name 'PKINITSHA512' -PropertyType DWord -Value 0 -Force | Out-Null