Enable and disable cached mode. Any script that can do this for a outlook profile.?

Hi,

Enable and disable cached mode. Any script that can do this for a outlook profile.?

Can anyone help me with a script when run once disabled it and another run enabled it.

Regards
sharath
LVL 11
bsharathAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Glen KnightCommented:
Are you fixed on a script or would a Group Policy suffice?
http://office.microsoft.com/en-us/ork2003/HA011402591033.aspx
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
bsharathAuthor Commented:
I want a script only
reason is to send them to each user to disable first and then do an task and then enable it back
0
AkhaterCommented:
it would help if you could share the outlook version you are using

Cached Exchange Mode  is controlled by the following key;
[HKCU\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\<ProfileName>\13dbb0c8aa05101a9bb000aa002fc45a]

00036601     (REG_BINARY)

enabled value;  84 01 00 00
enabled with Public Folders/Favorites: 84 05 00 00
disabled value; 04 00 00 00
0
The Ultimate Tool Kit for Technolgy Solution Provi

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

bsharathAuthor Commented:
We have Outlook 2003 and 2007
A script that can check by version and change
0
AkhaterCommented:
both uses the same key I specified above, the hard part would be to find the profile name if it is not standard,

I cannot offer you a full script at the moment, but the keys I gave you above should give you a good start
0
David LeeCommented:
Hi, Sharath.

It's theoretically possible by changing a registry key, but I'd be nervous about doing it.  I have cached mode enables on my computer and I don't see the values listed in this article.  I read somewhere else that the value in this key controls other things too, but I have not found documentation on what it controls nor what the values stand for.  In my opinion it would be dangerous to change the value without knowing what will happen.

http://www.howto-outlook.com/howto/cachedmoderegkey.htm
0
bsharathAuthor Commented:
Any other ways to safely do it?
I need to do this as we are migrating some users from exchange 2003 to exchange 2007. They need to be without cached mode for few days
0
David LeeCommented:
In my opinion the best approach is the one demazter suggested.  Use a group policy to disable it, then when you're done change the policy to re-enable it.
0
bsharathAuthor Commented:
David sorry for this Q here. I need a quick suggestion
As the exchange server is changing i need to change the exchange server name. is there any way you have come accoross changing it via  a script?
0
AkhaterCommented:
what do you mean by is changing ? I hope you are not planning to rename it ?

If you are simply migrating to a new exchange server you don't have to worry about outlook profiles, they will pick the new configuration alone
0
bsharathAuthor Commented:
Ok David

Akhater we have 2 exchanges in 2 forests now.
1 2003 and another 2007
We are going to migrate 50 users per day
So these users who are mograted will have there mailbox moved there to 2007 but still use the old Domain Samaccount. The AD migration will happen once the Exchange is over
So now if the user discovers it does not automatically happen so we need to manually type them.

So was thinking if a script could change the settings
0
David LeeCommented:
No.  I've not found anything in Outlook's object model for this.  I also checked Redemption and I don't see that it offers a solution either.  Nor can I find anything in Microsoft's documentation.  I've posed the question to some of the really advanced developers.  I'll respond again after I've heard back from them.
0
bsharathAuthor Commented:
Thanks David
Has anyone heard about this
profilemgr.exe i was told by someone that this exe does the job . But was not able to find anything on the net
0
bsharathAuthor Commented:
I got a solution here for this post. Can you have a look on the changes i have requested in this post please.
http://www.experts-exchange.com/Software/Office_Productivity/Groupware/Outlook/Q_25559246.html?fromWizard=true
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Programming Languages-Other

From novice to tech pro — start learning today.