One Day Sec

Why does Outlook show a security warning when my MAPI program runs, and how can I disable it?

The warning "A program is trying to send an e-mail message on your behalf" appears when the antivirus software is inactive or expired. To disable it, modify the registry: set `HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\<version>\Outlook\Security\ObjectModelGuard` to `2` (REG_DWORD). For 32-bit Office on 64-bit Windows, use the `Wow6432Node` path. The `<version>` corresponds to the Office version, e.g., 14.0 for Office 2010. This registry change suppresses the prompt for MAPI access.
security warningOutlook MAPIregistry disableObjectModelGuardantivirusOffice version

Browse all Q&A →