Article ID: 266352 - View products that this article applies to.
This article was previously published under Q266352
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.
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:
(http://support.microsoft.com/kb/228736/EN-US/ )SAMPLE: Profman2.exe - MAPI Profile Manager v2.0
(http://support.microsoft.com/kb/170225/EN-US/ )HOWTO: Modify Settings of MS Exchange Transport Provider
(http://support.microsoft.com/kb/188482/EN-US/ )HOWTO: Open the Global Profile Section
(http://support.microsoft.com/kb/180233/EN-US/ )HOWTO: Programmatically Find the Default MAPI Profile
(http://support.microsoft.com/kb/171636/EN-US/ )HOWTO: Add an Additional Mailbox to a MAPI Profile