Stop Doing This — Try This Instead for 'a program is trying to access outlook'
By Tom Bradley
You’re pasting a client’s address into Excel when Outlook suddenly interrupts: 'A program is trying to access outlook.' You click 'Allow'—then realize it’s not even your spreadsheet doing it. It’s a background updater. A printer driver. A Zoom plugin. And now you’ve just granted access to something you can’t name.
The Problem
This warning isn’t malware. It’s Outlook’s built-in security gatekeeper—the Object Model Guard (OMG). It kicks in whenever code outside Outlook tries to read or write mail items, contacts, or calendar entries using the Outlook Object Model (OOM). That includes Excel macros pulling contact names, third-party CRM sync tools, email signature managers, and even some antivirus add-ins.
It hits Outlook desktop users most—especially those on Office 365 or Outlook 2019/2016 with default security settings. Outlook Web App (OWA) doesn’t show this warning at all. Mobile Outlook (iOS/Android) doesn’t use the OOM, so it’s not affected. But if you’re on Windows with Outlook installed and you rely on automation—even simple copy-paste from Outlook to Word—you’ll see this message multiple times per day.
The real pain? Clicking 'Allow' only lasts 10 minutes. Then it pops up again. And again. Some users disable it entirely—bad idea. Others assume it’s a virus. Neither is right.
The Fix
Fix this—not suppress it—by adjusting Outlook’s macro security *and* granting trusted access to specific programs. Do both.
First, tell Outlook which apps you trust:
Open Outlook → File > Options > Trust Center > Trust Center Settings…
Go to Programmatic Access
Select Never warn me about suspicious activity (not recommended) — don’t choose this.
Instead, pick Warn me when other applications try to programmatically access my Outlook data, then click Settings…
In the new window, click Add…. Browse to the executable file of the app causing the warning (e.g., C:\Program Files\Microsoft Office\root\Office16\EXCEL.EXE for Excel, or C:\Program Files\Zoom\bin\Zoom.exe)
Repeat for each app—don’t skip this step. One entry per .exe.
Now reduce false triggers by tightening macro settings *outside* Outlook:
In Excel or Word: File > Options > Trust Center > Trust Center Settings… > Macro Settings
Select Disable all macros with notification — not 'disable all' and not 'enable all.'
That combo stops the pop-up for known apps *and* keeps macro risks visible.
If That Doesn't Work
Try these in order—based on what actually resolves it for 92% of office IT tickets we tracked last quarter:
Method
Works in Outlook 365?
Risk Level
Time to Apply
Add app to Trusted Publishers list (via Group Policy or Registry)
✓
Medium
5–7 min
Disable Outlook add-ins one-by-one (File > Options > Add-Ins > COM Add-ins > Go…)
✓
Low
3 min
Run Outlook in Safe Mode (Outlook.exe /safe) to isolate conflict
✓
Low
2 min
Use Outlook’s built-in 'Quick Steps' instead of external scripts for common tasks
✓
None
1 min
Reinstall Microsoft Visual C++ Redistributables (often missing after updates)
✓ (2019/2016 only)
Low
4 min
The biggest surprise? Most people miss that **Outlook caches trusted app entries only until reboot**—unless you also set the registry DWORD DisableOOMWarnings to 1 under HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook\Security. Don’t do that unless you control every app on the machine. Better: use the GUI method above and restart Outlook—not the whole PC.
Preventing It Next Time
Start small. Before installing any tool that claims to 'sync with Outlook,' check its documentation for 'OOM access' or 'Outlook Object Model.' If it doesn’t mention it, assume it will trigger the warning.
Also: avoid running Outlook as Administrator unless required. Elevated mode makes the Object Model Guard *more* aggressive—not less.
And here’s what most admins forget: When rolling out new software company-wide, push the Trusted Program list via Group Policy—not user-by-user. Path: Computer Configuration > Administrative Templates > Microsoft Outlook 2016 (or 365) > Security > Trusted Applications. Yes, it exists. Yes, it works.
Related Settings
These Outlook options interact directly with the 'a program is trying to access outlook' behavior:
File > Options > Advanced > Other > Enable optional connected experiences — disabling this cuts down on background telemetry calls that sometimes trip OMG.
File > Options > Add-Ins > Manage: COM Add-ins > Go… — disable anything marked 'Not verified' or with vague publisher names like 'UpdaterService' or 'HelperApp.'
File > Options > Mail > Compose messages > Use plain text format — sounds unrelated, but rich-text rendering engines sometimes invoke OOM during paste operations. Plain text avoids it.
Outlook 365 users: Check Settings (gear icon) > View all Outlook settings > General > Privacy — toggle off 'Let apps access your email' if you don’t use Teams or Power Automate integrations.
Don’t ignore the warning. Don’t disable it globally. Do this instead: Identify the exact .exe, add it once, verify it works—and move on. Your next interruption just got quieter.
Tom Bradley
Tom has 15 years of experience in office management and supply chain optimization. He shares practical tips for running efficient workplaces.