How to Solve the Security Alert Message on Email Autodiscover

This article will describe how to resolve the “Security Alert” message that appear on some clients after adding their email account to outlook through the autodiscovery feature.


Open up Regedit, and navigate to: “HKEY_CURRENT_USER\software\Microsoft\Office\XX.X\Outlook\autodiscover”


Here we will create a new DWORD value and call it: PreferLocalXML
Set the value of it to: 1

Now in the same location, create a String Value with the domain name (ex. and set the value to a local destination on the computer (Ex. C:\autodiscover\autodiscover.xml)

Go to the path you typed in on the string key and create the folder if it doesn’t already exists.

Now we will do a test run of the autoconfiguration.
On the taskbar (Down at the clock) you should see an outlook icon (You might need to expand the list with the white arrow to see it). Now here’s the trick, Hold down the CTRL key on your keyboard and right click on the outlook taskbar icon. The menu that appear will now be including advanced settings, and we want to choose the one that says “Test E-mail AutoConfiguration”


A small window will now appear on your screen with 2 input fields.
Type your email address into the upper one, and the password in the lower one and hit “TEST”.
(Leave the check boxes as they are)


When you hit the test button it might ask you to type in your password again. If so, do it and click “OK”
A bunch of text will appear in the result windows below.
In the result window you should see 3 tabs. “Result”, “Log”, and “XML”.
We are interested in the one that says XML so switch to that one by clicking it.


Now mark everything that is inside the XML tab and copy it.
Open up a new notepad file, and paste the content from the XML tab into the new notepad document.
Hit “File > Save As..” and save the file to the destination we created in the registry string (C:\Autodiscover\).
Remember to call the file autodiscover.xml and to set the file extension to “All Files (*.*)”


If done correctly, the alert message should now be solved after the next computer reboot.
TIP: The registry string is case sensitive so be sure to call the XML file and folder as typed in the key string.

Leave a Reply