Configurar algoritmos de hash para logon de certificado: valor do Registro PKInitHashAlgorithmConfigurationEnabled e mais 4 (Kerberos\Parameters)ComputadorHKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters

ID da política
PKInitHashAlgorithmConfiguration
Escopo
Configuração do Computador
Compatível com
Pelo menos Windows 11 Versão 22H2
Fonte
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versão 1.0)
Categoria
Sistema › Kerberos

Registro

PKInitHashAlgorithmConfigurationEnabled

REG_DWORDComputador
Valor habilitado
1
Valor desabilitado
0
Aplicar com .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

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

; Opções (use apenas uma)
; Habilitada
"PKInitHashAlgorithmConfigurationEnabled"=dword:00000001
; Desabilitada
"PKInitHashAlgorithmConfigurationEnabled"=dword:00000000
CMD
:: Opções (use apenas uma)

:: Habilitada
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters" /v "PKInitHashAlgorithmConfigurationEnabled" /t REG_DWORD /d 1 /f
:: Desabilitada
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters" /v "PKInitHashAlgorithmConfigurationEnabled" /t REG_DWORD /d 0 /f
PowerShell
# Comum: criar a chave
New-Item -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Force | Out-Null

# Opções (use apenas uma)
# Habilitada
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Name 'PKInitHashAlgorithmConfigurationEnabled' -PropertyType DWord -Value 1 -Force | Out-Null
# Desabilitada
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Name 'PKInitHashAlgorithmConfigurationEnabled' -PropertyType DWord -Value 0 -Force | Out-Null

PKInitSHA1

REG_DWORDComputador
Valor habilitado
Depende do valor da opção
Elemento
SHA-1
Opções
ItemValor armazenado
Padrão1
Suportado3
Auditado2
Sem Suporte0
Aplicar com .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

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

; Opções (use apenas uma)
; Padrão
"PKInitSHA1"=dword:00000001
; Suportado
"PKInitSHA1"=dword:00000003
; Auditado
"PKInitSHA1"=dword:00000002
; Sem Suporte
"PKInitSHA1"=dword:00000000
CMD
:: Opções (use apenas uma)

:: Padrão
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters" /v "PKInitSHA1" /t REG_DWORD /d 1 /f
:: Suportado
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
:: Sem Suporte
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters" /v "PKInitSHA1" /t REG_DWORD /d 0 /f
PowerShell
# Comum: criar a chave
New-Item -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Force | Out-Null

# Opções (use apenas uma)
# Padrão
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Name 'PKInitSHA1' -PropertyType DWord -Value 1 -Force | Out-Null
# Suportado
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
# Sem Suporte
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Name 'PKInitSHA1' -PropertyType DWord -Value 0 -Force | Out-Null

PKInitSHA256

REG_DWORDComputador
Valor habilitado
Depende do valor da opção
Elemento
SHA-256
Opções
ItemValor armazenado
Padrão1
Suportado3
Auditado2
Sem Suporte0
Aplicar com .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

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

; Opções (use apenas uma)
; Padrão
"PKInitSHA256"=dword:00000001
; Suportado
"PKInitSHA256"=dword:00000003
; Auditado
"PKInitSHA256"=dword:00000002
; Sem Suporte
"PKInitSHA256"=dword:00000000
CMD
:: Opções (use apenas uma)

:: Padrão
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters" /v "PKInitSHA256" /t REG_DWORD /d 1 /f
:: Suportado
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
:: Sem Suporte
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters" /v "PKInitSHA256" /t REG_DWORD /d 0 /f
PowerShell
# Comum: criar a chave
New-Item -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Force | Out-Null

# Opções (use apenas uma)
# Padrão
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Name 'PKInitSHA256' -PropertyType DWord -Value 1 -Force | Out-Null
# Suportado
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
# Sem Suporte
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Name 'PKInitSHA256' -PropertyType DWord -Value 0 -Force | Out-Null

PKInitSHA384

REG_DWORDComputador
Valor habilitado
Depende do valor da opção
Elemento
SHA-384
Opções
ItemValor armazenado
Padrão1
Suportado3
Auditado2
Sem Suporte0
Aplicar com .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

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

; Opções (use apenas uma)
; Padrão
"PKInitSHA384"=dword:00000001
; Suportado
"PKInitSHA384"=dword:00000003
; Auditado
"PKInitSHA384"=dword:00000002
; Sem Suporte
"PKInitSHA384"=dword:00000000
CMD
:: Opções (use apenas uma)

:: Padrão
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters" /v "PKInitSHA384" /t REG_DWORD /d 1 /f
:: Suportado
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
:: Sem Suporte
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters" /v "PKInitSHA384" /t REG_DWORD /d 0 /f
PowerShell
# Comum: criar a chave
New-Item -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Force | Out-Null

# Opções (use apenas uma)
# Padrão
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Name 'PKInitSHA384' -PropertyType DWord -Value 1 -Force | Out-Null
# Suportado
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
# Sem Suporte
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Name 'PKInitSHA384' -PropertyType DWord -Value 0 -Force | Out-Null

PKInitSHA512

REG_DWORDComputador
Valor habilitado
Depende do valor da opção
Elemento
SHA-512
Opções
ItemValor armazenado
Padrão1
Suportado3
Auditado2
Sem Suporte0
Aplicar com .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

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

; Opções (use apenas uma)
; Padrão
"PKInitSHA512"=dword:00000001
; Suportado
"PKInitSHA512"=dword:00000003
; Auditado
"PKInitSHA512"=dword:00000002
; Sem Suporte
"PKInitSHA512"=dword:00000000
CMD
:: Opções (use apenas uma)

:: Padrão
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters" /v "PKInitSHA512" /t REG_DWORD /d 1 /f
:: Suportado
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
:: Sem Suporte
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters" /v "PKInitSHA512" /t REG_DWORD /d 0 /f
PowerShell
# Comum: criar a chave
New-Item -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Force | Out-Null

# Opções (use apenas uma)
# Padrão
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Name 'PKInitSHA512' -PropertyType DWord -Value 1 -Force | Out-Null
# Suportado
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
# Sem Suporte
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters' -Name 'PKInitSHA512' -PropertyType DWord -Value 0 -Force | Out-Null