Re-enable Microsoft Office Add-ins with PowerShell

We have some products that include MS Office add-ins that are regularly disabled by the various Office applications because they’re “blamed” for an app crash. Two examples of this are HP Autonomy WorkSite EDMS and Shoretel Communicator.

This script is designed to be deployed and run by scheduled task on all workstations in a domain.

It goes through the registry and finds all matching disabled items and COM add-ins, and re-enables them.

The Office application in question still needs to be restarted after this script has been run. Users usually don’t notice that these add-ins have become disabled, and that causes issues. At least this will cause the add-in to load at the next load of the application in question.