Force Outlook Autodiscover to use SRV Record

How to force Outlook Autodiscover to only use SRV for autodiscovery

create this batch file and run it:
Outlook 2007:

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Outlook\AutoDiscover]
"ExcludeHttpRedirect"=dword:00000001
"ExcludeHttpsAutoDiscoverDomain"=dword:00000001
"ExcludeHttpsRootDomain"=dword:00000001
"ExcludeScpLookup"=dword:00000001

Outlook 2010:

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Outlook\AutoDiscover]
"ExcludeHttpRedirect"=dword:00000001
"ExcludeHttpsAutoDiscoverDomain"=dword:00000001
"ExcludeHttpsRootDomain"=dword:00000001
"ExcludeScpLookup"=dword:00000001

Using SRV Record for Exchange 2007/2010 Autodiscover

You can use a SRV record for exchange Autodiscover services, just create a srv record named:

Service: _autodiscover
Protocol: _tcp
Port Number: 443
Host: [Hostname of the server]

Eg.
Host: _autodiscover._tcp.kasperk.it, Port 443, host: mail.kasperk.it

source: http://support.microsoft.com/kb/940881

You can test the configuration here: https://www.testexchangeconnectivity.com/ choosing Outlook Autodiscover