Configurar algoritmos hash para inicio de sesión de certificado: valor del Registro PKINITHashAlgorithmConfigurationEnabled y 4 más (KDC\Parameters)EquipoHKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters

Id. de directiva
PKINITHashAlgorithmConfiguration
Ámbito
Configuración del equipo
Compatible con
Como mínimo Windows 11 versión 22H2
Origen
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versión 1.0)
Categoría
Sistema › KDC

Registro

PKINITHashAlgorithmConfigurationEnabled

REG_DWORDEquipo
Valor al habilitar
1
Valor al deshabilitar
0
Aplicar con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters]

; Opciones (usar solo una)
; Habilitada
"PKINITHashAlgorithmConfigurationEnabled"=dword:00000001
; Deshabilitada
"PKINITHashAlgorithmConfigurationEnabled"=dword:00000000
CMD
:: Opciones (usar solo una)

:: Habilitada
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters" /v "PKINITHashAlgorithmConfigurationEnabled" /t REG_DWORD /d 1 /f
:: Deshabilitada
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters" /v "PKINITHashAlgorithmConfigurationEnabled" /t REG_DWORD /d 0 /f
PowerShell
# Común: crear la clave
New-Item -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Force | Out-Null

# Opciones (usar solo una)
# Habilitada
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Name 'PKINITHashAlgorithmConfigurationEnabled' -PropertyType DWord -Value 1 -Force | Out-Null
# Deshabilitada
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Name 'PKINITHashAlgorithmConfigurationEnabled' -PropertyType DWord -Value 0 -Force | Out-Null

PKINITSHA1

REG_DWORDEquipo
Valor al habilitar
Depende del valor de la opción
Elemento
SHA-1
Opciones
Elemento de listaValor almacenado
Predeterminado1
Compatible3
Auditado2
No compatible0
Aplicar con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters]

; Opciones (usar solo una)
; Predeterminado
"PKINITSHA1"=dword:00000001
; Compatible
"PKINITSHA1"=dword:00000003
; Auditado
"PKINITSHA1"=dword:00000002
; No compatible
"PKINITSHA1"=dword:00000000
CMD
:: Opciones (usar solo una)

:: Predeterminado
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters" /v "PKINITSHA1" /t REG_DWORD /d 1 /f
:: Compatible
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters" /v "PKINITSHA1" /t REG_DWORD /d 3 /f
:: Auditado
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters" /v "PKINITSHA1" /t REG_DWORD /d 2 /f
:: No compatible
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters" /v "PKINITSHA1" /t REG_DWORD /d 0 /f
PowerShell
# Común: crear la clave
New-Item -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Force | Out-Null

# Opciones (usar solo una)
# Predeterminado
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Name 'PKINITSHA1' -PropertyType DWord -Value 1 -Force | Out-Null
# Compatible
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Name 'PKINITSHA1' -PropertyType DWord -Value 3 -Force | Out-Null
# Auditado
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Name 'PKINITSHA1' -PropertyType DWord -Value 2 -Force | Out-Null
# No compatible
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Name 'PKINITSHA1' -PropertyType DWord -Value 0 -Force | Out-Null

PKINITSHA256

REG_DWORDEquipo
Valor al habilitar
Depende del valor de la opción
Elemento
SHA-256
Opciones
Elemento de listaValor almacenado
Predeterminado1
Compatible3
Auditado2
No compatible0
Aplicar con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters]

; Opciones (usar solo una)
; Predeterminado
"PKINITSHA256"=dword:00000001
; Compatible
"PKINITSHA256"=dword:00000003
; Auditado
"PKINITSHA256"=dword:00000002
; No compatible
"PKINITSHA256"=dword:00000000
CMD
:: Opciones (usar solo una)

:: Predeterminado
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters" /v "PKINITSHA256" /t REG_DWORD /d 1 /f
:: Compatible
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters" /v "PKINITSHA256" /t REG_DWORD /d 3 /f
:: Auditado
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters" /v "PKINITSHA256" /t REG_DWORD /d 2 /f
:: No compatible
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters" /v "PKINITSHA256" /t REG_DWORD /d 0 /f
PowerShell
# Común: crear la clave
New-Item -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Force | Out-Null

# Opciones (usar solo una)
# Predeterminado
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Name 'PKINITSHA256' -PropertyType DWord -Value 1 -Force | Out-Null
# Compatible
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Name 'PKINITSHA256' -PropertyType DWord -Value 3 -Force | Out-Null
# Auditado
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Name 'PKINITSHA256' -PropertyType DWord -Value 2 -Force | Out-Null
# No compatible
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Name 'PKINITSHA256' -PropertyType DWord -Value 0 -Force | Out-Null

PKINITSHA384

REG_DWORDEquipo
Valor al habilitar
Depende del valor de la opción
Elemento
SHA-384
Opciones
Elemento de listaValor almacenado
Predeterminado1
Compatible3
Auditado2
No compatible0
Aplicar con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters]

; Opciones (usar solo una)
; Predeterminado
"PKINITSHA384"=dword:00000001
; Compatible
"PKINITSHA384"=dword:00000003
; Auditado
"PKINITSHA384"=dword:00000002
; No compatible
"PKINITSHA384"=dword:00000000
CMD
:: Opciones (usar solo una)

:: Predeterminado
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters" /v "PKINITSHA384" /t REG_DWORD /d 1 /f
:: Compatible
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters" /v "PKINITSHA384" /t REG_DWORD /d 3 /f
:: Auditado
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters" /v "PKINITSHA384" /t REG_DWORD /d 2 /f
:: No compatible
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters" /v "PKINITSHA384" /t REG_DWORD /d 0 /f
PowerShell
# Común: crear la clave
New-Item -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Force | Out-Null

# Opciones (usar solo una)
# Predeterminado
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Name 'PKINITSHA384' -PropertyType DWord -Value 1 -Force | Out-Null
# Compatible
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Name 'PKINITSHA384' -PropertyType DWord -Value 3 -Force | Out-Null
# Auditado
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Name 'PKINITSHA384' -PropertyType DWord -Value 2 -Force | Out-Null
# No compatible
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Name 'PKINITSHA384' -PropertyType DWord -Value 0 -Force | Out-Null

PKINITSHA512

REG_DWORDEquipo
Valor al habilitar
Depende del valor de la opción
Elemento
SHA-512
Opciones
Elemento de listaValor almacenado
Predeterminado1
Compatible3
Auditado2
No compatible0
Aplicar con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters]

; Opciones (usar solo una)
; Predeterminado
"PKINITSHA512"=dword:00000001
; Compatible
"PKINITSHA512"=dword:00000003
; Auditado
"PKINITSHA512"=dword:00000002
; No compatible
"PKINITSHA512"=dword:00000000
CMD
:: Opciones (usar solo una)

:: Predeterminado
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters" /v "PKINITSHA512" /t REG_DWORD /d 1 /f
:: Compatible
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters" /v "PKINITSHA512" /t REG_DWORD /d 3 /f
:: Auditado
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters" /v "PKINITSHA512" /t REG_DWORD /d 2 /f
:: No compatible
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters" /v "PKINITSHA512" /t REG_DWORD /d 0 /f
PowerShell
# Común: crear la clave
New-Item -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Force | Out-Null

# Opciones (usar solo una)
# Predeterminado
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Name 'PKINITSHA512' -PropertyType DWord -Value 1 -Force | Out-Null
# Compatible
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Name 'PKINITSHA512' -PropertyType DWord -Value 3 -Force | Out-Null
# Auditado
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Name 'PKINITSHA512' -PropertyType DWord -Value 2 -Force | Out-Null
# No compatible
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Name 'PKINITSHA512' -PropertyType DWord -Value 0 -Force | Out-Null