Preventing of Security Warnings in Outlook Part 2 of 2

Damir Dobric Posts

Next talks:

 

    

Follow me on Twitter: #ddobric



 

 

Archives

Since release of Outlook 2010, developers have no more possibility to use use CDO and related libraries. For long time, these libraries have been smart simplification of MAPI, which is known as very complex and developer unfriendly. More over since release of Exchange 2010, support for WebDav has also been deprecated.
The new way of programming of server components is now Exchange Web Service EWS and Outlook Object Model (the same name as in past) which is now quite simplified in Visual Studio 2010.

Problems and one possible solution related to this feature are described in my previous post.

In this post I will describe how to prevent security warning popups by using of a much smoother way.
Before one do this, be sure, that I recommend it for advanced users only, because changes described in this post will allow potential viruses to access you private data in the address book!!!

1. Go to Outlook Options
image

2. Select Customize Ribbon and add Developer Command Item in ribbon.

image

3. Select Developer Command Item and click “Macro Security”

image

4. Select “Programmatic Access” and choose “Never warn me about …”

image

And at the and the registry key which can be changed to disable the Guard Model:

HKLM\Software\Microsoft\Office\14.0\Outlook\Security

The value of type REG_DWORD with name ObjectModelGuard takes values 0, 1 and 2, which corresponds to three radio buttons on the previous picture respectively.

Cheers

Damir


Posted Jul 30 2010, 11:18 AM by Damir Dobric

Comments

Cham wrote re: Preventing of Security Warnings in Outlook Part 2 of 2
on 01-31-2012 3:52

What about Outlook 2010 x64. This registry key is not available there.

Rob wrote re: Preventing of Security Warnings in Outlook Part 2 of 2
on 05-09-2012 18:39

"What about Outlook 2010 x64. This registry key is not available there.

I just added the key and it seems to work.

Elena wrote re: Preventing of Security Warnings in Outlook Part 2 of 2
on 10-31-2012 14:00

Thanks a lot, I had spent 2 hours trying to find the solution and now it works with Windows 2008 R2 and Office 2007

developers.de is a .Net Community Blog powered by daenet GmbH.