Disable All ActiveX
Explanation
This policy setting controls whether ActiveX controls are disabled.
If you enable this policy setting, Office 2016 applications do not initialize ActiveX controls from non-trusted locations, and do not notify the user that the ActiveX controls are disabled.
If you disable or do not configure this policy setting, users can set the trust level for ActiveX controls in the Trust Center in the 2016 versions of Microsoft Access, PowerPoint, Word, and Excel. The default configuration does not load untrusted ActiveX controls, but uses the Message Bar to prompt users about the control, and they can then choose whether to run the control.
Registry
HKEY_CURRENT_USER\software\policies\microsoft\office\common\security- Value name
disableallactivex
| State | Value written |
|---|---|
| Enabled | REG_DWORD = 1 |
| Disabled | REG_DWORD = 0 |
PowerShell
PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.
Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.
Enable
# Enable: office16/L_DisableAllActiveX
$k = 'HKCU:\software\policies\microsoft\office\common\security'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'disableallactivex' -Value 1 -Type DWordDisable
# Disable: office16/L_DisableAllActiveX
$k = 'HKCU:\software\policies\microsoft\office\common\security'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'disableallactivex' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": office16/L_DisableAllActiveX
$k = 'HKCU:\software\policies\microsoft\office\common\security'
Remove-ItemProperty -Path $k -Name 'disableallactivex' -ErrorAction SilentlyContinueApplication
Microsoft 365 Apps / Office (Microsoft) — November 2026 templates
Official templates downloaded on November 12, 2026.