Proactively enabling and disabling Addins in Microsoft Office can often help solve a buggy experience with Word, Excel, Outlook and other Microsoft applications that allow Addins.
Sometimes however, an application can be disabled by the Operating System itself. When this occurs, it occurs within “the context of a User account” . This means that it is possible to disable (or have the system automatically disable) an Addin for only one User. This experience can be very frustrating when the User did not want that Addin to be disabled. Also, any account that is operating under least priviledge (meaing a limited privilege account within the system), may not be allowed to re-enable the Addin.
To Enable Addins for Microsoft Office Programs (when disabled by the system) you must use the RunAs command. The RunAs service is then used to Run the Office program in the “context” of a user account with a higher privilege.
A couple of things are happening here:
1. Even Microsoft Office can limit the ability of a user to control parameters. This is not so much that a User does not have control over their own Word, Excel, or Outlook programs as an example but because “when an Addin becomes disabled, an entry is made in the Registry for that Local Machine”. Registry entries require “privilege” to alter (even from within the menus of Microsoft Office).
2. In earlier versions of Windows (Windows XP, Windows 2000) the RunAs command allowed a program to be launched from the Start menu or from the Programs menu using Run as administrator. Windows Vista will require a little more work by either opening Windows Explorer and navigating to the executable (i.e. WINWORD.exe) and then using RunAs from the (right-click) context menu OR by actually creating a shortcut to that executable in the Quick Launch toolbar (where you can again right-click and select RunAs from there).
RunAs can be a little confusing for people who are new to it. This article at the Microsoft Office Web Site explains more about using RunAs together with Microsoft Office
What do I do if I get a message that the HKEY_LOCAL_MACHINE cannot be changed?
In my particular case today, I have an installation of Microsoft Word 2007 in which the “system” has automatically disabled an Addin for Business Contact Manager “BCM” for Microsoft Outlook. This occured because of a fatal failure between Word and the BCM Addin. When trying to re-enable the Addin, the following ERROR pop-up appears:
The connected state of Office Add-Ins registered in HKEY_LOCAL_MACHINE cannot be changed
So to ”enable” the BCM Addin in Microsoft Office Word 2007 (example on Windows Vista) do the following :
- GO TO Start | Computer
- open the hard drive on which the Office Programs were installed
- GO TO Program Files | Microsoft Office | Office12 | right-click on WINWORD.exe |from the context menu select Run as administrator | if User Account Control is active select continue
- Word will launch in the context of the Administrator account
- click on the Office button and from the bottom right corner of the dialog select Word Options
- select Add-Ins
- at the bottom of the Word Options dialog box is the Manage: drop down | select Disabled Items and press the Go button
- select your Addin from the Disabled Items list (i.e highlight it) and click Enable
- click OK until you are out of the Word Options dialog
- close Word and then re-open Word to confirm the Addin has been enabled
Thanks to My Digital Life and the Microsoft Office web site for the help.
thanks for reading
Mark Raborn
WIGITAL
#1 by Mark Lawson on 2009/05/04 - 22:32
Can the normal user ever use the add in? This occured with the microsoft math add in. running as administrator is fine. runnin as normal use disables the add in. must I always run as administator? This defeats the purpose of logging on as a normal use rather than administrator.
Thanks
#2 by Mark Raborn on 2009/05/04 - 22:36
Mark,
once the key is changed, the functionality returns regardless of user privilege. You can return the account to a limited privilege state and functionality should be 100%
Regarding the Math add-in for Word 2007, this article does not address the Math add-in. This bookmark at Office Online may help http://office.microsoft.com/en-us/help/HA100341271033.aspx#8
thanks for reading and commenting,
Mark
#3 by Wendy on 2009/06/03 - 11:39
I tried this and when I did the run-as administrator the add-in showed as installed and it was. When I don’t run Word 2007 with the run-as I do not get the add-in and get the message mentioned about. This was working up until yesterday afternoon…any ideas?
Thanks,
Wendy
#4 by hazel on 2009/06/06 - 10:52
THANK YOU SO MUCH!!!! (yes I am shouting for joy!) Finally I found instructions that were 100% correct to fix my problem.
Much appreciated.