Professional Documents
Culture Documents
In each case with Outlook when trying to open via RPC over HTTP users receive a prompt for username and
password. This is annoying and unproductive. If the user chooses cancel a prompt in Outlook will change
to say needing password where the connection should reside.
In order to get around this, organizations with remote users taking advantage of Outlook over RPC are
going to need to make a few modifications to allow for Outlook to function appropriately.
Name= your organization name. If you are mail.aloha.com then your file will be aloha.xml
[HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Outlook\AutoDiscover]
One there two keys need to be created. One is regular string value named aloha.com. Once created put in
the value of the xml location as seen here:
After creating this registry the next key to create is a regular dword value and name it: PreferLocalXML
If no prompts come up and Outlook says connected to Exchange then everything should be okay. It is still
good to go ahead and check Autodiscover to make sure however.
To do this go down to the Outlook Icon in the system tray, hold down the ctrl
key and click the icon. You will see the option to test the Autodiscover. This
will bring up a new window which allows username credentials to be added.
It is important that when testing the “use guessmart” and “secure gessmart
authentication are unchecked. Once these are unchecked choose the test
button to begin the test
Option Explicit
Dim objShell
Dim strKeyPath, strValue, strValue2
Dim dwValue
'This allows for creation of the key at the path provided all together.
strKeyPath = "HKCU\Software\Microsoft\Office\14.0\Outlook\Autodiscover\aloha.com"
'Assign the value that you wish to have within the key
strValue = "C:\Program Files (x86)\Microsoft Office\Office14\OutlookAutoDiscover\aloha.xml"
strValue2 = "C:\Program Files\Microsoft Office\Office14\OutlookAutoDiscover\aloha.xml"
'Called method to actually write the key that we want. The last value states whay type of key it is going to be. Optional
objShell.RegWrite strKeyPath,strValue,"REG_SZ"
objShell.RegWrite strKeyPath,strValue2,"REG_SZ"
strKeyPath = "HKCU\Software\Microsoft\Office\14.0\Outlook\Autodiscover\PreferLocalXML"
dwValue = 1
objShell.RegWrite strKeyPath,dwValue,"REG_DWORD"
strKeyPath = "HKCU\Software\Microsoft\Office\12.0\Outlook\Autodiscover\aloha.com"
strValue = "C:\Program Files (x86)\Microsoft Office\Office12\OutlookAutoDiscover\aloha.xml"
objShell.RegWrite strKeyPath,strValue,"REG_SZ"
strKeyPath = "HKCU\Software\Microsoft\Office\12.0\Outlook\Autodiscover\PreferLocalXML"
strValue = "PreferLocalXML"
dwValue = 1
objShell.RegWrite strKeyPath,dwValue,"REG_DWORD"
'======================================================================'
'Declare the variables that are going to copy our files to allow for Outlook to bypass Autodiscover
Dim FSO
'Copy all of the files from a unique location to the place that we want. Note the use of the "_"
'For line continuation
wscript.quit
http://msexchangeteam.com/archive/2007/04/30/438249.aspx
Note that it is important to configure your SCP to point to the appropriate url. The context of configuring
the SCP can be found at:
http://technet.microsoft.com/en-us/library/bb332063%28EXCHG.80%29.aspx#Scenario3
Scroll down in this section and locate the “Step2: Modify the Service Connection Point.” This article also
contains good information regarding the autodiscover service.
Lastly included are the steps taken with Microsoft when resolving autodiscover using two certs.
Correcting SSL Certificate with WebSite (Two separate SSL EXCH Hub)
1. Make sure that you provide additional IP and DNS addressing internal and external.
2. Re-register ASP 2.0 for the new web site from a command prompt (especially if this is a 64bit OS
install):
cscript %SYSTEMDRIVE%\inetpub\adminscripts\ads
util.vbs SET W3SVC/AppPools/Enable32bitAppOnWin64 0
%SYSTEMROOT%\Microsoft.NET\Framework64\v2.0.50
727\aspnet_regiis.exe -i
(Note: it will say there may have been errors but that is normal)
iisreset
(Re-add the default autodiscover and then add the new autodiscover on the website.)
New-AutodiscoverVirtualDirectory
(Check to make sure they are created. Properties of the autodiscover should be identical to default web
site.)
5. Create a new Exchange SCP pointing to the site. Also done from the exchange command shell.
6. Test outlook settings. Turn off both guess smart. Look at log and you should see two fails and then a
succeed.
The above is provided as a framework and does not imply that ALL steps are provided. It is assumed that
the administrator understands websites, directories, etc.