You're trying to set up your work email on a new Outlook client. You know your company uses an On-Premises Exchange server. You type in your email address, click "Connect," and...
You are presented with a Microsoft 365 login screen instead of your company's server prompt.
Don't panic—this is a common and expected behavior from modern versions of Outlook. However, for On-Premises environments, it's a major roadblock. Here is how to fix it using the Registry.
When you enter an email address, Outlook follows a specific priority list to find server settings (Autodiscover). Unfortunately, modern Outlook versions prioritize the Cloud over your local server:
We need to force Outlook to skip Step 1.
We will add a specific key to the Windows Registry to bypass the Office 365 check.
⚠️ Important Warning: Incorrectly editing the Windows Registry can cause system instability. Please follow these steps carefully or ask an IT professional.
regedit and press Enter.Paste this path into the address bar at the top of the Registry Editor:
Note: If the AutoDiscover folder doesn't exist, right-click "Outlook" > New > Key and name it "AutoDiscover".
Double-click the new ExcludeExplicitO365Endpoint value:
0 to 1.Note: The changes will not take effect until you fully close and restart Outlook. Check Task Manager to ensure outlook.exe is completely stopped.
Once restarted, Outlook will ignore the cloud check and look directly for your On-Premises server settings.
Stop worrying about server maintenance and connectivity issues. Upgrade to our Dedicated Server solutions.