Livello sicurezza automazione di Publisher: valore del Registro di sistema automationsecuritypublisherUtenteHKCU\software\policies\microsoft\office\common\security
- ID criterio
- L_PublisherAutomationSecurityLevel
- Ambito
- Configurazione utente
- Supportato in
- Almeno Windows Server 2008 R2 o Windows 7
- Origine
- Microsoft 365 Apps / Office Administrative Templates (versione 5568.1000)
- Categoria
- Microsoft Publisher 2016 › Sicurezza
Registro
automationsecuritypublisher
REG_DWORDUtenteHKCU\software\policies\microsoft\office\common\security Chiave corrente
- Valore abilitato
- Dipende dal valore dell'opzione
- Elemento
- -
| Voce | Valore memorizzato |
|---|---|
| Basso (macro attivate) | 1 |
| Determinato dall'utente | 2 |
| Alto (macro disattivate) | 3 |
Applica con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\software\policies\microsoft\office\common\security] ; Opzioni (usarne solo una) ; Basso (macro attivate) "automationsecuritypublisher"=dword:00000001 ; Determinato dall'utente "automationsecuritypublisher"=dword:00000002 ; Alto (macro disattivate) "automationsecuritypublisher"=dword:00000003
CMD
:: Opzioni (usarne solo una) :: Basso (macro attivate) reg add "HKCU\software\policies\microsoft\office\common\security" /v "automationsecuritypublisher" /t REG_DWORD /d 1 /f :: Determinato dall'utente reg add "HKCU\software\policies\microsoft\office\common\security" /v "automationsecuritypublisher" /t REG_DWORD /d 2 /f :: Alto (macro disattivate) reg add "HKCU\software\policies\microsoft\office\common\security" /v "automationsecuritypublisher" /t REG_DWORD /d 3 /f
PowerShell
# Comune: crea la chiave New-Item -Path 'HKCU:\software\policies\microsoft\office\common\security' -Force | Out-Null # Opzioni (usarne solo una) # Basso (macro attivate) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\common\security' -Name 'automationsecuritypublisher' -PropertyType DWord -Value 1 -Force | Out-Null # Determinato dall'utente New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\common\security' -Name 'automationsecuritypublisher' -PropertyType DWord -Value 2 -Force | Out-Null # Alto (macro disattivate) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\common\security' -Name 'automationsecuritypublisher' -PropertyType DWord -Value 3 -Force | Out-Null