Jan 14
20
I had an issue where Outlook 2007 and above, with an Exchange 2010 server, would constantly ask for a password. It was a problem with AutoDiscovery authentication. The solution was found here:
- Open a command prompt
- Type:Â cd c:\windows\system32\inetsrv\
- Type:Â appcmd list config /section:windowsAuthenticationÂ
- You’ll see something like this:
<system.webServer><security><authentication><windowsAuthentication enabled=”true” useKernelMode=”false”><providers><add value=”Negotiate” /><add value=”NTLM” /></providers></windowsAuthentication></authentication></security></system.webServer>
- Notice the two highlighted areas, we need to reverse these so NTLM is first.
- You’ll see something like this:
- Type:Â Appcmd.exe set config /section:windowsAuthentication /-providers.[value=’Negotiate’]
- This removes the “Negotiate” entry
- Type:Â appcmd.exe set config -section:system.webServer/security/authentication/windowsAuthentication /+”providers.[value=’Negotiate’]” /commit:apphost
- This adds “Negotiate” back, but under NTLM.
- Type: iisreset (Note:Â don’t issue this command during the day, you’ll temp disconnect all mail users!)