How to Enable Office Add-Ins Automatically Using PowerShell
Question details
The user needs a reliable method to automatically enable installed but disabled Office add-ins across a large number of users, as standard registry changes and COM automation scripts are failing.

- Product
- Microsoft Office / Excel
- Device & OS
- not provided
- Scenario
- Deploying and managing Microsoft Office add-ins for multiple users where the add-ins default to a disabled state.
- Observed behavior
- The Office add-in is installed but remains disabled in Excel, and scripts modifying the Connect property or registry do not consistently enable it for large user groups.
Ensure you have administrative privileges to execute PowerShell scripts and modify system registries, and always test deployment scripts on a small group of machines before rolling them out enterprise-wide.
Deploy Specialized PowerShell Scripts for Specific Add-ins
Identify and deploy PowerShell scripts specifically designed to re-enable your exact add-in type and Office version.
Because COM automation and basic registry edits can be unreliable across different deployment environments, utilizing a targeted PowerShell script designed for your specific Office version is crucial. Generic scripts often fail to account for Microsoft's built-in add-in resiliency features, which can override basic registry changes.
Determine whether the add-in in question is a COM add-in, a VSTO add-in, or an Office Web Add-in. Note the exact build architecture (32-bit vs. 64-bit) of Microsoft Excel deployed to your users.
Search official Microsoft repositories for PowerShell scripts tailored to re-enabling disabled Office add-ins, ensuring the script targets the exact resiliency keys for your Office version.
Ensure your PowerShell script targets the correct registry hive (HKCU for user-specific, HKLM for machine-wide). The script must set the LoadBehavior key of the specific add-in to 3 (Load at startup) and clear the add-in from the 'Resiliency\DisabledItems' registry path.
If existing scripts still fail to deploy reliably, submit your specific script, add-in type, and environment details to the Microsoft Q&A community to request custom PowerShell configuration assistance.
Simplify Your Office Workflow with WPS Office
Struggling with complex deployment scripts, COM automation, and persistently disabled add-ins in Microsoft Office? WPS Office offers a streamlined, lightweight alternative that handles standard office tasks flawlessly without the heavy administrative overhead.
- 1. Download the Installer: Visit the official WPS Office website and download the free installation package.
- 2. Deploy to Users: Run the lightweight installer on user machines; it installs quickly without requiring complex pre-requisite configurations.
- 3. Open Existing Files: Open your existing Microsoft Excel and Word files directly in WPS Office to experience seamless compatibility.

Frequently Asked Questions
Why do my Office add-ins keep getting disabled even after registry changes?
Microsoft Office has built-in resiliency features that automatically disable add-ins if they cause the application to load slowly or crash. If an add-in triggers this protection, Office ignores the standard LoadBehavior registry key until the add-in is removed from the Disabled Items list.
What is the correct LoadBehavior value to enable a COM add-in?
To configure a COM add-in to load automatically at startup, the LoadBehavior registry value should be set to 3. A value of 2 means the add-in is loaded on demand, and 0 means it is disconnected.
Can I use Group Policy (GPO) instead of PowerShell to force-enable add-ins?
Yes, administrators can use Microsoft Office Administrative Templates to configure a GPO that manages add-ins. You can add the add-in's ProgID to the 'List of managed add-ins' and set its value to 1 to permanently enable it, which often overrides local resiliency settings.
Why doesn't changing the COM object Connect property work for all users in mass deployment?
Modifying the Connect property via COM automation typically executes in the context of the user running the script. If the script is deployed via a system account (like SCCM or Intune), it may fail to affect the HKEY_CURRENT_USER registry hive where individual user-specific add-in settings are stored.




