Wednesday, December 31, 2014

How do I remove the warning message: A program is trying to access data from Outlook, allow this?

How do I remove the warning message: A program is trying to access data from Outlook, allow this?



The Outlook E-mail Security Update changes the way that Outlook can be controlled programmatically, restricted programmatic to Outlook means Outlook will prompt you for permission when any code tries to perform its work.

With restricted programmatic access, you receive warning messages when any program tries to do anything in the following list:

  • Send mail on your behalf
  • Access your address book
  • Access e-mail names from your messages
  • Access e-mail information from your contacts or other types of items
  • Save your messages to the file system
  • Search your messages for content
  • Use the MAPI interface to create and/or send messages


How to disable the security warning in Outlook

You may change the programmatic access options within Outlook 2007/2010/2013 by using the following:

1) Close Outlook, and right-click on the Outlook shortcut to Run Outlook as administrator

2) In Outlook 2010/2013, go to File > Options > Trust Center > Programmatic Access 

     In Outlook 2007, go to Tools > Trust Center > Programmatic Access

3) Set the programmatic access to Never warn me
Please note, a better alternative is to update your anti-virus software


Another option is to edit the Windows Registry on the local machine (you may have to create the registry key if it does not exist)

Outlook 2010

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

You can also set the keys below (create them if they do not exist)

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

DWORD: AdminSecurityMode
Value: 3

Outlook 2007

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



No comments: