Allow Active X One Off Forms: registry value allowactivexoneoffformsUserHKCU\software\policies\microsoft\office\16.0\outlook\security

Policy ID
L_AllowActiveXOneOffForms
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 Outlook 2016 › Security

Registry

allowactivexoneoffforms

REG_DWORDUser
Enabled value
Depends on the option value
Element
-
Options
ItemStored value
Load only Outlook Controls0
Allows only Safe Controls1
Allows all ActiveX Controls2
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\outlook\security]

; Options (use only one)
; Load only Outlook Controls
"allowactivexoneoffforms"=dword:00000000
; Allows only Safe Controls
"allowactivexoneoffforms"=dword:00000001
; Allows all ActiveX Controls
"allowactivexoneoffforms"=dword:00000002
CMD
:: Options (use only one)

:: Load only Outlook Controls
reg add "HKCU\software\policies\microsoft\office\16.0\outlook\security" /v "allowactivexoneoffforms" /t REG_DWORD /d 0 /f
:: Allows only Safe Controls
reg add "HKCU\software\policies\microsoft\office\16.0\outlook\security" /v "allowactivexoneoffforms" /t REG_DWORD /d 1 /f
:: Allows all ActiveX Controls
reg add "HKCU\software\policies\microsoft\office\16.0\outlook\security" /v "allowactivexoneoffforms" /t REG_DWORD /d 2 /f
PowerShell
# Common: create the key
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\security' -Force | Out-Null

# Options (use only one)
# Load only Outlook Controls
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\security' -Name 'allowactivexoneoffforms' -PropertyType DWord -Value 0 -Force | Out-Null
# Allows only Safe Controls
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\security' -Name 'allowactivexoneoffforms' -PropertyType DWord -Value 1 -Force | Out-Null
# Allows all ActiveX Controls
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\security' -Name 'allowactivexoneoffforms' -PropertyType DWord -Value 2 -Force | Out-Null