Configurar algoritmos hash para inicio de sesión de certificado: valor del Registro PKInitHashAlgorithmConfigurationEnabled y 4 más (Kerberos\Parameters)EquipoHKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\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 › Kerberos
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\Kerberos\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\Kerberos\Parameters" /v "PKInitHashAlgorithmConfigurationEnabled" /t REG_DWORD /d 1 /f :: Deshabilitada reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\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\Kerberos\Parameters' -Force | Out-Null # Opciones (usar solo una) # Habilitada New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Name 'PKInitHashAlgorithmConfigurationEnabled' -PropertyType DWord -Value 1 -Force | Out-Null # Deshabilitada New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\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
| Elemento de lista | Valor almacenado |
|---|---|
| Predeterminado | 1 |
| Compatible | 3 |
| Auditado | 2 |
| No compatible | 0 |
Aplicar con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\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\Kerberos\Parameters" /v "PKInitSHA1" /t REG_DWORD /d 1 /f :: Compatible reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters" /v "PKInitSHA1" /t REG_DWORD /d 3 /f :: Auditado reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters" /v "PKInitSHA1" /t REG_DWORD /d 2 /f :: No compatible reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\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\Kerberos\Parameters' -Force | Out-Null # Opciones (usar solo una) # Predeterminado New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Name 'PKInitSHA1' -PropertyType DWord -Value 1 -Force | Out-Null # Compatible New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Name 'PKInitSHA1' -PropertyType DWord -Value 3 -Force | Out-Null # Auditado New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Name 'PKInitSHA1' -PropertyType DWord -Value 2 -Force | Out-Null # No compatible New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\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
| Elemento de lista | Valor almacenado |
|---|---|
| Predeterminado | 1 |
| Compatible | 3 |
| Auditado | 2 |
| No compatible | 0 |
Aplicar con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\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\Kerberos\Parameters" /v "PKInitSHA256" /t REG_DWORD /d 1 /f :: Compatible reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters" /v "PKInitSHA256" /t REG_DWORD /d 3 /f :: Auditado reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters" /v "PKInitSHA256" /t REG_DWORD /d 2 /f :: No compatible reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\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\Kerberos\Parameters' -Force | Out-Null # Opciones (usar solo una) # Predeterminado New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Name 'PKInitSHA256' -PropertyType DWord -Value 1 -Force | Out-Null # Compatible New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Name 'PKInitSHA256' -PropertyType DWord -Value 3 -Force | Out-Null # Auditado New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Name 'PKInitSHA256' -PropertyType DWord -Value 2 -Force | Out-Null # No compatible New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\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
| Elemento de lista | Valor almacenado |
|---|---|
| Predeterminado | 1 |
| Compatible | 3 |
| Auditado | 2 |
| No compatible | 0 |
Aplicar con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\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\Kerberos\Parameters" /v "PKInitSHA384" /t REG_DWORD /d 1 /f :: Compatible reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters" /v "PKInitSHA384" /t REG_DWORD /d 3 /f :: Auditado reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters" /v "PKInitSHA384" /t REG_DWORD /d 2 /f :: No compatible reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\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\Kerberos\Parameters' -Force | Out-Null # Opciones (usar solo una) # Predeterminado New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Name 'PKInitSHA384' -PropertyType DWord -Value 1 -Force | Out-Null # Compatible New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Name 'PKInitSHA384' -PropertyType DWord -Value 3 -Force | Out-Null # Auditado New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Name 'PKInitSHA384' -PropertyType DWord -Value 2 -Force | Out-Null # No compatible New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\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
| Elemento de lista | Valor almacenado |
|---|---|
| Predeterminado | 1 |
| Compatible | 3 |
| Auditado | 2 |
| No compatible | 0 |
Aplicar con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\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\Kerberos\Parameters" /v "PKInitSHA512" /t REG_DWORD /d 1 /f :: Compatible reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters" /v "PKInitSHA512" /t REG_DWORD /d 3 /f :: Auditado reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters" /v "PKInitSHA512" /t REG_DWORD /d 2 /f :: No compatible reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\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\Kerberos\Parameters' -Force | Out-Null # Opciones (usar solo una) # Predeterminado New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Name 'PKInitSHA512' -PropertyType DWord -Value 1 -Force | Out-Null # Compatible New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Name 'PKInitSHA512' -PropertyType DWord -Value 3 -Force | Out-Null # Auditado New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Name 'PKInitSHA512' -PropertyType DWord -Value 2 -Force | Out-Null # No compatible New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Name 'PKInitSHA512' -PropertyType DWord -Value 0 -Force | Out-Null