How to solve error 0x8007042b while connecting a Google account on Windows 10?

I recently updated to Windows 10 and I'm quite fine with it.

Except for apps like Mail or Calendar. Upon starting them, they ask me which accounts should be used.

So I'd like to add my Google account, as this is my main calendar.

I press "Add", where it lists several possible services. Upon clicking on "Google", it instantly throws me an error, without prompting me for credentials:

enter image description here

"Just put some happy fluffy clouds here..." - Windows 10 Mail app Designers

This should be the translated error message:

Something went wrong

We're sorry, but we weren't able to do that.

Error code 0x8007042b.

The results of research on the interwebs often recommend to first create a 2-hand-shake-password if turned on in Google. Well, that won't suffice, as I don't have any option to make anything. I just click on "Add Google Account" and the error instantly appears.

How can I get Google services working on Windows 10?


Solution 1:

This worked for me:

  1. Go to your users folder (e.g. C:\Users\John).
  2. Right click, select properties, Security, Advanced.
  3. Click Add, select entity, advanced, search.
  4. Click on ALL APPLICATION PACKAGES, accept. Select Full Control and apply (Ignore errors trying to apply permissions).

Then:

  1. Click on start and type “Services”.
  2. Right click on “Services” and select “Run as Administrator”.
  3. In the Services Window, look for Credential Manager Service and “Stop” it.
  4. Restart the computer and “Start” the Credential Manager Service and set it to “Automatic”.
  5. Restart the computer and it should work fine.

Source: https://answers.microsoft.com/en-us/windows/forum/apps_windows_10-outlook_mail/cant-add-gmail-account-to-windows-10-mail-app/97d4e308-54a8-4afe-b74f-501b1ea0fa2a?page=12

Solution 2:

I needed to do two things here.

  1. I have two factor authentication enabled for my google account, so I needed to set up a one time password for the Windows mail app. I went into my Google accounts settings. This link worked for me:

https://myaccount.google.com/security

Then go into "App Passwords" (under "Password and sign in method") and follow the prompts to create a password. You choose "Mail" on my "Windows Computer" from the dropdowns.

Leave that password on the screen, I needed it for the next step.

  1. Create an IMAP account.

I couldn't connect to my Google account directly. I got the same error as you. None of the fixes I found on the web worked. So I created a new IMAP account. Go to

Settings (Cog icon) -> Accounts -> Add Account -> Advanced Setup -> Internet Email

Now fill in the details. These are the values I used:

  • Account Name: {any string like "My Gmail"}
  • Your Name: {your name like "Fred Bloggs"}
  • Incoming Mail Server: imap.gmail.com:993
  • Account Type: IMAP4
  • User name: {your gmail address}
  • Password: {the one time password you just generated, otherwise just your gmail password}
  • Outgoing SMTP email server: smtp.gmail.com:465
  • All checkboxes checked

I have used the settings which work for people with a google apps account. If you have problems connecting to the gmail IMAP server, perhaps you need different settings. Google walks you through the settings here:

https://support.google.com/mail/troubleshooter/1668960?hl=en&ref_topic=3397500

Good luck!