デジタル署名ハッシュ アルゴリズムを選択する のレジストリ値 signaturehashalgユーザーHKCU\software\policies\microsoft\office\16.0\common\signatures
- ポリシー ID
- L_SelectDigitalSignatureHashingAlgorithm
- 適用対象
- ユーザーの構成
- サポートされるバージョン
- Windows Server 2008 R2、Windows 7 またはそれ以降
- 出典
- Microsoft 365 Apps / Office Administrative Templates (バージョン 5568.1000)
- カテゴリ
- Microsoft Office 2016 › セキュリティ設定 › デジタル署名
レジストリ
signaturehashalg
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\common\signatures] ; 選択項目 (1 つだけ使用) ; SHA-1 "signaturehashalg"="sha1" ; SHA-256 "signaturehashalg"="sha256" ; SHA-384 "signaturehashalg"="sha384" ; SHA-512 "signaturehashalg"="sha512"
CMD
:: 選択項目 (1 つだけ使用) :: SHA-1 reg add "HKCU\software\policies\microsoft\office\16.0\common\signatures" /v "signaturehashalg" /t REG_SZ /d "sha1" /f :: SHA-256 reg add "HKCU\software\policies\microsoft\office\16.0\common\signatures" /v "signaturehashalg" /t REG_SZ /d "sha256" /f :: SHA-384 reg add "HKCU\software\policies\microsoft\office\16.0\common\signatures" /v "signaturehashalg" /t REG_SZ /d "sha384" /f :: SHA-512 reg add "HKCU\software\policies\microsoft\office\16.0\common\signatures" /v "signaturehashalg" /t REG_SZ /d "sha512" /f
PowerShell
# 共通: キーを作成 New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\common\signatures' -Force | Out-Null # 選択項目 (1 つだけ使用) # SHA-1 New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\signatures' -Name 'signaturehashalg' -PropertyType String -Value 'sha1' -Force | Out-Null # SHA-256 New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\signatures' -Name 'signaturehashalg' -PropertyType String -Value 'sha256' -Force | Out-Null # SHA-384 New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\signatures' -Name 'signaturehashalg' -PropertyType String -Value 'sha384' -Force | Out-Null # SHA-512 New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\signatures' -Name 'signaturehashalg' -PropertyType String -Value 'sha512' -Force | Out-Null