List of allowed COM/VSTO add-ins registered in HKCU: registry value L_AllowedCOMAddinsUserHKCU\software\policies\microsoft\office\16.0\common\security\allowedcomaddins
- Policy ID
- L_AllowedCOMAddins
- Scope
- User Configuration
- Supported on
- At least Windows Server 2016, Windows 10
- Source
- Microsoft 365 Apps / Office Administrative Templates (version 5568.1000)
- Category
- Microsoft Office 2016 › Security Settings
Registry
(list values)
REG_SZUser- Enabled value
- Depends on the option value
- Element
- Allowed COM/VSTO Add-ins:
- Value type
- REG_SZ
- Explicit value name
- true
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\common\security\allowedcomaddins] "<enter name>"="<enter value>"
CMD
reg add "HKCU\software\policies\microsoft\office\16.0\common\security\allowedcomaddins" /v "<enter name>" /t REG_SZ /d "<enter value>" /f
PowerShell
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\common\security\allowedcomaddins' -Force | Out-Null New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\security\allowedcomaddins' -Name '<enter name>' -PropertyType String -Value '<enter value>' -Force | Out-Null