sodcalculator

10 Tech How-To

Windows 10 Mail Error 0x80040154 or 0x80c8043e?

Guide 10-50085 · Updated · Step by step

Both 0x80040154 and 0x80c8043e are Mail app errors on Windows 10, but they have different causes: 0x80040154 is a COM class registration error (often fixed by reinstalling the app or repairing Office), while 0x80c8043e is a sync/account authentication error (fixed by removing and re-adding the account or checking credentials). Below we break down each code, why they appear, and step-by-step fixes you can try in order.

What These Error Codes Mean

Windows 10’s built-in Mail app (part of the “Mail and Calendar” package) relies on a set of background services and the Windows Store infrastructure. When something breaks in that chain, you get a numeric error code instead of a friendly message. The two codes in question are often confused because they both appear in the same app, but they point to different layers:

  • 0x80040154 – “Class not registered.” This is a COM error. The Mail app tries to launch a component (like a PDF viewer, a photo picker, or an Office integration) that isn’t properly registered in Windows. It often appears when you try to open an attachment or when the app itself fails to start.
  • 0x80c8043e – This is a sync/authentication error. It usually means the Mail app cannot connect to your email server (Exchange, Outlook.com, Gmail, etc.) to download new messages. It can also appear after a password change or when the server rejects the app’s connection.

Why 0x80040154 Happens (and How to Fix It)

The 0x80040154 error is a Windows-level “class not registered” error. It’s not specific to email – other apps (like Photos or Office) can trigger it too. In the Mail app, it typically appears when you try to open an attachment or when the app tries to use a component that isn’t properly installed.

Common causes:

  • Corrupted Windows Store app cache
  • Missing or broken Office integration (if you use Outlook.com or Exchange)
  • Outdated Mail app version
  • Third-party antivirus blocking the app’s components

Fixes to try in order:

  1. Restart the Mail app – Close it completely (right-click the icon in the taskbar and choose “Close window”), then reopen it. Sometimes the error is transient.
  2. Run the Windows Store Apps troubleshooter – Go to Settings > Update & Security > Troubleshoot > Additional troubleshooters > Windows Store Apps. Run it and follow the prompts.
  3. Repair or reset the Mail app – Go to Settings > Apps > Apps & features, find “Mail and Calendar,” click Advanced options, then click “Repair.” If that doesn’t help, click “Reset” (this will delete your accounts from the app, so you’ll need to add them again).
  4. Re-register the Mail app – Open PowerShell as administrator and run: Get-AppxPackage Microsoft.windowscommunicationsapps | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}. This reinstalls the app without losing your data.
  5. Check Office installation – If you use an Office 365 account, repair Office via Control Panel > Programs > Programs and Features > Microsoft Office > Change > Quick Repair.

Why 0x80c8043e Happens (and How to Fix It)

This error is a sync failure. The Mail app cannot complete a sync with your email server. It often appears as a red banner at the bottom of the app or as a notification that “something went wrong.”

Common causes:

  • Incorrect password or changed password
  • Two-factor authentication (2FA) enabled and the app doesn’t have an app-specific password
  • Server-side issues (temporary outage)
  • Corrupted sync state in the app
  • Date/time settings are wrong, which breaks SSL/TLS connections

Fixes to try in order:

  1. Check your password – Go to Settings > Accounts > Email & accounts, select the account, and click “Manage.” Then “Change mailbox sync settings” and re-enter your password.
  2. If you use 2FA – For Gmail, Outlook.com, or other providers, you may need to create an “app password” and use that in the Mail app instead of your regular password.
  3. Remove and re-add the account – In the same “Email & accounts” settings, click the account, then “Remove.” Then add it again. This forces a fresh sync.
  4. Check date and time – Go to Settings > Time & Language > Date & time. Turn on “Set time automatically” and “Set time zone automatically.” If they’re already on, turn them off and on again.
  5. Clear the Mail app cache – Use the “Reset” option as described above, or manually delete the cache folder: press Win+R, type %LocalAppData%\Packages\microsoft.windowscommunicationsapps_8wekyb3d8bbwe\LocalCache and delete the contents (close the Mail app first).

Which Error Is More Common?

0x80c8043e is more common in everyday use because it’s tied to account authentication. Any time a password changes, a server updates its security policy, or a sync gets stuck, you’ll see this error. 0x80040154 is less frequent but more frustrating because it can appear randomly and often requires a deeper system fix (like re-registering the app).

How to Prevent Both Errors

  • Keep Windows 10 updated (Settings > Update & Security > Windows Update).
  • Keep the Mail app updated through the Microsoft Store.
  • Use app passwords if you have 2FA enabled on your email provider.
  • Avoid using third-party “cleaners” that remove Windows Store app components.
  • Regularly check your email account’s security settings – if you see “sign-in blocked” notices, update the app password.

What If Neither Fix Works?

If you’ve tried all the above and still get errors, consider these alternatives:

  • Use Outlook on the web (outlook.com) or your provider’s webmail – this bypasses the app entirely.
  • Switch to a different email client like Thunderbird (free) or the classic Outlook desktop app (if you have Office).
  • Create a new Windows user profile – sometimes the app’s data gets corrupted per-user.
  • Perform a Windows “in-place upgrade” (reinstall Windows while keeping files) – this is a last resort but fixes most system-level issues.

Frequently Asked Questions

Can I fix 0x80040154 by reinstalling the Mail app?

Yes, reinstalling (or re-registering) the Mail app is one of the most effective fixes for 0x80040154. Use the PowerShell command mentioned above, or uninstall and reinstall the app from the Microsoft Store. This resets all app components.

Does 0x80c8043e mean my email account is hacked?

No, it’s a sync error, not a security alert. It usually means the app can’t authenticate with the server – often due to a wrong password, 2FA settings, or a temporary server issue. Check your account’s recent activity on the provider’s website to be safe, but the error itself is not a hack indicator.

Will these errors affect my email data?

No, both errors are connection/registration issues. Your emails remain on the server. You can still access them via webmail. The app may not show new messages until the error is fixed, but nothing is deleted.

Why does the error appear only on one email account?

If only one account fails, the problem is likely with that account’s credentials or server settings. Remove and re-add that specific account. If all accounts fail, the issue is with the app itself.

Can I use the Mail app on Windows 11 with these errors?

Yes, the same errors can appear on Windows 11’s Mail app (which is essentially the same app). The fixes are identical – the steps above work for Windows 11 as well.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →