Modify Outlook (2000-2003) mail profile via code

Posted on 2006-11-15
Medium Priority
Last Modified: 2012-05-05
Hi All,

I need to modify several dozen outlook mail profiles.  i only need to change one option - check the box 'Leave copy of message on server'

how can i do this?  is it a registry entry or in an ini file?
i'd prefer not to have to sit down at each machine and do this.

any suggestions?

Question by:sgaggerj
  • 2
LVL 67

Accepted Solution

sirbounty earned 2000 total points
ID: 17953238
Hmm - looks like if you can identify the profile, you may be able to do it simply by adding to the registry.

Look in
HKCU\Software\Microsoft\Windows NT\Current Version\Windows Messaging Subsystem\Profiles\Outlook\<ProfileString>
Data: Leave On Server
Value: 655361

at least during my test it was...

Check that key and see what options are available for you under Outlook...

Author Comment

ID: 17953680
yup that was the right place to start!
already got the program written, just gotta add it to the login script!


LVL 67

Expert Comment

ID: 17953694
Glad to hear it.
Out of curiosity - how are you going to grab the profile info?  Or is it the same for each user?
Seemed a bit cryptic to me, but I couldn't find a way to relate it to anything significant (as with a SID)...

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

624 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question