Change Outlook's Programmatic Access Options

Last reviewed on October 3, 2013

Please note that the advice on this page reduces Outlook's security level and could leave you open to an exploit that takes over Outlook and sends mail on your behalf. We highly recommend you use up-to-date antivirus software that Outlook can detect and leave these settings alone.

But, when all else fails... there is a way to disable the programmatic access warning in Outlook 2007 and up.

How can I change the programmatic access options. They are greyed out and I cannot change them. I have an application that sends email out. I have to click on the allow/deny for each email. I want to be able to turn this off and on so I can avoid this message.

Programmatic Access options are disabled

These settings are only enabled if the current user is an administrator on the computer. Non-administrator users can see the current setting but will not be able to change it. Programmatic Access settings can also be controlled through Group Policy.

Run Outlook as Administrator

Open Outlook using Run as administratorNote: To change the Programmatic Access setting in Outlook's Trust Center, you need to run Outlook as an Administrator. You only need run as administrator one time, and once you make the change it will be in effect for all Outlook profiles on the computer.

To do this in Windows 7 and older, right click on the Outlook shortcut and choose Run as Administrator from the menu. If you don't see Run as Administrator listed as an option, hold Ctrl+Shift as you right click on the Outlook shortcut.

If using Windows 8's Start screen, right click and choose Run as Administrator from the taskbar. When Outlook is pinned to the desktop Taskbar, hold Ctrl+Shift and right click on the Taskbar icon.

After Outlook loads, go to Tools, Trust Center (Outlook 2007) or File, Options, Trust Center (Outlook 2010 and up) and change the Programmatic Access setting.

The next time you re-start Outlook, start it in "normal" mode.

Edit the programmatic access settings

Edit the Registry

If you prefer to edit the registry instead, you need to add the following key to the registry (create the key if it doesn't exist).

Outlook 2013

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\15.0\Outlook\Security
DWORD: ObjectModelGuard
Value: 2

You can also set the keys below. As always, if the keys don't exist in the registry, you'll need to create them.

HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\15.0\outlook\security
DWORD: PromptOOMSend
Value: 2
DWORD: AdminSecurityMode
Value: 3

Outlook 2010

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\14.0\Outlook\Security
DWORD: ObjectModelGuard
Value: 2

You can also set the keys below. As always, if the keys don't exist in the registry, you'll need to create them.

HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\14.0\outlook\security
DWORD: PromptOOMSend
Value: 2
DWORD: AdminSecurityMode
Value: 3

Outlook 2007
If you are using Outlook 2007, the keys are as follows.

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\12.0\Outlook\Security
DWORD: ObjectModelGuard
Value: 2

HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\12.0\outlook\security
DWORD: PromptOOMSend
Value: 2
DWORD: AdminSecurityMode
Value: 3

Do It For Me

If you don't want to use Run as Administrator or Edit the registry, we have the following registry files you can download and run. These files set the values in both keys.

Double click to run the registry file.

Outlook 2013 Outlook 2010 Outlook 2007

Note that you may need to right click and use Save as (or Save Link as in Firefox) - make sure the file extension is .reg.

Written by

Diane Poremsky
A Microsoft Outlook Most Valuable Professional (MVP) since 1999, Diane is the author of several books, including Outlook 2013 Absolute Beginners Book. She also created video training CDs and online training classes for Microsoft Outlook. You can find her helping people online in Outlook Forums as well as in the Microsoft Answers and TechNet forums.

Please post long or more complicated questions at Outlookforums.

25 responses to “Change Outlook's Programmatic Access Options”

  1. zengmin

    I,m using the outlook 2007, I have done as you have told , but the Programmatic Access Options is still unenable

  2. Clive

    Our company uses an accounting package which has a function that emails monthly statements - However, Outlook asks for permission to send each and every individual email, requiring the user to sit and click "allow" hundreds of times. I have tried the above-mentioned recommendations, but no joy...

    Workstation-
    Windows 7 - latest update
    Outlook 2007 - latest update
    Accounting package - MYOB premier

    Server -
    SBS 2011

    Logged into the workstation as administrator.
    The programatic access option in Trust Centre is available - I have selected the 3rd option.
    I have run the registry files you provide.
    Rebooted the workstation.

    Is there something on SBS that could be overiding the settings?

    Any advice or info would be greatly appreciated. Thanks in advance.

  3. Clive

    Thanks for the quick response Diane.

    I installed ClickYes Pro and it works seamlessly. Absolutely brilliant! I cant believe how much time i wasted on this when an application was readily available for purchase.

    Again, thanks!

  4. David

    Hi Diane,

    The systems admin and myself have tried turning off the warnings via Outlook, Public Folders Security, Group Policy and registry edits (including the ones you listed above) and we still get the warning coming up.

    Our environment is Windows 7 and Outlook 2010 (also happened on XP running Outlook 2010) - running as a user or local admin

    We're at a loss as to why it is still happening, so any advice or URL's (maybe a windows KB article that's hidden away somewhere) would be great.

    Trying to find an option that wont require the purchase of third party software if we can help it...

    kind regards,

    -david

  5. HS

    Thanks for the registry fix. Worked like a charm. :)

  6. OARS

    We tried the registry changes and they didn't make a difference. But, we did find the following software (in Polish) that DOES work!

    Outlook Warning Doctor from Code Two:
    http://www.codetwo.pl/freeware/outlook-warningdoctor/

  7. Vowani

    These warnings started popping up on my system after installing a utility which synchronizes my Outlook Contacts with Google Contacts.

    Fortunately, I found a safe way to eliminate the warnings from Outlook, while keeping it protected from malware. It turned out the warnings wre not caused by that utility itself. They occured because Outlook, for some reason, was not (yet) recognizing my anti-virus program as valid.

    Here's how I solved it.

    1) Open Outlook 2010, go to "File/Options/Trust Center" menu item, and then click on the "Trust Center Settings" button at the right side of the dialog box.

    2) From there, select the "Programmatic Access" menu item. At the bottom of this dialog, note what your "Antivirus status" is. If it is "Invalid" then close Outlook, navigate to where its "OUTLOOK" program icon is on your disk (typically it sits in the "Program Files (x86)/Microsoft Office" folder), and then right-click this icon and select "Run as administrator" from the pop-up-menu. If you get a warning, then select "allow" or "yes" to continue.

    3) Then in Outlook, go back to Programmatic Access as described above, and you should see your antivirus status updated to "valid" (assuming you have an up-to-date antivirus program on your computer).

    4) Exit Outlook. Then open it the way you usually do. The warnings should now be gone.

    This way, your Outlook application will be protected from malware, and you should no longer see warnings when other applications try to access Outlook.

  8. John

    If its on 2008, go to c:\Program Files (x86)\Microsoft Office\Office12\OUTLOOK.EXE, right click on outlook.exe and click Runas Adminstrator.. then you change the settings in Trust centre.. it worked for me

  9. Vikas

    Hello,

    Can we set password for outlook rules and alert settings???

    Please let me know.

    Thanks in advance.

    Regards,
    Vikas

  10. Adev

    Excellent thx it worked very well for me.

  11. Prashant

    Hi, I have tried suggested option. (Run As Administrator and change the options to "Never Warn me...". But when I am running as normal user, still the change is not applied, and it is disable for me and it is not allowing to change any option in it.

    OS: Windows 7 Professional
    Outlook: Office 2007

    looking forward for solution for this.

    Thank you in advance.
    Prashant

  12. bjosephs

    Thanks - that did the trick!

  13. anzoth

    Hi, I'm running Office 2010 and Avast Free Antivirus. The suggested option did not work for me. It is not a work computer (no admin policies). Any suggestions?
    tks,

  14. Lloyd

    worked a treat. thanks!

  15. Anonymous

    How is this done in Outlook 2013? I am not even seeing a "Run As Administrator" option when I right click my Outlook 2013 icon and the registry key used in Outlook 2010 appears to not exist in Outlook 2013.

  16. Eduardo Fernandez

    Hey Diane, I really appreciate this post but didn't work for me. I already got the final solution for this and it's working for all Outlook versions.

    You will need to add 3 new reg in the following REGEDIT path:

    HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\(Your outlook version)\Outlook\Security

    Inside Security you must add or modify :
    o PromptSimpleMAPISend
    o PromptSimpleMAPINameResolve
    o PromptSimpleMAPIOpenMessage

    All of them must are DWORD and have value 2 hex.

    After this you must check the following path :

    HKEY_LOCAL_MACHINE/SOFTWARE /Microsoft/Office/(here you choose your outlook version)/Outlook/Security

    IF the path doesn't exist then create it.

    Inside security must be a DWORD named "ObjectModelGuard" with value 2 hex.

    then restart and try again if the problem persists.

    I have tried this on W.XP & W7.

    Best Regards,

    Eduardo Fernández

  17. paul

    I down loaded the click yes pro- was the fix

    thanx all

  18. Eduardo Fernández

    The bad thing about click yes pro is that If you develop a massive email software sender, the yes click software consumes A LOT of memory and it will click yes for all the responses you will have, imagine if its 1000 mails.

  19. Matei

    thanx man...great info...It was so useful

Leave a Reply

If the Post Coment button disappears, press your Tab key.