My Windows 10 Outlook wasn't updating, so I uninstalled it and tried to reinstall it. The Store gave me a "0x80070005" error, so I tried resetting the Store and clearing the cache; nothing worked. I tried to uninstall and reinstall the Store, but got the following error Message:
PS C:\WINDOWS\System32\WindowsPowerShell\v1.0> Get-AppXPackage *WindowsStore* -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
Add-AppxPackage : Deployment failed with HRESULT: 0x80073CF6, Package could not be registered.
AppxManifest.xml(132,10): error 0x80070005: Cannot register the
Microsoft.WindowsStore_22501.1401.4.0_x64__8wekyb3d8bbwe package because the following error was encountered while
registering the windows.protocol extension: Access is denied.
. Try again and contact the package publisher if the problem persists.
NOTE: For additional information, look for [ActivityId] ea439ff8-7e19-0001-632e-80ea197edb01 in the Event Log or use
the command line Get-AppPackageLog -ActivityID ea439ff8-7e19-0001-632e-80ea197edb01
At line:1 char:53
+ ... | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.I ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : WriteError: (C:\Program File...ppXManifest.xml:String) [Add-AppxPackage], IOException
+ FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand
How do I proceed to reinstall both the Store and Outlook?