jasonbowne
Posts: 1
Joined: 21.Jul.2008
Status: offline
|
Outlook Anywhere works very good for this without us having to worry about switching user devices back and forth depending on who and how we want them to connect. If you are on the internal network - outlook uses TCP/IP connections - if you are outside the network RPC over HTTPS (as long as you have outlook set to do that on fast and slow connections as well and not force outlook to always use HTTPS etc..) Now one thing that we did in our environment of almost 10,000 laptops worldwide was how do we push the outlook anywhere config to both outlook 2003 and outlook 2007 (running on exhcnage 2003) as seamless as possible. To accomplish this we created a VBscript that we pushed out through SMS and was completely transparent to the user and did NOT require the end user to restart outlook. Finding the exact registry keys to change was tricky as you don't want to have anything else going on in your system (from a registry perspective) AND you don't want to use the OK button. To capture the registry keys I opened outlook went all the way into the outlook anywhere configuation settings. Used regsnap to capture current state registry > then checked the box to use outlook anywhere > clicked box for exchange settings > then typed in the URL for https for our implementation > then click apply > then take post regsnap (if you click ok you will get extra reg keys that you don't need). Here are the registry keys - they are in hex, so I changed all my keys for this post to 00 for example (this works for both outlook 2003 and outlook 2007 client): Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\Outlook\13dbb0c8aa05101a9bb000aa002fc45a] "00036623"=hex:00,00,00,00 "00036627"=hex:00,00,00,00 "001f6622"=hex:00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00 "001f6625"=hex:00,00 The VBScript that we wrote takes into account the existence of other profiles as our helpdesk will create new profiles to fix issues at times so I could not rely on a static profile name all the time - the script will turn on outlook anywhere with your settings - again I have changed all hex codes to 00 so you can still see the format. Running this vbscript is silent and does not require a restart of outlook - tested it several times with an apply and remove process to make sure.. Enjoy! -Jason Const HKEY_CURRENT_USER = &H80000001 strComputer = "." Set objReg=GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & strComputer & "\root\default:StdRegProv") strKeyPath = "Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\" strSubKeyPath = "\13dbb0c8aa05101a9bb000aa002fc45a" iKey1 = "00036623" iValue1 = Array(&H00,&H00,&H00,&H00) iKey2 = "00036627" iValue2 = Array(&H00,&H00,&H00,&H00) iKey3 = "001f6622" iValue3 = Array(&H00,&H00,&H00,&H00,&H00,&H00,&H00,&H00,&H00,&H00,&H00,&H00,&H00,&H00,&H00,&H00,&H00,&H00,&H00,&H00,&H00,&H00,&H00,&H00,&H00,&H00,&H00,&H00,&H00,&H00,&H00,&H00,&H00,&H00,&H00,&H00,&H00,&H00) iKey4 = "001f6625" iValue4 = Array(&H00,&H00) objReg.EnumKey HKEY_CURRENT_USER, strKeyPath, arrSubkeys For Each strSubkey In arrSubkeys objReg.SetBinaryValue HKEY_CURRENT_USER,strKeyPath & strSubkey & strSubKeyPath,iKey1,iValue1 objReg.SetBinaryValue HKEY_CURRENT_USER,strKeyPath & strSubkey & strSubKeyPath,iKey2,iValue2 objReg.SetBinaryValue HKEY_CURRENT_USER,strKeyPath & strSubkey & strSubKeyPath,iKey3,iValue3 objReg.SetBinaryValue HKEY_CURRENT_USER,strKeyPath & strSubkey & strSubKeyPath,iKey4,iValue4 Next
|