How to stop the Outlook “A program is trying to access” pop-up messages

Outlook: "Un programma sta tentando di..." - come risolvere

If you use Microsoft Outlook and installed at least an add-in, third-party component or any other mail-related software I bet you are familiar with either the following message:

A program is trying to access e-mail address information stored in Outlook. If this is unexpected, click Deny and verify your antivirus software is up-to-date.

or this one:

A program is trying to send an e-mail message on your behalf. If this is unexpected, click Deny and verify your antivirus software is up-to-date.

or maybe this other one:

A program is trying to perform an action that may result in an e-mail message being sent on your behalf. If this is unexpected, click Deny and verify your antivirus software is up-to-date.

All these messages are generated by the Outlook E-mail Security settings (starting from Outlook 2000). This security update affects how other applications interact with Outlook by changing the default security zone settings from “Internet” to “restricted”. The popup will allow you to suppress the warning, but only for a small amount of time (usually 10 minutes).

outlook-security-popup

If you want to permanently disable these popup messages you have basically two options: doing that on global basis – only if you’re using Microsoft Exchange Server to handle the mail process – or to that on each specific client.

To configure the security warning globally you can alter the default configuration settings as explained here (for Exchange 2010 and below) and here (for Exchange 2013 and above).

If you prefer to fix the issue on each specific client, you need to do is to check the client’s Outlook version and act accordingly.

Outlook 2013

If you can run Outlook with administrative rights, you can do it through the Outlook options panel:

  • Right-click on the Outlook shortcut holding the SHIFT key and choose Run as administrator
  • Go to File > Options > Trust Center > Programmatic Access
  • Set the programmatic access to Never warn me about suspicious activity (not recommended)

outlook-programmatic-access

IMPORTANT NOTE: If these option are greyed out, it usually means that you didn’t run Outlook with administrative rights.

As an alternative way, you can achieve the same result by altering your registry file in the following way:

  • Navigate through   (create the key if it doesn’t exist)
  • Add the following DWORD item:
    •  , with a value of 1.
    •  , with a value of 3.
    •  , with a value of 2.
    •  , with a value of 2.
    •  , with a value of 2.
    •  , with a value of 2.
    •  , with a value of 2.
    •  , with a value of 2.
    •  , with a value of 2.
    •  , with a value of 2.
  • Navigate through   (create the key if it doesn’t exist)
  • Add the following DWORD items:
    •  , with a value of 1.
    •  , with a value of 3.
    •  , with a value of 2.
    •  , with a value of 2.
    •  , with a value of 2.
    •  , with a value of 2.
    •  , with a value of 2.
    •  , with a value of 2.
    •  , with a value of 2.
    •  , with a value of 2.

For a complete listing of all these switch, with full explanation of their values, you can read the following Microsoft KB article.

Outlook 2010

Follow the same instruction for Outlook 2013: if you plan to alter the Registry settings, replace the 15.0 part of both keys with 14.0.

Outlook 2007

Follow the same instruction for Outlook 2013/2010 with the following differences:

  • If you go for the Options menu, the path is slightly different: Tools > Trust Center > Programmatic Access
  • If you plan to alter the Registry settings, replace the 15.0 part of both keys with 12.0

 Outlook < 2007

Unfortunately, the Trust Center > Programmatic Access is not available on the older versions of Outlook – and the registry key method won’t work either. If you are still using these, the best thing you can do is to get a very useful freeware tool called “Express ClickYes“, which does nothing less than automatically and istantly clicking the YES button every time the popup shows itself. You can get it from its official download page.

 

 

 

 

 

RELATED POSTS

About Ryan

IT Project Manager, Web Interface Architect and Lead Developer for many high-traffic web sites & services hosted in Italy and Europe. Since 2010 it's also a lead designer for many App and games for Android, iOS and Windows Phone mobile devices for a number of italian companies.

View all posts by Ryan