INFO: MAPI Is the Only Way to Programmatically Change Profiles

Article translations Article translations
Article ID: 266352 - View products that this article applies to.
This article was previously published under Q266352
Expand all | Collapse all


The only supported way to modify MAPI profiles programmatically is through Extended MAPI. The values that are written into the registry by MAPI are not documented, and direct manipulation of these values through the registry application programming interfaces (APIs) is not supported.

More information

The keys and values that make up a profile are dependent on the various providers that comprise the profile. Because providers are not compelled to document the properties that they write or their relationship to each other, modifying these values directly can have unpredictable, adverse effects.


For information and samples on profile manipulation through MAPI, see the following articles in the Microsoft Knowledge Base:
228736 SAMPLE: Profman2.exe - MAPI Profile Manager v2.0
170225 HOWTO: Modify Settings of MS Exchange Transport Provider
188482 HOWTO: Open the Global Profile Section
180233 HOWTO: Programmatically Find the Default MAPI Profile
171636 HOWTO: Add an Additional Mailbox to a MAPI Profile


Article ID: 266352 - Last Review: November 20, 2012 - Revision: 2.0
Applies to
  • Microsoft Office Outlook 2007
  • Microsoft Messaging Application Programming Interface
  • Microsoft Outlook 2010
  • Microsoft Outlook 2013
kbinfo kbmsg KB266352

Give Feedback


Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from