Manage Outlook Add-Ins Programatically

We publish Outlook in a Citrix XenApp environment. The installation is shared by users with different needs. One of our departments would like to make use of a vendor supplied Outlook Add-In, but that add-in is only relevant to members of that department,
and in fact will cause grief for non members as they will be prompted to log in to a system to which they have no access. I can enable or disable the add-in in question by manually going in to Outlook "Tools>Trust Center>Add-ins>Manage COM
Add-ins" by simply checking or unchecking a box. What I need to figure out is how to do this programatically by script (or possibly GPO) so that the add-in is enabled for members of the department in question and disabled for everyone else. So far I have had
no luck. I have compared the HKCU registry hive with the Add-In enabled and Disabled. There is one key that changes consistently when I do so, but changing that key programatically does not cause the add-in to become either enabled or disabled. What happens
when I check or uncheck the box? Where is that information stored? How can I manipulate it?

LoadBehavior only has an effect before Outlook is started. Changing it to 2 will set it to load on demand, to 3 is load on startup, 0 is don't show it. There are other settings but those are the important ones.
Outlook.Application.ComAddins.Item(<addinProgId>).Connect can be set to False to disconnect the addin after Outlook startup, where <addinProgId>.is the ProgID for the addin.
You can iterate the ComAddins collection to find the correct ProgId string to use in a script. The ProgId property is exposed in the Office.ComAddins.ComAddin object.
Ken Slovak
MVP - Outlook
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
"Eric P" <=?utf-8?B?RXJpYyBQ?=> wrote in message
news:5a5c3097-10ca-4ee0-805f-dfa124020818...
We publish Outlook in a Citrix XenApp environment. The installation is shared by users with different needs. One of our departments would like to make use of a vendor supplied Outlook Add-In, but that add-in is only relevant to members of that department, and
in fact will cause grief for non members as they will be prompted to log in to a system to which they have no access. I can enable or disable the add-in in question by manually going in to Outlook "Tools>Trust Center>Add-ins>Manage COM Add-ins"
by simply checking or unchecking a box. What I need to figure out is how to do this programatically by script (or possibly GPO) so that the add-in is enabled for members of the department in question and disabled for everyone else. So far I have had no luck.
I have compared the HKCU registry hive with the Add-In enabled and Disabled. There is one key that changes consistently when I do so, but changing that key programatically does not cause the add-in to become either enabled or disabled. What happens when I
check or uncheck the box? Where is that information stored? How can I manipulate it?
Ken Slovak MVP - Outlook

Similar Messages

  • Adobeconnect outlook add-ins version 3.5 cannot establish the connection with the server

    i am using outlook 2010 and i have installed the outlook add-ins ver3.5 to my laptop. i was trying to login the server through add-ins with my login details. But it popup"cannot establish the connection to server, please check your server address and account", the server i am using is "intercall-apac.adobeconnect.com". Just want to know is there any port should be opened on the firewall?

    Try putting https:// in the URL for the server instead of http:// (or check the box for a secure connection)

  • Do not see an extention for Download Manager in Add-ins - Extentions

    If I look in Explorer in Doc & Settings/user?/Apps/mozilla/firefox/Profile.default/extensions/ (abbreviated for simplicity) I see a directory that looks like an e-mail address called [email protected] and is empty, how ever, unlike the rest of the directories there, this one does not show up as an Extension in the add-on/Extensions list drop down box. I did not see that there before yesterday and had to reinstall US Spell checker and Java because they were scheduled to install on a restart but would not. All of the Extensions now appear correctly in the box but not the download manager. I don't know if this download manager is the default one or not or a hack. The add in IDM I found from WWW.Internetdownloadmanager.com seems more than I really want and will tag web sites I visit so I don't want that version. Instructions found on the forum point to older versions of Firefox. I have the latest with the "find updates" returning all current, no new updates. So whats up with that? Why E-mail addresses? What does the Mozilla_cc@ stand for? I had a very difficult time removing the Kaspersky Internet Browser tools it tried to load but finally got rid of them. They do not ask just Load up the Browser slowing everything down.

    Sorry. I see that Acro DC is not a free update.

  • Icloud-Outlook-Add-in not loaded automatically

    Dear Support Community,
    I've been using my Iphones together with my Win PC / Outlook for several months.
    No problems.
    Since a few days, there's always the problem, that the "i-cloud-Outlook-Add-in" is not
    loaded automatically, when I start Outlook.
    Manual activiation (via Options -> Add-In --> Com Add-in --> tick in the box at "i-Cloud ...")
    works perfect.
    I've checked the registry entry "LoadBehaviour": 3 --> correct value, in my opinion.
    Any ideas, how to get outlook to load the icloud add-in automatically at startup?
    Thank you very much in advance.
    Regards

    I just had a user call in with this exact same problem.  The steps that I took to resolve the issue are as follows:
    1.  Ran a repair on office installation and rebooted computer. (Not sure if this was nesary).
    2.  In Outlook go to File-Options-Add-Ins.  Below for Manage COM Add-ins click the Go button.
    3.  find iCloud add-in and check it off to enable it.  Click on OK until your back at outlook.
    4.  Close and relaunch outlook.  Go back to File-Options-Add-Ins and down at the Manage change the dropdown to "Disabled Items".
    5.  Choose the iCloud.dll checkbox and click on enable.
    6.  Close outlook and reopen.  You should now see the ribbon for iCloud sync.

  • Icloud outlook add-in not working in the last week

    in the last week my icloud add-in to outlook 2010 stopped working. It simply wasn't working and I tried logging out of my control panel and back in. The outlook add-in now says that my username is wrong but it isn't. I seem to be able to log-in to the icloud control panel ok but the outlook add-in doesn't seem to be working. I think it might be linked to the introduction of IOS 7 and the update for icloud control pabnel to 3.0. Anyone have any ideas or fixes?

    I just had a user call in with this exact same problem.  The steps that I took to resolve the issue are as follows:
    1.  Ran a repair on office installation and rebooted computer. (Not sure if this was nesary).
    2.  In Outlook go to File-Options-Add-Ins.  Below for Manage COM Add-ins click the Go button.
    3.  find iCloud add-in and check it off to enable it.  Click on OK until your back at outlook.
    4.  Close and relaunch outlook.  Go back to File-Options-Add-Ins and down at the Manage change the dropdown to "Disabled Items".
    5.  Choose the iCloud.dll checkbox and click on enable.
    6.  Close outlook and reopen.  You should now see the ribbon for iCloud sync.

  • Outlook Add-in Deployment

    I have create an outlook add-in. When i run it in my machine ,it works fine. Then i publish
     it. I click the .vsto file in client machine to deploy add,it runs well and  there is no warning,when i open the outlook,i can see the add_in.however when i click the button(get info).there is no feedback,so
    I  add the code messagebox.show("failure") in the button_click event in the first line, it shows nothing too.
    note: i am using VS2010. .NET framework 4
    please;

    Hello,
    > Then i publish  it.
    Do you use the ClickOnce installer for deploying the add-in?
    Did you have a chance to check out the windows registry for the add-in?  See
    Registry Entries for Application-Level Add-Ins for more information.
    You can read about the required steps for deploying Outlook add-ins in the
    Deploying an Office Solution section in MSDN. Pay special attention to the
    Deploying an Office Solution by Using ClickOnce article.
    Is your add-in listed in the Disabled Items list in Outlook?
    Microsoft Office applications can disable add-ins that behave unexpectedly. If an application does not load your add-in, the application might have hard disabled or soft disabled your add-in. 
    Hard disabling can occur when an add-in causes the application to close unexpectedly. It might also occur on your development computer if you stop the debugger while the
    Startup event handler in your add-in is executing. 
    Soft disabling can occur when an add-in produces an error that does not cause the application to unexpectedly close. For example, an application might soft disable an add-in if it throws an unhandled exception while the
    Startup event handler is executing. 
    When you re-enable a soft-disabled add-in, the application immediately attempts to load the add-in. If the problem that initially caused the application to soft disable the add-in has not been fixed, the application will soft disable the add-in again.
    You can read more about this in the
    How to: Re-enable an Add-in That Has Been Disabled article in MSDN.

  • Can't get add-ins to show up in Outlook 2007 at all.

    In the Outlook 2007 Trust Center Add-Ins, the Itunes add ins just won't show up at all. As such, I can't sync anything from Outlook. I have tried directing the COM Add-in manager to the .dlls, and sometimes Outlook says it's not a valid add in, other times it just does nothing. I have uninstalled all Apple components over and over and reinstalled Itunes with no success in getting the add ins to populate the Com manager or the disabled list. Tried renaming the Apple SyncSetting folders listed in other posts and no luck after reinstall then either. Any suggestions anyone. My 14 days is almost up.
    Using Vista 32 bit, Outlook 2007.
    Thanks
      Windows Vista  

    Hi Sue...not Steve here...
    You don't need to lock the image first, but it can aid in not selecting it for a bit.
    Lock the image.
    Create a rectangle covering the whole image.
    Place the shape, or text, for the hole you want onto the image.
      If text, make it an outline.
    Select both shapes or the rectangle that is over the entire image and the object you want to produce the "hole" in the image with and make a Compound Path (Object > Compound Path > Make or Cmd+8 or Ctrl+8).
    Unlock the image and select both the image and the compound path, then make a mask (Object > Clipping Mask > Make or Cmd+7 or Ctrl+7).
    Take care, Mike

  • How do I get my money back? Adobe Send feature set not even close to Send Now. No password protected download link option, poor contact management, no branded sending, no Outlook add-in / support. Wow. Talk about killing an excellent product.

    How do I get my money back? Adobe Send feature set not even close to Send Now. No password protected download link option, poor contact management, no branded sending, no Outlook add-in / support. Wow. Talk about killing an excellent product.

    Poor Contact Management? I see no contact management lol.
    What a fiasco!
    Pay Doyle

  • My iphone calendar stopped syncing with outlook 7 thru the cloud. I clicked on tools, trust center, add ins. icloud add in had been disabled. I tried to re enable it but was told that this could only be done by administrator. I am the admin. Help????

    My iphone calendar stopped syncing with outlook 7 thru the cloud. I clicked on outlook tools, trust center, add ins. I noted that icloud add in had been disabled. I tried to re enable it but got a message that this change could only be done by administrator. I am the administrator. Help???? Any ideas?

    I do not believe this. I have been going nuts trying everything as in prior posts, and this has been a problem for users at least since 2010. I had this problem a long time ago and didn't pay too much attention to it because it was my iPad, and I depended on my BB a a base calander to feed Outlook. I became very concerned within the past week when I switched my BB to iPhone 5s, and was carrying both because I still needed to carry the BB for new calander enteries to sync up to Outlook 2007.
    I had followed http://support.apple.com/kb/HT1925 and delete the apple s/w and re-installed. But according to the previous post, it appears that the issue was in the data - which was not deleted during all these deinstalls nor overridden with the new installs.
    I am a XP user, so my files are in documents and settings/(username) both application data and \local settings\application data, but I also have safari and quicktime installed as well and didn't want to just blow entire high level folders if I didn't have to.
    So I followed http://support.apple.com/kb/HT1925 then purged several apple folders in my windows profile and this definitely blew apple computer\preferences away. What I did was a little clumbsy, and desperate, but it worked. I am finally back in business.
    However, I would like to see someone fine tune this and determine if it was just the preferences folder that needed to be deleted so that iTunes needed to rebuild it, or if there were other filoes that were apparently corrupted away, just to get this to the minimum number of steps to fix the issue.
    BUT THANKS - This has been the most HELPFUL thread to get me syncing agai!!!!

  • Window Vista Outlook Calendar Sync Add-ins disabled tips

    If using Windows Vista and having trouble syncing calendar, follow Apple's instructions for disabling add-ins.... BUT ..... run Outlook as an Administrator. If you can't remove some of the add-ins running as an Admin will solve your problem.

    Try this. Forgive me as I am not at my work computer but expericenced exactly the same problems.
    Go to edit your email account and assuming you are using outlook 2003 since I don't 2007 you will need to find the dialog box that says something to the effect of send your information to your personal documents. It is a drop down menu within settings. You will then need to close outlook and open it again. Try syncing your iphone and this worked like a charm for me.
    To sum it up your mail,contacts, and calendar entries are curetnly being stored on your work server. Iphone doesn't like that. When you tell outlook to store these items on your personal documents they then are stored on your hard drive and Iphone loves that. When I first tried doing this I noticed that I didn't have the option to send these items to my persnal files so if that is the case for you you will need to create it by clicking add and just pointing to personal files.
    I hope this helps.

  • Icloud outlook, inactive application add-ins?

    In Outlook 2013, Microsoft Office Add-Ins, I keep having problems with icloud outlook switching back to an inactive application.  I keep having to go back in and switch it back to an active add-in.  I hadn't had this problem until 3 weeks ago.  I'm not sure what was changed.  Is there a fix to this problem?

    go to
    control panel
    internet connections
    click on icloud
    check boxes wanted to update and go

  • Add-ins that are being set to Inactive

    This pertains to Outlook 2013 in this particular case, but may apply to other 2013 products.
    It's not just one add-in, but we have seen a few add-ins that go from a happy, Active add-in to a sad, unused Inactive add-in.
    If I have a user who's add-in is getting disabled and they get prompted in their client with the "Add-in problem:  A problem was detected with an add-in and it has been disabled.  [View disabled add-ins...]" the solution is simple enough,
    view those add-ins and if the one you are having trouble with is there, click the option to "Always enable this add-in"
    The trouble I'm having is that not every user gets that prompt for some reason.  And we're seeing a few users who are losing their room finder because the Microsoft Exchange Add-in is being disabled. 
    So.. if I have a "good" user who gets the warning, it's a matter of enabling their add-in and restarting the client, when it disables it again they get the prompt and we just tell it not to disable.  The "bad" users however we enable
    and restart and they never see the warning/option to always enable.  We can enable the add-in again, but for these select few, it keeps disabling them without saying a word.
    I guess my 2 big questions are:
    1- Why doesn't that option show up for everybody?  I'd like to be able to tell our support teams here to cue in on that prompt after enabling, but when it isn't there consistently it is not an effective solution.
    2 - Where or how could I manually have that on the list of add-ins we never disable?  I have found a few mentions of the registry settings, but nothing I see in my registry leads me to believe it will be a simple "find the Microsoft Exchange Add-in"
    setting and change the value X to Y and you are done.  
    I'd like to figure out where to point the user / support to toggle it on their own and I have seen mention of a button under File - that lets you see disabled add-ins, but I don't see that in my client (Outlook 2013 and I'm on the latest) and while a registry
    fix might work, it's not very end user driven or ideal.. but I'd take that over nothing.

    Hi,
    I'm not sure why the option doesn't show up for everybody, however, if you want to specify which add-ins are always enabled, we can use the Outlook Group Policy template (Outlk15.admx) to set the Group Policy option:
    List of managed add-ins.
    The policy is under:
    User Configuration\Administrative Templates\Microsoft Outlook 2013\Miscellaneous
    You will need to find the programmatic identifier (ProgID) for COM add-ins. To obtain the ProgID for an add-in, use Registry Editor on the client computer where the add-in is installed to locate key names under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\Outlook\Addins
    or HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\Outlook\Addins.
    For more information, please refer:
    Plan feature customizations in Outlook 2013
    http://technet.microsoft.com/en-us/library/ff631135.aspx
    Use Group Policy to enforce Office 2010 settings
    http://technet.microsoft.com/en-us/library/cc179081(v=office.14).aspx
    Note: This link is for Office 2010, but it also applies to Office 2013.
    Hope this helps.
    Regards,
    Steve Fan
    Forum Support
    Come back and mark the replies as answers if they help and unmark them if they provide no help.
    If you have any feedback on our support, please click
    here

  • Outlook add in prevents mails from being sent

    I have installed iCloud 2.0 on my work PC which works with an exchange account. Intermittenly mails will stay in my outbox and not be sent.
    On clicking send, the mail goes to the outbox but doesn't have the proper icon, it still has the "draft" icon and will not send. When I disable the iCloud add-in within outlook, the mails will send fine. Is apple aware if this issue? I read in a few places other people also have the issue and does anyone have a fix for this ?

    This is 100% an issue.  Very annoying.  Glad I found this thread.  Thanks.
    Here is how to remove the add in:
    http://blog.techhit.com/55637-how-to-find-and-disable-outlook-2010-add-ins-and-p lugins
    Disabling unnecessary plugins is a great way to make your Outlook start faster, run more reliably, take less memory. In Outlook 2010 Add-ins are listed under “File Tab->Options->Addins”.
    To Disable Outlook 2010 COM Add-ins
    Select “COM Add-ins” in the Manage drop-down at the bottom of the ”Options->Addins” window and click “Go”. Note: To get to the Options window, click on the File tab first.
    Uncheck any add-ins that you are not using.
    Click OK.
    You may have to restart Outlook; although I didn't.

  • Since iCloud Control Panel 3 update, cannot enable Outlook add-in...Outlook crashes

    I have been using the iCloud integration for some time now with my Outlook 2010 on a Windows 7 PC. Since I did the recent upgrade to the iCloud control panel to the latest version 3.0, I can no longer use the integration. I have gone through all of the recommendations I could find on the subject, to no avail.
    I have go to the add-ins center on Outlook, and have found the iCloud add-in has been disabled. I then re-enable it. I re-start Outlook, and get a crash message. I close it, then try to re-open Outlook. I get the message that the add-in is causing Outlook to not work, and am asked if I want to disable the add-in. If I select 'no', then I get another crash. I continue this, and eventually, I decide to check 'yes'. Outlook then works fine, but, of course, no iCloud integration. I have tried to sign out of iCloud, and back in (while Outlook is not running), bur ir does not help. I have tried unistalling iCloud control panel and re-installing it from a fresh download. Again, no luck.
    I have tried to find an older version of the control panel to see if I can get back to where I was before the update, but cannot find it anywhere.
    From the number of things I see on my web searches, this seems to be a common problem, but noone seems to have a good answer.
    I am running an Ipad2 and an iPhone 4s on iCloud, as well as my desktop PC with Outlook. I really need to keep all my calendars and contacts sunk up via iCloud so I am not constantly trying to juggle schedules, etc.
    I would appreciate any advice to help resolve this issue.
    Thanks.

    I have been using the iCloud integration for some time now with my Outlook 2010 on a Windows 7 PC. Since I did the recent upgrade to the iCloud control panel to the latest version 3.0, I can no longer use the integration. I have gone through all of the recommendations I could find on the subject, to no avail.
    I have go to the add-ins center on Outlook, and have found the iCloud add-in has been disabled. I then re-enable it. I re-start Outlook, and get a crash message. I close it, then try to re-open Outlook. I get the message that the add-in is causing Outlook to not work, and am asked if I want to disable the add-in. If I select 'no', then I get another crash. I continue this, and eventually, I decide to check 'yes'. Outlook then works fine, but, of course, no iCloud integration. I have tried to sign out of iCloud, and back in (while Outlook is not running), bur ir does not help. I have tried unistalling iCloud control panel and re-installing it from a fresh download. Again, no luck.
    I have tried to find an older version of the control panel to see if I can get back to where I was before the update, but cannot find it anywhere.
    From the number of things I see on my web searches, this seems to be a common problem, but noone seems to have a good answer.
    I am running an Ipad2 and an iPhone 4s on iCloud, as well as my desktop PC with Outlook. I really need to keep all my calendars and contacts sunk up via iCloud so I am not constantly trying to juggle schedules, etc.
    I would appreciate any advice to help resolve this issue.
    Thanks.

  • Outlook Add-in becomes Inactive randomly

    Hi
    We have created a VSTO Add-in for Outlook.  The add-in is intended as a plugin so that the other third parties can write their own "providers" that our addin can utilize.  As an example the add-in shows a grid of Items.  Anybody
    can write a "provider" and display their own items in our grid.
    To do this our add-in in made up of a three projects. core , common and library. The Library contains the public interfaces.
    At run time the add-in uses MEF to load any provider assemblies.
    This has been working quite successfully at numerous client sites with many users for some time.  However last month a client reported that when they start Outlook the Add-in was going inactive.  No attempts to re-active it would work it always
    went back to inactive.
    We turned on VSTO_SUPRESSDISPLAYALERTS and found that the issue seemed to be because the assemblies were not being loaded when the Add-in initialized.
    Checking the assemblies that were being dynamically loaded we found that two of them were unsigned.  We subsequently signed the assemblies, re-applied and everything worked.
    So far so good.  We patted ourselves on the back and made the assumption that some MS security Patch had been applied that stopped unsigned assemblies from being loaded at run time.
    We could not however replicate the issue in house , not could we find the patch that might have caused the issue.
    The problem however continues....
    Our installations team took a draconian approach to this issue and started installing the signed assemblies on all our customer sites regardless of whether or not they had the original issue.
    For most clients everything was fine.  The add-in worked with or without the signed assemblies.  However at one client site on a number of users pc's the add-in was still inactive.  removing the signed assemblies and putting back the unsigned
    assemblies resolved the issue.  To say this is weird is an understatement. The complete opposite behavior.
    Now this week they have reported another user has suddenly found the add-in is inactive and using neither the signed nor unsigned assemblies works.
    We are at a complete loss what to look for next.
    To summarize.
    Our add-in dynamically loads assemblies at run time using MEF
    It was working fine at all sites until recently.
    Add-in randomly becomes inactive and cannot be re-activated either manually or through the registry.
    Signing the Assemblies works at most sites
    At one site unsigned assemblies work and signed assemblies do not
    At the same site one user reports neither set of assemblies will activate.
    We have run Caspol and cannot see anything amiss
    We have used Caspol to apply Full Trust - no affect
    We can not replicate in house
    Things we are trying
    Machine comparisons between working and non working pc's
    Removal of all other add-ins
      If anyone has any other suggestions what could be causing such behavior it would be much appreciated.
    Nick

    Hello Nick,
    I do not believe the issue depends on the signed/unsigned assemblies. Check out the Trust center settings to make sure that Macro security settings are not applied to add-ins. Also pay special attention to the Trusted Publishers list.
    Anyway, Microsoft Office applications can disable add-ins that behave unexpectedly. If an application does not load your add-in, the application might have hard disabled or soft disabled your add-in.
    Hard disabling can occur when an add-in causes the application to close unexpectedly. It might also occur on your development computer if you stop the debugger while the Startup event
    handler in your add-in is executing.
    Soft disabling can occur when an add-in produces an error that does not cause the application to unexpectedly close. For example, an application might soft disable an add-in if it throws an unhandled exception while the Startup event
    handler is executing.
    When you re-enable a soft-disabled add-in, the application immediately attempts to load the add-in. If the problem that initially caused the application to soft disable the add-in has not been fixed, the application will soft disable the add-in
    again.
    You can read more about that in the
    How to: Re-enable an Add-in That Has Been Disabled article in MSDN. Most probably the add-in fires an exception at runtime and Outlook disables the add-in silently.
    Also pay special attention to the
    Performance criteria for keeping add-ins enabled . Outlook 2013 monitors add-in performance metrics such as add-in startup, shutdown, folder switch, item open, and invoke frequency. Outlook records the elapsed time in milliseconds for each performance monitoring
    metric.
    For example, the startup metric measures the time required by each connected add-in during Outlook startup. Outlook then computes the median startup time over 5 successive iterations. If the median startup time exceeds 1000 milliseconds (1 second),
    then Outlook disables the add-in and displays a notification to the user that an add-in has been disabled. The user has the option of always enabling the add-in, in which case Outlook will not disable the add-in even if the add-in exceeds the 1000 millisecond
    performance threshold

Maybe you are looking for