Tech Entertainer

Outlook Says Something Went Wrong Setting Up Your Account: Fix

By Tech Entertainer Team · 2026-10-10

Outlook Says Something Went Wrong Setting Up Your Account: Fix

You type your email address into Outlook, select Connect, and the setup stops with this message: "Something went wrong and Outlook couldn't set up your account."

This error mostly hits custom domain email, such as name@yourbusiness.com, where a web host runs the mail server. Gmail and Outlook.com addresses rarely trigger it. The fix takes about ten minutes.

What does "Something went wrong" mean in Outlook?

Outlook asked your domain for its mail settings and received an answer it did not expect. Microsoft names the cause on its support page for this error: the Autodiscover process gets an unexpected result from a third-party web server during the root domain lookup.

Autodiscover is the feature Outlook uses to find your mail server, ports, and encryption type from only an email address and password. It tries several locations in order. One of them is the root of your website, such as https://yourbusiness.com/autodiscover/autodiscover.xml. Many web hosts answer this request with a web page or a login prompt instead of mail settings. Outlook reads the reply, fails to authenticate against the advertised POP or IMAP settings, and stops.

Which Outlook versions show this error?

Microsoft lists Outlook for Microsoft 365 and Outlook.com as the affected versions on its support page. The registry fix below uses the Office version number in its path. Office 2016, 2019, 2021, and Microsoft 365 all use 16.0. Office 2013 uses 15.0.

The error appears in classic Outlook for Windows. New Outlook handles account setup differently, so start with the first fix if you use it.

How do you fix it?

Work through these in order. Fix 1 solves the cause. Fix 2 works around it on your PC. Fix 3 skips Autodiscover completely.

Fix 1: Ask your hosting provider to stop answering Autodiscover on the root domain

This is the permanent fix, and Microsoft lists it as the primary solution. Send your host a short message:

Outlook fails to set up my account with "Something went wrong and Outlook couldn't set up your account." Please stop the web server for my domain from responding to Autodiscover requests on the root domain.

Most hosts handle this within a day. Use Fix 2 or Fix 3 while you wait.

Shared hosting plans often run a single web server for many domains, so the host answers every Autodiscover request with the same default page. Support staff sometimes need a second message before they find the right setting. Include the log line from the test in the section below, and they will find it faster.

Fix 2: Add the Autodiscover registry keys

Microsoft provides three registry values to tell Outlook to skip the lookup methods causing the failure. You add them under your Windows user account, so you do not need to edit anything on the server.

Back up the registry first. In Registry Editor, choose File, then Export, and save the file in your Documents folder.

  1. Close Outlook completely.
  2. Press Windows + R, type regedit, and press Enter.
  3. Go to HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook\AutoDiscover.
  4. If the AutoDiscover key does not exist, right-click Outlook, choose New, then Key, and name it AutoDiscover.
  5. Right-click the AutoDiscover key, choose New, then DWORD (32-bit) Value.
  6. Name the value ExcludeHttpsRootDomain and set its data to 1.
  7. Open Outlook and add your account again.

If the error returns, add the other two values the same way:

  • ExcludeLastKnownGoodUrl set to 1. This skips the last settings Outlook stored for the domain.
  • ExcludeSrvRecord set to 1. This skips the SRV record lookup in your domain's DNS.

Restart Outlook after each change. Each value works on its own, so you do not need all three in place at once. Outlook reads them every time it runs account setup, which means the change takes effect on the next attempt with no reboot.

Delete the values once your host completes Fix 1, because they change how Outlook finds settings for every account.

Fix 3: Set up the account manually

Manual setup skips Autodiscover, so the host's reply no longer matters. Collect your incoming and outgoing server names, ports, and encryption type from your host's email settings page first.

  1. In Outlook, select File, then Add Account.
  2. Enter your email address and select Advanced options.
  3. Check Let me set up my account manually, then select Connect.
  4. Choose IMAP (or POP if your host only supports it).
  5. Enter the incoming and outgoing server details, then your password.
  6. Select Connect and wait for the test to finish.

IMAP keeps your mail on the server and stays in sync across devices. Pick it over POP when your host offers both.

Typical host settings look like this, though you should confirm the exact names with your provider:

  • Incoming server: mail.yourbusiness.com, port 993, SSL/TLS
  • Outgoing server: mail.yourbusiness.com, port 465 or 587, SSL/TLS or STARTTLS
  • User name: your full email address

Manual setup works fine for daily use. You lose only the automatic settings refresh, so update the server details by hand if your host ever moves your mailbox.

How do you see which Autodiscover address is failing?

Outlook has a built-in test for this. It shows every address Outlook tried and the reply it received.

  1. Open Outlook.
  2. Hold Ctrl and right-click the Outlook icon in the Windows notification area, near the clock.
  3. Choose Test E-mail AutoConfiguration.
  4. Enter your email address and password.
  5. Uncheck Use Guessmart and Secure Guessmart Authentication.
  6. Select Test.

Open the Log tab after the test finishes. Look for the line with your domain's root address and an unexpected reply, such as an HTML page or an HTTP error. Send this line to your host. It shows them exactly which request needs a change.

What if the error still appears after these fixes?

Check three things.

  • Typo in the email address. Confirm the domain spelling in the setup window. A wrong domain returns the same message.
  • Proxy detection. In Windows, open Internet Options, select the Connections tab, then LAN settings, and check Automatically detect settings. Some networks block the lookup without it.
  • Mail Setup profile. Open Control Panel, select Mail (Microsoft Outlook), choose Show Profiles, and add a new profile. A damaged profile fails in the same way as a bad Autodiscover reply, and a fresh profile rules it out.

Run the Outlook test from the section above once more after each change. The Log tab tells you whether the problem moved.

How do you avoid this error in the future?

Keep a note of your mail server names, ports, and encryption type in a password manager, next to your mailbox password. Manual setup then takes two minutes on any new PC. Check Outlook after any change to your website hosting plan, since a move to a new host or a new site builder is the usual trigger for this error. Re-run the Test E-mail AutoConfiguration check after a migration to confirm the root domain no longer returns a web page.

Quick reference

| Symptom | Likely cause | Fix | | --- | --- | --- | | Error on a custom domain only | Host answers Autodiscover on the root domain | Fix 1 or Fix 2 | | Error on every account | Damaged profile or network detection | New profile, LAN settings | | Settings known, Autodiscover fails | Lookup returns wrong data | Fix 3, manual setup |

Start with the registry keys if you need mail working today. Send your host the request in Fix 1 the same day, and remove the keys when they confirm the change.

Frequently Asked Questions

Does the Autodiscover registry change affect my other email accounts in Outlook?

Yes. The keys sit under your Windows user profile, so Outlook skips the same lookup methods for every account it sets up. Delete the keys after your hosting provider stops answering Autodiscover requests on the root domain.

Why does Outlook work with Gmail but fail with my business email?

Gmail and Outlook.com publish their own Autodiscover and server settings. A custom domain relies on your web host, and the error appears when the host's web server returns an unexpected reply during the root domain lookup.