20 April 2010

Disable 'programmatic access' security in Outlook

When certain software uses MAPI to send an email via Outlook, a warning message appears. Fair enough - the likelihood that the average Windows computer is infected with spam-generating malware is pretty high. So be thankful, dear user, that the message also has an in-built delay, preventing you from closing the dialog window until Microsoft decides you're ready. It's also in your best interests that the warning appears every fucking time.

Perhaps the friendly Trust Center will let us disable the warning? Sure - but only if you're the administrator. Then perhaps the Outlook Group Policy object will let us disable the warning? The option's there - but it doesn't work.

Who can save us from this mess? Yep. You've probably got a shortcut key set up for it by now.

HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\12.0\Outlook\Security

(12 is for Outlook 2007. Change it to 14 for Outlook 2010, 15 for Outlook 2013 etc.)

For each user, create DWORDs here with the value "2" and names as follows:

PromptSimpleMAPISend
PromptSimpleMAPINameResolve
PromptSimpleMAPIOpenMessage

e.g.:


Credit to trafsta (yes, you have to register - no, don't bother).

28 comments:

  1. After A DAY of researches, the first and only working solution :-)
    Thank you!!!!

    ReplyDelete
  2. AWESOME!! Thanks a lot!! :) :)

    ReplyDelete
  3. Can you better explain this workaround please having trouble with it.

    ReplyDelete
    Replies
    1. Open Registry Editor, navigate to the key, create the DWORDs and assign them the value.

      If you don't know what the Registry Editor is or aren't comfortable using it, ask a friend or do a web search for "how to use registry editor".

      Delete
  4. Hi, Does this work for outlook 2003 as well, Dont have the HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\11.0\Outlook\Security key.
    has anyone found a work around for 2003

    ReplyDelete
    Replies
    1. HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Outlook\Security

      Delete
  5. Awesome, can't believe I finally found the fix to this!

    ReplyDelete
  6. YOU GUYS ARE AMAZING!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! I can't believe this actually works!

    ReplyDelete
  7. does not work for me :( I am on win server 2008

    ReplyDelete
  8. Just saved my life.... thanks a lot !!!!

    ReplyDelete
  9. Thanks !!!!
    HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\14.0\Outlook\Security

    ReplyDelete
  10. It's not working with my Outlook 2010 for some reason. I added the DWORD values under

    HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\14.0\Outlook\Security

    DWORD (32)

    PromptSimpleMAPINameResolve 2
    PromptSimpleMAPIOpenMessage 2
    PromptSimpleMAPISend 2

    And I am still getting the prompts. What am I missing?

    ReplyDelete
    Replies
    1. You may need to add another DWORD called "AdminSecurityMode" with the value "3".

      You may need to try under HKEY_CURRENT_USER\Software\Wow6432Node\Microsoft\Office\14.0\Outlook\Security

      You may need to try restarting your PC (sometimes Outlook continues to run in the background, so it won't pick up these changes).

      Delete
  11. Can you tell me what I need to do to fix this in outlook 2016? Thankyou in advance for your time

    ReplyDelete
    Replies
    1. You may need to try under HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\16.0\Outlook\Security

      You may need to try under HKEY_CURRENT_USER\Software\Wow6432Node\Microsoft\Office\16.0\Outlook\Security

      You may need to add another DWORD called "AdminSecurityMode" with the value "3".

      You may need to add another DWORD called "ObjectModelGuard" with the value "2".

      You may need to add another DWORD called "PromptOOMSend" with the value "2".

      Delete
  12. I have tried with 2016.
    DOesn't work for me!

    ReplyDelete
    Replies
    1. I'm sorry it's not working for you. All I can say is what does work for me, using the following:

      Microsoft Outlook 2016 32-bit
      Microsoft Windows Server 2012 R2
      MYOB AccountRight Premier v19.12

      Adding the 3 values (PromptSimpleMAPISend, PromptSimpleMAPINameResolve, PromptSimpleMAPIOpenMessage) to the registry here:

      HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\16.0\Outlook\Security

      After this, Outlook no longer prompted the "Allow/Deny" window for each email sent from it.

      Delete
  13. Hi,

    Must the values be in Hex or Dec for the below ?

    For each user, create DWORDs here with the value "2" and names as follows:

    PromptSimpleMAPISend
    PromptSimpleMAPINameResolve
    PromptSimpleMAPIOpenMessage


    ReplyDelete
    Replies
    1. Either - 2 is the same in hexadecimal and decimal.

      Delete
  14. Thank you for your time, this works great. i have tried so many other suggested fixes, I am constantly amazed by people putting up fixes to problems such as this one that simply Dont work.

    ReplyDelete
  15. working for me . Thanks for the fix !

    ReplyDelete
  16. This worked great! well done OP! Many thanks!!

    ReplyDelete
  17. Not working in outlook 2007 ..kindly help

    ReplyDelete
    Replies
    1. Probably time you upgraded - Outlook 2007 is End of Life.

      Delete
  18. Same here: Worked perfect Thxalot

    ReplyDelete
  19. Could U send me a sample with Delphi Tregistry ?
    THZ

    ReplyDelete