CNG ハッシュ アルゴリズムを指定する のレジストリ値 hashalgorithm (powerpoint\security\crypto)ユーザーHKCU\software\policies\microsoft\office\16.0\powerpoint\security\crypto
- ポリシー ID
- L_SpecifyCNGHashAlgorithm
- 適用対象
- ユーザーの構成
- サポートされるバージョン
- Windows Server 2008 R2、Windows 7 またはそれ以降
- 出典
- Microsoft 365 Apps / Office Administrative Templates (バージョン 5568.1000)
- カテゴリ
- Microsoft PowerPoint 2016 › PowerPoint のオプション › セキュリティ › 暗号化
レジストリ
hashalgorithm
REG_SZユーザー- 有効時の値
- オプションの値に依存
- 要素
- -
| 項目 | 保存される値 |
|---|---|
| SHA-1 | SHA1 |
| SHA-256 | SHA256 |
| SHA-384 | SHA384 |
| SHA-512 | SHA512 |
.reg · CMD · PowerShell で適用する
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\powerpoint\security\crypto] ; 選択項目 (1 つだけ使用) ; SHA-1 "hashalgorithm"="SHA1" ; SHA-256 "hashalgorithm"="SHA256" ; SHA-384 "hashalgorithm"="SHA384" ; SHA-512 "hashalgorithm"="SHA512"
CMD
:: 選択項目 (1 つだけ使用) :: SHA-1 reg add "HKCU\software\policies\microsoft\office\16.0\powerpoint\security\crypto" /v "hashalgorithm" /t REG_SZ /d "SHA1" /f :: SHA-256 reg add "HKCU\software\policies\microsoft\office\16.0\powerpoint\security\crypto" /v "hashalgorithm" /t REG_SZ /d "SHA256" /f :: SHA-384 reg add "HKCU\software\policies\microsoft\office\16.0\powerpoint\security\crypto" /v "hashalgorithm" /t REG_SZ /d "SHA384" /f :: SHA-512 reg add "HKCU\software\policies\microsoft\office\16.0\powerpoint\security\crypto" /v "hashalgorithm" /t REG_SZ /d "SHA512" /f
PowerShell
# 共通: キーを作成 New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\powerpoint\security\crypto' -Force | Out-Null # 選択項目 (1 つだけ使用) # SHA-1 New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\powerpoint\security\crypto' -Name 'hashalgorithm' -PropertyType String -Value 'SHA1' -Force | Out-Null # SHA-256 New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\powerpoint\security\crypto' -Name 'hashalgorithm' -PropertyType String -Value 'SHA256' -Force | Out-Null # SHA-384 New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\powerpoint\security\crypto' -Name 'hashalgorithm' -PropertyType String -Value 'SHA384' -Force | Out-Null # SHA-512 New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\powerpoint\security\crypto' -Name 'hashalgorithm' -PropertyType String -Value 'SHA512' -Force | Out-Null