Publisher Automation Security Level: registry value automationsecuritypublisherUserHKCU\software\policies\microsoft\office\common\security
- Policy ID
- L_PublisherAutomationSecurityLevel
- Scope
- User Configuration
- Supported on
- At least Windows Server 2008 R2 or Windows 7
- Source
- Microsoft 365 Apps / Office Administrative Templates (version 5568.1000)
- Category
- Microsoft Publisher 2016 › Security
Registry
automationsecuritypublisher
REG_DWORDUser- Enabled value
- Depends on the option value
- Element
- -
| Item | Stored value |
|---|---|
| Low (enabled) | 1 |
| By UI (prompted) | 2 |
| High (disabled) | 3 |
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\software\policies\microsoft\office\common\security] ; Options (use only one) ; Low (enabled) "automationsecuritypublisher"=dword:00000001 ; By UI (prompted) "automationsecuritypublisher"=dword:00000002 ; High (disabled) "automationsecuritypublisher"=dword:00000003
CMD
:: Options (use only one) :: Low (enabled) reg add "HKCU\software\policies\microsoft\office\common\security" /v "automationsecuritypublisher" /t REG_DWORD /d 1 /f :: By UI (prompted) reg add "HKCU\software\policies\microsoft\office\common\security" /v "automationsecuritypublisher" /t REG_DWORD /d 2 /f :: High (disabled) reg add "HKCU\software\policies\microsoft\office\common\security" /v "automationsecuritypublisher" /t REG_DWORD /d 3 /f
PowerShell
# Common: create the key New-Item -Path 'HKCU:\software\policies\microsoft\office\common\security' -Force | Out-Null # Options (use only one) # Low (enabled) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\common\security' -Name 'automationsecuritypublisher' -PropertyType DWord -Value 1 -Force | Out-Null # By UI (prompted) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\common\security' -Name 'automationsecuritypublisher' -PropertyType DWord -Value 2 -Force | Out-Null # High (disabled) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\common\security' -Name 'automationsecuritypublisher' -PropertyType DWord -Value 3 -Force | Out-Null