Configurer des algorithmes de hachage pour l’ouverture de session de certificat : valeur de Registre PKINITHashAlgorithmConfigurationEnabled et 4 autres (KDC\Parameters)OrdinateurHKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters
- ID de stratégie
- PKINITHashAlgorithmConfiguration
- Étendue
- Configuration ordinateur
- Pris en charge sur
- Au moins Windows 11 version 22H2
- Source
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (version 1.0)
- Catégorie
- Système › KDC
Registre
PKINITHashAlgorithmConfigurationEnabled
REG_DWORDOrdinateur- Valeur si activée
- 1
- Valeur si désactivée
- 0
Appliquer avec .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters] ; Options (en utiliser une seule) ; Activé "PKINITHashAlgorithmConfigurationEnabled"=dword:00000001 ; Désactivé "PKINITHashAlgorithmConfigurationEnabled"=dword:00000000
CMD
:: Options (en utiliser une seule) :: Activé reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters" /v "PKINITHashAlgorithmConfigurationEnabled" /t REG_DWORD /d 1 /f :: Désactivé reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters" /v "PKINITHashAlgorithmConfigurationEnabled" /t REG_DWORD /d 0 /f
PowerShell
# Commun : créer la clé New-Item -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Force | Out-Null # Options (en utiliser une seule) # Activé New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Name 'PKINITHashAlgorithmConfigurationEnabled' -PropertyType DWord -Value 1 -Force | Out-Null # Désactivé New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Name 'PKINITHashAlgorithmConfigurationEnabled' -PropertyType DWord -Value 0 -Force | Out-Null
PKINITSHA1
REG_DWORDOrdinateur- Valeur si activée
- Dépend de la valeur de l'option
- Élément
- SHA-1
| Entrée | Valeur stockée |
|---|---|
| Par défaut | 1 |
| Pris en charge | 3 |
| Audité | 2 |
| Non pris en charge | 0 |
Appliquer avec .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters] ; Options (en utiliser une seule) ; Par défaut "PKINITSHA1"=dword:00000001 ; Pris en charge "PKINITSHA1"=dword:00000003 ; Audité "PKINITSHA1"=dword:00000002 ; Non pris en charge "PKINITSHA1"=dword:00000000
CMD
:: Options (en utiliser une seule) :: Par défaut reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters" /v "PKINITSHA1" /t REG_DWORD /d 1 /f :: Pris en charge reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters" /v "PKINITSHA1" /t REG_DWORD /d 3 /f :: Audité reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters" /v "PKINITSHA1" /t REG_DWORD /d 2 /f :: Non pris en charge reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters" /v "PKINITSHA1" /t REG_DWORD /d 0 /f
PowerShell
# Commun : créer la clé New-Item -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Force | Out-Null # Options (en utiliser une seule) # Par défaut New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Name 'PKINITSHA1' -PropertyType DWord -Value 1 -Force | Out-Null # Pris en charge New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Name 'PKINITSHA1' -PropertyType DWord -Value 3 -Force | Out-Null # Audité New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Name 'PKINITSHA1' -PropertyType DWord -Value 2 -Force | Out-Null # Non pris en charge New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Name 'PKINITSHA1' -PropertyType DWord -Value 0 -Force | Out-Null
PKINITSHA256
REG_DWORDOrdinateur- Valeur si activée
- Dépend de la valeur de l'option
- Élément
- SHA-256
| Entrée | Valeur stockée |
|---|---|
| Par défaut | 1 |
| Pris en charge | 3 |
| Audité | 2 |
| Non pris en charge | 0 |
Appliquer avec .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters] ; Options (en utiliser une seule) ; Par défaut "PKINITSHA256"=dword:00000001 ; Pris en charge "PKINITSHA256"=dword:00000003 ; Audité "PKINITSHA256"=dword:00000002 ; Non pris en charge "PKINITSHA256"=dword:00000000
CMD
:: Options (en utiliser une seule) :: Par défaut reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters" /v "PKINITSHA256" /t REG_DWORD /d 1 /f :: Pris en charge reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters" /v "PKINITSHA256" /t REG_DWORD /d 3 /f :: Audité reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters" /v "PKINITSHA256" /t REG_DWORD /d 2 /f :: Non pris en charge reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters" /v "PKINITSHA256" /t REG_DWORD /d 0 /f
PowerShell
# Commun : créer la clé New-Item -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Force | Out-Null # Options (en utiliser une seule) # Par défaut New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Name 'PKINITSHA256' -PropertyType DWord -Value 1 -Force | Out-Null # Pris en charge New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Name 'PKINITSHA256' -PropertyType DWord -Value 3 -Force | Out-Null # Audité New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Name 'PKINITSHA256' -PropertyType DWord -Value 2 -Force | Out-Null # Non pris en charge New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Name 'PKINITSHA256' -PropertyType DWord -Value 0 -Force | Out-Null
PKINITSHA384
REG_DWORDOrdinateur- Valeur si activée
- Dépend de la valeur de l'option
- Élément
- SHA-384
| Entrée | Valeur stockée |
|---|---|
| Par défaut | 1 |
| Pris en charge | 3 |
| Audité | 2 |
| Non pris en charge | 0 |
Appliquer avec .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters] ; Options (en utiliser une seule) ; Par défaut "PKINITSHA384"=dword:00000001 ; Pris en charge "PKINITSHA384"=dword:00000003 ; Audité "PKINITSHA384"=dword:00000002 ; Non pris en charge "PKINITSHA384"=dword:00000000
CMD
:: Options (en utiliser une seule) :: Par défaut reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters" /v "PKINITSHA384" /t REG_DWORD /d 1 /f :: Pris en charge reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters" /v "PKINITSHA384" /t REG_DWORD /d 3 /f :: Audité reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters" /v "PKINITSHA384" /t REG_DWORD /d 2 /f :: Non pris en charge reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters" /v "PKINITSHA384" /t REG_DWORD /d 0 /f
PowerShell
# Commun : créer la clé New-Item -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Force | Out-Null # Options (en utiliser une seule) # Par défaut New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Name 'PKINITSHA384' -PropertyType DWord -Value 1 -Force | Out-Null # Pris en charge New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Name 'PKINITSHA384' -PropertyType DWord -Value 3 -Force | Out-Null # Audité New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Name 'PKINITSHA384' -PropertyType DWord -Value 2 -Force | Out-Null # Non pris en charge New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Name 'PKINITSHA384' -PropertyType DWord -Value 0 -Force | Out-Null
PKINITSHA512
REG_DWORDOrdinateur- Valeur si activée
- Dépend de la valeur de l'option
- Élément
- SHA-512
| Entrée | Valeur stockée |
|---|---|
| Par défaut | 1 |
| Pris en charge | 3 |
| Audité | 2 |
| Non pris en charge | 0 |
Appliquer avec .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters] ; Options (en utiliser une seule) ; Par défaut "PKINITSHA512"=dword:00000001 ; Pris en charge "PKINITSHA512"=dword:00000003 ; Audité "PKINITSHA512"=dword:00000002 ; Non pris en charge "PKINITSHA512"=dword:00000000
CMD
:: Options (en utiliser une seule) :: Par défaut reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters" /v "PKINITSHA512" /t REG_DWORD /d 1 /f :: Pris en charge reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters" /v "PKINITSHA512" /t REG_DWORD /d 3 /f :: Audité reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters" /v "PKINITSHA512" /t REG_DWORD /d 2 /f :: Non pris en charge reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters" /v "PKINITSHA512" /t REG_DWORD /d 0 /f
PowerShell
# Commun : créer la clé New-Item -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Force | Out-Null # Options (en utiliser une seule) # Par défaut New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Name 'PKINITSHA512' -PropertyType DWord -Value 1 -Force | Out-Null # Pris en charge New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Name 'PKINITSHA512' -PropertyType DWord -Value 3 -Force | Out-Null # Audité New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Name 'PKINITSHA512' -PropertyType DWord -Value 2 -Force | Out-Null # Non pris en charge New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Name 'PKINITSHA512' -PropertyType DWord -Value 0 -Force | Out-Null