use Cached Exchange Mode regedit switch

spectragases
spectragases used Ask the Experts™
on
looking to be able to turn off "use Cached Exchange Mode" in office 2003 from the registry.

need help in finding the string and or adding it to change the value from 1 to 0.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
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

Author

Commented:
that seems to do the trick... now.. just need to figure out how to put this in a script....

thanks so much..
this may not be entirely correct....this is going to be hard unless everyone has the same profile name here's a start:

put it in a script.vbs

Const HKEY_LOCAL_MACHINE  = &H80000002
Const HKEY_CURRENT_USER   = &H80000001
Const HKEY_CLASSES_ROOT   = &H80000000
Const HKEY_USERS          = &H80000003
Const HKEY_CURRENT_CONFIG = &H80000005

strComputer = "."
Set objRegistry = GetObject("winmgmts:\\" & _
    strComputer & "\root\default:StdRegProv")

strSetStringValue = "04 00 00 00"

strKeyPath = "Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\<ProfileName>\13dbb0c8aa05101a9bb000aa002fc45a]"

objReg.SetStringValue HKEY_LOCAL_MACHINE, strKeyPath, strSetStringValue
set objReg = Nothing

Author

Commented:
I get a runtime error.

test.vbs(15, 1) Microsoft VBScript runtime error: Object required: 'objReg'

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial