Configurar o tamanho de chave pública RSA herdada: valor do Registro legacyrsabitsUsuárioHKCU\software\policies\microsoft\office\16.0\common\signatures
- ID da política
- L_SelectDigitalSignatureLegacyRSABits
- Escopo
- Configuração do Usuário
- Compatível com
- Windows Server 2008 R2 ou Windows 7
- Fonte
- Microsoft 365 Apps / Office Administrative Templates (versão 5568.1000)
- Categoria
- Microsoft Office 2016 › Configurações de Segurança › Assinaturas digitais
Registro
legacyrsabits
REG_DWORDUsuário- Valor habilitado
- Depende do valor da opção
- Elemento
- -
| Item | Valor armazenado |
|---|---|
| 0 | 0 |
| 512 | 512 |
| 768 | 768 |
| 1024 | 1024 |
| 1536 | 1536 |
| 2048 | 2048 |
Aplicar com .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\common\signatures] ; Opções (use apenas uma) ; 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
:: Opções (use apenas uma) :: 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
# Comum: criar a chave New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\common\signatures' -Force | Out-Null # Opções (use apenas uma) # 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