[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


Script to remove a specific item from Outlook's Add-In Manager

Posted on 2011-04-26
Medium Priority
Last Modified: 2013-12-09
Hello everyone,  I've been tasked to upgrade Symantec Antivirus 10.0 to Symantec Endpoint Protection.  I would like to create a script to so that when the install completes users will not get the error message: The add-in "C:\Program Files\Symantec Antivirus\vpmsece4.dll" could not be installed or loaded.  This problem may be resolved by using Detect and Repair on the Help menu.

I know this error message occurs because uninstalling SAV will leave the hook in Outlook and it has to manually be removed.  But if someone knows of a script that can be applied to remove that add-in it would be much appreciated as this has to be done to 30 machines inside of a 2000+ domain.
Question by:MacGyver80
  • 3
  • 2
LVL 12

Expert Comment

ID: 35469566
Make sure Outlook isn't running before uninstalling SAV. You'll also want to make sure MigrateSettings=0 in the setaid.ini file of the SEP package.

Author Comment

ID: 35469663
Here the skinny of it...I've successfully upgraded a few machines just by running the installer for SEP and everything works fine except that pesky error message and the manual removal of the SAV Add-in for Outlook.  Would setting the MigrateSetting=0 stop that from happening?

Author Comment

ID: 35469683
...also Outlook was closed but still got the error message upon launch of Outlook
LVL 12

Accepted Solution

jmlamb earned 1500 total points
ID: 35471892
SEP is supposed to remove that add-in regardless, but the MigrateSettings=0 setting is always advised when migrating from the legacy client since there are many aspects of it that don't migrate successfully to SEP.

Here's a KB article on what can be done to resolve the issue: http://www.symantec.com/business/support/index?page=content&id=TECH123570&actp=search&viewlocale=en_US&searchid=1299522364338

Option 1 is your best bet to do it programatically. You can add a single line of code to your logon.bat/vbs/exe/etc file to remove extend.dat when users logon.

Author Closing Comment

ID: 35516049
Thanks for the assistance.  It worked like a charm.


Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes how to import Lotus Notes Contacts into Outlook 2016, 2013, 2010 and 2007 etc. with a few manual steps. You can easily export and migrate Lotus Notes contacts into Microsoft Outlook without having to use any third party tools.
Mailbox Corruption is a nightmare every Exchange DBA wishes he never has. Recovering from it can be super-hectic if not entirely futile. And though techniques like the New-MailboxRepairRequest cmdlet have been designed to help with fixing minor corr…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
As many of you are aware about Scanpst.exe utility which is owned by Microsoft itself to repair inaccessible or damaged PST files, but the question is do you really think Scanpst.exe is capable to repair all sorts of PST related corruption issues?
Suggested Courses

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question