Fix: Can’t Add Gmail Account to Windows 10 Mail ‘0x8007042b’

Ivan Jenic
by Ivan Jenic
Loading Comments
Affiliate Disclosure

Luckily, Microsoft’s Mail app for Windows 10 doesn’t support Outlook only, as you can add your Gmail account to it.

However, some users reported that when they tried to add a Google account to the Mail app, an unexpected error 0x8007042b prevented them to do so. And in this article, I’m going to show you how to get rid of that error.
mail app wind8apps

How to fix Gmail error 0x8007042b

  1. Connect your Google account to PC
  2. Enable IMAP on your Google account
  3. Create a new IMAP account
  4. Stop Credential Manager Service
  5. Use a restore point

1. Connect your Google account to PC

To solve the problem, you have to make sure that your Google account is connected to your Windows 10 computer. Here’s how to do that:

  1. Go to the Security section of your Google account (You can access it from this link)
  2. Under Connected apps and sites, go to Apps connected to your account
  3. Make sure that Windows is on the list

2. Enable IMAP on your Google account

After you make sure that your Google account is connected with your computer, you need to create the new IMAP account, and hopefully, everything will work fine. But, before you create a new IMAP account in your Mail app, you need to enable IMAP usage in your Google account. Here’s what you need to do:

  1. Sign in to Gmail
  2. Click the gear in the top right
  3. Select Settings
  4. Click Forwarding and POP/IMAP
  5. Select Enable IMAPenable gmail IMAP
  6. Click Save Changes

3. Create a new IMAP account

After you enabled IMAP usage in your Google account, you can create the new IMAP account in your Mail app, and everything should work fine. Just follow these steps to create the new IMAP account:

  1. Open the Mail app
  2. Go to Settings (Cog icon), Accounts, Add Account,  Advanced Setup, and then to Internet Email
  3. Fill in the details like this:
    • Account Name: {any string like “My Gmail”}
    • Your Name: {your name like “Fred Bloggs”}
    • Incoming Mail Server:
    • 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:
    • All checkboxes checked
  4. Now try to connect to your Google account with the new Account, and it should work

4. Stop the Credential Manager Service

Some users conforming that disabling the Credential Manager Service fixed this problem. So, here are the steps to follow:

  1. Navigate to your user folder which should be available at this location C:\Users\[Name]
  2. Right click on it > select Properties
  3. Click on the Security tab > go to Advanced
  4. Go to Owner > select Change
  5. Click Add > Entity > Advanced > Search
  6. Select All Application Packages > Accept > click on Full Control > Apply
  7. Should you encounter any errors when applying permissions, simply ignore them
  8. Go to Start > type ‘services’ > right-click on the first result to launch  Services as Administrator
  9. In the Services window locate the Credential Manager Service > right-click it > stop it
  10. Restart your computer
  11. Return to Services > select the Credential Manager Service > Start it > Set it to Automatic
  12. Restart your computer again.

5. Use a restore point

If this error occurs after you installed a particular program on your computer, try reverting your computer to its previous settings.

Of course, you can also try uninstalling the respective app or program. Using a restore point is a better solution as it allows you to undo all recent changes on your computer.

  1. Go to Start > type ‘control panel’ > launch Control Panel > go to Backup and Restore
  2. Go to Restore > select a Restore Point.

Issues with Gmail and Mail app are not common, but if something like error 0x8007042b appears, you know what to do now. If you have any questions, comments, or maybe some other solutions for this problem, reach for the comment section below, because we would love to hear your thoughts.

Also, if you have any other Windows 10-related issues you can check for the solution in our Windows 10 Fix section.

Editor’s Note: This post was originally published in August 2015 and has been since completely revamped and updated for freshness, accuracy, and comprehensiveness.