Link to home
Start Free TrialLog in
Avatar of ksmirnov
ksmirnovFlag for Russian Federation

asked on

Any way to batch-enable Outlook add-ins?

Dear Mighty all!

I use a number of Outlook Add-Ins
1) Cloudmark Spam Net
2) Bells and Whistles (DS development)
3) Franklin Covey Plan Plus

I have two profiles
- Personal (POP3, SMTP)
- Corporate (Exchange, connect through Cisco VPN)

These plugings work just fine, when I am using Personal profile. When I go to Corporate, they cause me all sorts of trouble, but mostly important, I do not need them while using Corporate profile.

I have created a simple script which disables the add-ins by entering teh respectful registry keys into
HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Outlook\Resiliency\DisabledItems
and launches Outllok as
outlook.exe /profile Corporate

I created the registry file by exporting this registry keys while I disabled the add-ins via Trust Center

So far, so good. It purrs like a kitten.

But then I want my plugins back. One would think that I just need to zero the disabled items in
HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Outlook\Resiliency\DisabledItems

No way! That does not help. Even if I delete all the entries in this registry branch, that does not help. I have to manually enable teh add-ins via Outlook Trust Center.

So, my question (-s):
1) Is there any way to automatically (e.g. via the script file) enable Outlook add-ins? (not through the Trust Center or other utility)
2) Where in the name of Lord are those registry entries that control which of my outlook add-ins load?

I have Outlook 2007 SP2 on Vista.

Thanks a million for your help.
To disable and load a certain profile (this works)
@echo off
regedit /s C:\Users\Konstantin\Documents\Plugin_mngmnt\NoCovey_Cloudmark_etc.reg
cd C:\Program Files\Microsoft Office\Office12
outlook.exe /profile Corporate
 
To enable (this does not work, since I dunno where to change registry)
@echo off
regedit /s C:\Users\Konstantin\Documents\Plugin_mngmnt\all_inc.reg
cd C:\Program Files\Microsoft Office\Office12
outlook.exe /profile Personal

Open in new window

Avatar of Timoros
Timoros
Flag of Greece image

Try this if you like:
Create a shortcut for your Corporate profile with the switch /noextensions (Starts Outlook with extensions turned off, but listed in the Add-In Manager.)
Create a shotcut for your personal profile without any switches !!
ASKER CERTIFIED SOLUTION
Avatar of Timoros
Timoros
Flag of Greece image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ksmirnov

ASKER

Is it just me or what... but the /noextensions option seems to be having no effect. The extensions still pop up.
Ideally I would like to have the ability to randomly disable the add-ons, not all or nothing. I have the neat small utility from DS Development which lets me disable plugins.
http://www.emailaddressmanager.com/outlook/add-in-manager.html

But each time I have to manually go and check-uncheck the add-ins. Which is waht I want to avoid.

Is there a way to enable add-ins by an Outlook profile? Say I enable this addin in Outlook Profile A, but disable it in a Profiule B? Anybody?