CNG-hash-algoritme opgeven: registerwaarde hashalgorithm (powerpoint\security\crypto)GebruikerHKCU\software\policies\microsoft\office\16.0\powerpoint\security\crypto

Beleids-ID
L_SpecifyCNGHashAlgorithm
Bereik
Gebruikersconfiguratie
Ondersteund op
Minimaal Windows Server 2008 R2 of Windows 7
Bron
Microsoft 365 Apps / Office Administrative Templates (versie 5568.1000)
Categorie
Microsoft PowerPoint 2016 › Opties voor PowerPoint › Beveiliging › Cryptografie

Register

hashalgorithm

REG_SZGebruiker
Waarde bij ingeschakeld
Afhankelijk van de waarde van de optie
Element
-
Opties
ItemOpgeslagen waarde
SHA1SHA1
SHA256SHA256
SHA384SHA384
SHA512SHA512
Toepassen met .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\powerpoint\security\crypto]

; Opties (gebruik er maar één)
; SHA1
"hashalgorithm"="SHA1"
; SHA256
"hashalgorithm"="SHA256"
; SHA384
"hashalgorithm"="SHA384"
; SHA512
"hashalgorithm"="SHA512"
CMD
:: Opties (gebruik er maar één)

:: SHA1
reg add "HKCU\software\policies\microsoft\office\16.0\powerpoint\security\crypto" /v "hashalgorithm" /t REG_SZ /d "SHA1" /f
:: SHA256
reg add "HKCU\software\policies\microsoft\office\16.0\powerpoint\security\crypto" /v "hashalgorithm" /t REG_SZ /d "SHA256" /f
:: SHA384
reg add "HKCU\software\policies\microsoft\office\16.0\powerpoint\security\crypto" /v "hashalgorithm" /t REG_SZ /d "SHA384" /f
:: SHA512
reg add "HKCU\software\policies\microsoft\office\16.0\powerpoint\security\crypto" /v "hashalgorithm" /t REG_SZ /d "SHA512" /f
PowerShell
# Algemeen: sleutel maken
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\powerpoint\security\crypto' -Force | Out-Null

# Opties (gebruik er maar één)
# SHA1
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\powerpoint\security\crypto' -Name 'hashalgorithm' -PropertyType String -Value 'SHA1' -Force | Out-Null
# SHA256
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\powerpoint\security\crypto' -Name 'hashalgorithm' -PropertyType String -Value 'SHA256' -Force | Out-Null
# SHA384
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\powerpoint\security\crypto' -Name 'hashalgorithm' -PropertyType String -Value 'SHA384' -Force | Out-Null
# SHA512
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\powerpoint\security\crypto' -Name 'hashalgorithm' -PropertyType String -Value 'SHA512' -Force | Out-Null