Solved

Modify Outlook (2000-2003) mail profile via code

Posted on 2006-11-15
3
181 Views
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?

J
0
Comment
Question by:sgaggerj
  • 2
3 Comments
 
LVL 67

Accepted Solution

by:
sirbounty earned 500 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...
0
 
LVL 1

Author Comment

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

thanks!

J
0
 
LVL 67

Expert Comment

by:sirbounty
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)...
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

705 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now