Windows IT Pro is the leading independent community for IT professionals deploying Microsoft Windows server and client applications and technologies.
  
  
  Advanced Search 



How do I disable COM add-ins in Microsoft Outlook 2007?

RSS
Subscribe to Windows IT Pro | See More Exchange Server and Outlook Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!

Q: How do I disable COM add-ins in Microsoft Outlook 2007?

A: Sometimes you need to disable the COM add-ins that are installed with Outlook 2007. For example, when you’re trying to troubleshoot problems such as poor performance, slow shutdown, or even application failure (i.e., crashes), it’s best to eliminate variables. After a crash or hang, Outlook might display a dialog box, such as the one that Figure 1 shows, informing you that a specific add-on is causing problems.

Some add-ins don’t activate until the user tries close the application. An example is the Personal Folders Backup add-in, which prompts the user to back up PST files before closing Outlook. (Ironically, someone developed an add-in that helps Outlook shut down more efficiently. For more information, see http://www.daveswebsite.com/software/olshutdown/index.shtml.)

Disabling COM add-ins prevents them from starting when Outlook starts the next time, which brings Outlook closer to its basic installation and thus allows more control in troubleshooting. The add-ins remain disabled until you re-enable them.

Outlook 2007 has a command-line switch called /noextensions that lets Outlook open without any add-ins. Although the add-ins aren’t disabled in this case, they aren’t loaded with Outlook.

In some cases you know that a specific installed COM add-in (whether from a third party or developed inhouse) is causing problems for your Outlook users. You need to disable such add-ins immediately, until you can find a fix.

In Outlook 2007, you can access add-in management in the new Trust Center, under the Tools menu. Figure 2 shows the Add-in page with several popular add-ins installed, including Acrobat, SnagIt, Xobni, and IntraVNews. Unfortunately, this interface isn’t as intuitive as it could be. The columns in the main Add-ins pane, entitled Name, Location, and Type, aren’t adjustable in width. You can stretch the main window itself to expose the content in the columns, which is especially useful for the Location column. Although you can select an add-in listed in the main window, to make changes to an add-in you must select COM Add-ins from the drop-down box in the Manage section at the bottom of the pane, then click Go. The window that Figure 3 shows will open, allowing selection and deselection of available COM add-ins—which essentially enables or disables the add-ins. Note that clicking the Remove button in Figure 3 will remove the add-in from the list without a warning. Making changes to some add-ins takes effect immediately, whereas an Outlook restart is required for changes to other add-ins.

Outlook might also identify an add-in as problematic and disable it automatically. To view disabled items, as Figure 4 shows, go to the Trust Center’s Add-ins window and select Disabled Items next to the Manage option, then click Go.

You can also enable or disable add-ins through the registry. If Outlook crashes when you try to disable add-ins through the Trust Center, you must use the registry. When a developer creates a COM add-in, the add-in can be registered for all users or just the current user. Outlook add-ins are located in the HKEY_CURRENT_USER\ SOFTWARE\Microsoft\Office\Outlook\Addins registry subkey and the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\Outlook\Addins registry subkey. The individual available add-ins are listed in the Addins subkeys. Within each Add-ins subkey is a property called LoadBehavior. This property has two possible values: 2 to disable or disconnect the add-in and 3 to enable the add-in. Figure 5 shows this registry value for the OutlookSpy add-in, which is currently disabled.

If you’ve pushed an add-in out to your Outlook clients but the add-in is creating problems, you’ll need to disable it. Because you can disable add-ins through the registry, you can distribute the change through Group Policy Objects (GPOs), a logon script, or another management and distribution mechanism. You can also enable or disable COM add-ins programmatically, through the GenerateOfficeAddInManifest.LoadBehavior property. For information about this process, see http://msdn.microsoft.com/en-us/library/microsoft.visualstudio.tools.office.buildtasks.generateofficeaddinmanifest.loadbehavior.aspx.

End of Article



Reader Comments

You must be a registered user or online subscriber to comment on this article. Please log on before posting a comment. Are you a new visitor? Register now




Top Viewed ArticlesView all articles
Battery Life Issues Almost Certainly Not Windows 7's Fault

While Microsoft is still investigating a notebook battery life issue that was supposedly caused by Windows 7, some interesting trends have emerged. ...

Confirmed: Battery Life Issues Not Windows 7's Fault

Microsoft on Monday issued a lengthy statement about the recent Windows 7 battery controversy, echoing my assessment from earlier in the day, but backing it up with hard, cold evidence. ...

Getting your iPhone to Sync with Exchange 2003

Follow these steps to use an iPhone with Exchange. ...


Exchange Server and Outlook Whitepapers Email Controls and Regulatory Compliance

Take Control of Your Email: Understand the Business Reasons for Email Storage Management

Related Events Top 5 Key Technologies Changing The Face of Exchange and Data Protection

The Easiest Way to Save Time and Money on E-mail and SharePoint Management

Bail Out Your Exchange Environment

Check out our list of Free Email Newsletters!

Exchange Server and Outlook eBooks Spam Fighting and Email Security for the 21st Century

Understanding and Leveraging Code Signing Technologies

The Expert's Guide for Exchange 2003: Preparing for, Moving to, and Supporting Exchange Server 2003

Related Exchange Server and Outlook Resources Introducing Left-Brain.com, the online IT bookstore
Looking for books, CDs, toolkits, eBooks? Prime your mind at Left-Brain.com

Discover Windows IT Pro eLearning Series!
Clear & detailed technical information and helpful how-to's, all in our trademark no-nonsense format

Exchange & Outlook UPDATE eNewsletter
News, strategies, products, and developments in Exchange Server and Outlook messaging.

Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro DevProConnections IT Job Hound
Left-Brain.com Technology Resource Directory asp.netPRO ITTV Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 © 2010 Penton Media, Inc. Terms of Use | Privacy Statement