We are running into issues getting our registry code to work. Below is the code, if anyone can lend a helping hand. When we run this, nothing happens. We’ve tried using the regset in front of the HKCU, but this fails with a line code error.
Any help would be appreciated.
Createfile until end-reg-edit-commands
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Outlook\AutoDiscover]
“PreferLocalXML”=hex:01,00,00,00
"ExcludeHttpRedirect"=hex:00,00,00,00
"ExcludeHttpsAutodiscoverDomain"=hex:01,00,00,00
"ExcludeHttpsRootDomain"=hex:01,00,00,00
"ExcludeScpLookup"=hex:01,00,00,00
"ExcludeSrvLookup"=hex:01,00,00,00
"ExcludeSrvRecord"=hex:01,00,00,00
"RedirectServers/autodiscover.outlook.com"=hex:00,00,00,00
"RedirectServers/autodiscover-s.outlook.com"=hex:00,00,00,00
[HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Outlook\AutoDiscover]
“PreferLocalXML”=hex:01,00,00,00
"ExcludeHttpRedirect"=hex:00,00,00,00
"ExcludeHttpsAutodiscoverDomain"=hex:01,00,00,00
"ExcludeHttpsRootDomain"=hex:01,00,00,00
"ExcludeScpLookup"=hex:01,00,00,00
"ExcludeSrvLookup"=hex:01,00,00,00
"ExcludeSrvRecord"=hex:01,00,00,00
"RedirectServers/autodiscover.outlook.com"=hex:00,00,00,00
"RedirectServers/autodiscover-s.outlook.com"=hex:00,00,00,00
[HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Outlook\AutoDiscover]
“PreferLocalXML”=hex:01,00,00,00
"ExcludeHttpRedirect"=hex:00,00,00,00
"ExcludeHttpsAutodiscoverDomain"=hex:01,00,00,00
"ExcludeHttpsRootDomain"=hex:01,00,00,00
"ExcludeScpLookup"=hex:01,00,00,00
"ExcludeSrvLookup"=hex:01,00,00,00
"ExcludeSrvRecord"=hex:01,00,00,00
"RedirectServers/autodiscover.outlook.com"=hex:00,00,00,00
"RedirectServers/autodiscover-s.outlook.com"=hex:00,00,00,00
[HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook\AutoDiscover]
“PreferLocalXML”=hex:01,00,00,00
"ExcludeHttpRedirect"=hex:00,00,00,00
"ExcludeHttpsAutodiscoverDomain"=hex:01,00,00,00
"ExcludeHttpsRootDomain"=hex:01,00,00,00
"ExcludeScpLookup"=hex:01,00,00,00
"ExcludeSrvLookup"=hex:01,00,00,00
"ExcludeSrvRecord"=hex:01,00,00,00
"RedirectServers/autodiscover.outlook.com"=hex:00,00,00,00
"RedirectServers/autodiscover-s.outlook.com"=hex:00,00,00,00
end-reg-edit-commands
move __createfile autodiscover.reg
dos reg import autodiscover.reg