Configurar algoritmos de hash para logon de certificado: valor do Registro PKINITHashAlgorithmConfigurationEnabled e mais 4 (KDC\Parameters)ComputadorHKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\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 › KDC
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\KDC\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\KDC\Parameters" /v "PKINITHashAlgorithmConfigurationEnabled" /t REG_DWORD /d 1 /f :: Desabilitada reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters" /v "PKINITHashAlgorithmConfigurationEnabled" /t REG_DWORD /d 0 /f
PowerShell
# Comum: criar a chave New-Item -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Force | Out-Null # Opções (use apenas uma) # Habilitada New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Name 'PKINITHashAlgorithmConfigurationEnabled' -PropertyType DWord -Value 1 -Force | Out-Null # Desabilitada New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Name 'PKINITHashAlgorithmConfigurationEnabled' -PropertyType DWord -Value 0 -Force | Out-Null
PKINITSHA1
REG_DWORDComputador- Valor habilitado
- Depende do valor da opção
- Elemento
- SHA-1
| Item | Valor armazenado |
|---|---|
| Padrão | 1 |
| Suportado | 3 |
| Auditado | 2 |
| Sem Suporte | 0 |
Aplicar com .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\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\KDC\Parameters" /v "PKINITSHA1" /t REG_DWORD /d 1 /f :: Suportado 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 :: Sem Suporte reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters" /v "PKINITSHA1" /t REG_DWORD /d 0 /f
PowerShell
# Comum: criar a chave New-Item -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Force | Out-Null # Opções (use apenas uma) # Padrão New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Name 'PKINITSHA1' -PropertyType DWord -Value 1 -Force | Out-Null # Suportado 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 # Sem Suporte New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Name 'PKINITSHA1' -PropertyType DWord -Value 0 -Force | Out-Null
PKINITSHA256
REG_DWORDComputador- Valor habilitado
- Depende do valor da opção
- Elemento
- SHA-256
| Item | Valor armazenado |
|---|---|
| Padrão | 1 |
| Suportado | 3 |
| Auditado | 2 |
| Sem Suporte | 0 |
Aplicar com .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\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\KDC\Parameters" /v "PKINITSHA256" /t REG_DWORD /d 1 /f :: Suportado 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 :: Sem Suporte reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters" /v "PKINITSHA256" /t REG_DWORD /d 0 /f
PowerShell
# Comum: criar a chave New-Item -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Force | Out-Null # Opções (use apenas uma) # Padrão New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Name 'PKINITSHA256' -PropertyType DWord -Value 1 -Force | Out-Null # Suportado 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 # Sem Suporte New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Name 'PKINITSHA256' -PropertyType DWord -Value 0 -Force | Out-Null
PKINITSHA384
REG_DWORDComputador- Valor habilitado
- Depende do valor da opção
- Elemento
- SHA-384
| Item | Valor armazenado |
|---|---|
| Padrão | 1 |
| Suportado | 3 |
| Auditado | 2 |
| Sem Suporte | 0 |
Aplicar com .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\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\KDC\Parameters" /v "PKINITSHA384" /t REG_DWORD /d 1 /f :: Suportado 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 :: Sem Suporte reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters" /v "PKINITSHA384" /t REG_DWORD /d 0 /f
PowerShell
# Comum: criar a chave New-Item -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Force | Out-Null # Opções (use apenas uma) # Padrão New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Name 'PKINITSHA384' -PropertyType DWord -Value 1 -Force | Out-Null # Suportado 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 # Sem Suporte New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Name 'PKINITSHA384' -PropertyType DWord -Value 0 -Force | Out-Null
PKINITSHA512
REG_DWORDComputador- Valor habilitado
- Depende do valor da opção
- Elemento
- SHA-512
| Item | Valor armazenado |
|---|---|
| Padrão | 1 |
| Suportado | 3 |
| Auditado | 2 |
| Sem Suporte | 0 |
Aplicar com .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\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\KDC\Parameters" /v "PKINITSHA512" /t REG_DWORD /d 1 /f :: Suportado 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 :: Sem Suporte reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters" /v "PKINITSHA512" /t REG_DWORD /d 0 /f
PowerShell
# Comum: criar a chave New-Item -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Force | Out-Null # Opções (use apenas uma) # Padrão New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Name 'PKINITSHA512' -PropertyType DWord -Value 1 -Force | Out-Null # Suportado 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 # Sem Suporte New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Name 'PKINITSHA512' -PropertyType DWord -Value 0 -Force | Out-Null