There's a similar thread from 2015 How to solve error 0x8007042b while connecting a Google account on Windows 10? here but none of the answers worked. The manual method of adding accounts doesn't work with Calendar, which for some strange reason is bundled with the Mail app!
My current build is:
OS Name: Microsoft Windows 10 Pro
OS Version: 10.0.18362 N/A Build 18362
This is what I've tried so far:
That thread at the top of this post.
Created a system restore point.
Opened Microsoft Store → Settings → unchecked Update apps automatically so it won't automatically add the app upon the next restart. Done this prior to doing anything as Windows installs the Mail and Calendar app the first chance it gets.
Removed any existing accounts that were added manually to the Mail or Calendar apps.
Allowed windows full access to my location.
Signed into my Microsoft account → cleaned out all items from the screenshot below at this address https://account.microsoft.com/privacy/activity-history.
In PowerShell as admin.
WSReset.exe
Get-AppxProvisionedPackage -Online | Out-GridView -PassThru | Remove-AppxProvisionedPackage -Online
and highlighted the microsoft.windowscommunicationsapps
item and clicked OK to delete it.wmic useraccount get name,sid
which returned a formatted number beside my username: x-x-x-xx-xxxxxxxxxx-xxxxxxxxx-xxxxxxxxxx-xxxx
.HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\x-x-x-xx-xxxxxxxxxx-xxxxxxxxx-xxxxxxxxxx-xxxx
and deleted that associated number found above.With RegScanner in admin
microsoft.windowscommunicationsapps_8wekyb3d8bbwe
and deleted any of them.This left me with these which could not be removed. Their paths vary for:
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\AppModel\StateRepository\Cache
and this entry HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\BackgroundModel\EmptyHostDisallowList microsoft.windowscommunicationsapps_8wekyb3d8bbwe REG_DWORD 0x00000001 (1) 19/03/2019 04:53:42 4
.See screenshot below of any registry items found with the keyword search used microsoft.windowscommunicationsapps
.
Restarting the PC, then adding the app back in, in the Microsoft store.
0x8007042b
when I try to add either Yahoo or Google accounts to either Mail or Calendar.Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\AppModel\StateRepository\Cache\User
which no longer exist.User contributions licensed under CC BY-SA 3.0