設定舊版的 RSA 公開金鑰大小 的登錄值 legacyrsabits使用者HKCU\software\policies\microsoft\office\16.0\common\signatures
- 原則 ID
- L_SelectDigitalSignatureLegacyRSABits
- 適用範圍
- 使用者設定
- 支援的作業系統
- 至少需要 Windows Server 2008 R2 或 Windows 7
- 來源
- Microsoft 365 Apps / Office Administrative Templates (版本 5568.1000)
- 類別
- Microsoft Office 2016 › 安全性設定 › 數位簽章
登錄
legacyrsabits
REG_DWORD使用者- 啟用時的值
- 取決於選項值
- 元素
- -
| 項目 | 儲存的值 |
|---|---|
| 0 | 0 |
| 512 | 512 |
| 768 | 768 |
| 1024 | 1024 |
| 1536 | 1536 |
| 2048 | 2048 |
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\common\signatures] ; 選項 (只使用其中一個) ; 0 "legacyrsabits"=dword:00000000 ; 512 "legacyrsabits"=dword:00000200 ; 768 "legacyrsabits"=dword:00000300 ; 1024 "legacyrsabits"=dword:00000400 ; 1536 "legacyrsabits"=dword:00000600 ; 2048 "legacyrsabits"=dword:00000800
CMD
:: 選項 (只使用其中一個) :: 0 reg add "HKCU\software\policies\microsoft\office\16.0\common\signatures" /v "legacyrsabits" /t REG_DWORD /d 0 /f :: 512 reg add "HKCU\software\policies\microsoft\office\16.0\common\signatures" /v "legacyrsabits" /t REG_DWORD /d 512 /f :: 768 reg add "HKCU\software\policies\microsoft\office\16.0\common\signatures" /v "legacyrsabits" /t REG_DWORD /d 768 /f :: 1024 reg add "HKCU\software\policies\microsoft\office\16.0\common\signatures" /v "legacyrsabits" /t REG_DWORD /d 1024 /f :: 1536 reg add "HKCU\software\policies\microsoft\office\16.0\common\signatures" /v "legacyrsabits" /t REG_DWORD /d 1536 /f :: 2048 reg add "HKCU\software\policies\microsoft\office\16.0\common\signatures" /v "legacyrsabits" /t REG_DWORD /d 2048 /f
PowerShell
# 共通: 建立機碼 New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\common\signatures' -Force | Out-Null # 選項 (只使用其中一個) # 0 New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\signatures' -Name 'legacyrsabits' -PropertyType DWord -Value 0 -Force | Out-Null # 512 New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\signatures' -Name 'legacyrsabits' -PropertyType DWord -Value 512 -Force | Out-Null # 768 New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\signatures' -Name 'legacyrsabits' -PropertyType DWord -Value 768 -Force | Out-Null # 1024 New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\signatures' -Name 'legacyrsabits' -PropertyType DWord -Value 1024 -Force | Out-Null # 1536 New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\signatures' -Name 'legacyrsabits' -PropertyType DWord -Value 1536 -Force | Out-Null # 2048 New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\signatures' -Name 'legacyrsabits' -PropertyType DWord -Value 2048 -Force | Out-Null