- Policy ID
- L_ActiveXControlInitialization
- 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 Office 2016 › Security Settings
Registry
uficontrols
REG_DWORDUser
- Enabled value
- Depends on the option value
- Element
- ActiveX Control Initialization:
Options
| Item | Stored value |
| 1 | 1 |
| 2 | 2 |
| 3 | 3 |
| 4 | 4 |
| 5 | 5 |
| 6 | 6 |
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)
; 1
"uficontrols"=dword:00000001
; 2
"uficontrols"=dword:00000002
; 3
"uficontrols"=dword:00000003
; 4
"uficontrols"=dword:00000004
; 5
"uficontrols"=dword:00000005
; 6
"uficontrols"=dword:00000006
CMD
:: Options (use only one)
:: 1
reg add "HKCU\software\policies\microsoft\office\common\security" /v "uficontrols" /t REG_DWORD /d 1 /f
:: 2
reg add "HKCU\software\policies\microsoft\office\common\security" /v "uficontrols" /t REG_DWORD /d 2 /f
:: 3
reg add "HKCU\software\policies\microsoft\office\common\security" /v "uficontrols" /t REG_DWORD /d 3 /f
:: 4
reg add "HKCU\software\policies\microsoft\office\common\security" /v "uficontrols" /t REG_DWORD /d 4 /f
:: 5
reg add "HKCU\software\policies\microsoft\office\common\security" /v "uficontrols" /t REG_DWORD /d 5 /f
:: 6
reg add "HKCU\software\policies\microsoft\office\common\security" /v "uficontrols" /t REG_DWORD /d 6 /f
PowerShell
# Common: create the key
New-Item -Path 'HKCU:\software\policies\microsoft\office\common\security' -Force | Out-Null
# Options (use only one)
# 1
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\common\security' -Name 'uficontrols' -PropertyType DWord -Value 1 -Force | Out-Null
# 2
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\common\security' -Name 'uficontrols' -PropertyType DWord -Value 2 -Force | Out-Null
# 3
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\common\security' -Name 'uficontrols' -PropertyType DWord -Value 3 -Force | Out-Null
# 4
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\common\security' -Name 'uficontrols' -PropertyType DWord -Value 4 -Force | Out-Null
# 5
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\common\security' -Name 'uficontrols' -PropertyType DWord -Value 5 -Force | Out-Null
# 6
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\common\security' -Name 'uficontrols' -PropertyType DWord -Value 6 -Force | Out-Null