Ongeldig hash-algoritme configureren: registerwaarde invalidhashalgGebruikerHKCU\software\policies\microsoft\office\16.0\common\signatures

Beleids-ID
L_SelectDigitalSignatureInvalidHashingAlgorithm
Bereik
Gebruikersconfiguratie
Ondersteund op
Minimaal Windows Server 2008 R2 of Windows 7
Bron
Microsoft 365 Apps / Office Administrative Templates (versie 5568.1000)
Categorie
Microsoft Office 2016 › Beveiligingsinstellingen › Digitale handtekeningen

Register

invalidhashalg

REG_SZGebruiker
Waarde bij ingeschakeld
Afhankelijk van de waarde van de optie
Element
-
Opties
ItemOpgeslagen waarde
MD5md5
SHA1sha1
SHA256sha256
SHA384sha384
Toepassen met .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\common\signatures]

; Opties (gebruik er maar één)
; MD5
"invalidhashalg"="md5"
; SHA1
"invalidhashalg"="sha1"
; SHA256
"invalidhashalg"="sha256"
; SHA384
"invalidhashalg"="sha384"
CMD
:: Opties (gebruik er maar één)

:: MD5
reg add "HKCU\software\policies\microsoft\office\16.0\common\signatures" /v "invalidhashalg" /t REG_SZ /d "md5" /f
:: SHA1
reg add "HKCU\software\policies\microsoft\office\16.0\common\signatures" /v "invalidhashalg" /t REG_SZ /d "sha1" /f
:: SHA256
reg add "HKCU\software\policies\microsoft\office\16.0\common\signatures" /v "invalidhashalg" /t REG_SZ /d "sha256" /f
:: SHA384
reg add "HKCU\software\policies\microsoft\office\16.0\common\signatures" /v "invalidhashalg" /t REG_SZ /d "sha384" /f
PowerShell
# Algemeen: sleutel maken
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\common\signatures' -Force | Out-Null

# Opties (gebruik er maar één)
# MD5
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\signatures' -Name 'invalidhashalg' -PropertyType String -Value 'md5' -Force | Out-Null
# SHA1
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\signatures' -Name 'invalidhashalg' -PropertyType String -Value 'sha1' -Force | Out-Null
# SHA256
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\signatures' -Name 'invalidhashalg' -PropertyType String -Value 'sha256' -Force | Out-Null
# SHA384
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\signatures' -Name 'invalidhashalg' -PropertyType String -Value 'sha384' -Force | Out-Null