How-to Fix the 0x80070002/0x80070003 error on Microsoft Store

Copper Contributor

Hi,

 

For those who get stuck with the Windows Store refusing to install/update any app with the error codes above, the problem actually lies in a DLL registration issue.

 

Here's how to fix it :

1/ Open a command prompt as administrator.

2/ Run command :

powershell -ExecutionPolicy Unrestricted Add-AppxPackage -DisableDevelopmentMode -Register 'c:\program files\windowsapps\*\AppxManifest.xml'

3/ Wait for a while (it lasts at least 10 minutes)

4/ Restart the Windows Store. Your apps should now install fine. 

4 Replies

Holy crap this fixed this an an issue with the error code and getting out of a game beta  i was stuck in at the same time! Thx man@Julien Aubin 

Did you get a message in the command prompt? I did not. My did not work.


I would be glad to get a answer.

@Julien Aubin  I entered the cmd you said and this was the outcome

I still cant update apps or install new ones

 

Microsoft Windows [Version 10.0.19045.3636]
(c) Microsoft Corporation. All rights reserved.
C:\WINDOWS\system32>powershell -ExecutionPolicy Unrestricted Add-AppxPackage -DisableDevelopmentMode -Register 'c:\program files\windowsapps\*\AppxManifest.xml' Add-AppxPackage : Deployment failed with HRESULT: 0x80073CF9, Install failed. Please contact your software vendor. (Exception from HRESULT: 0x80073CF9) Common::Deployment::MsixvcStagingSession::MakePackageActivatable in MsixvcStagingSession failed with error 0x80070002. NOTE: For additional information, look for [ActivityId] 8cf27c43-08a7-000b-d012-f58ca708da01 in the Event Log or use the command line Get-AppPackageLog -ActivityID 8cf27c43-08a7-000b-d012-f58ca708da01 At line:1 char:1 + Add-AppxPackage -DisableDevelopmentMode -Register 'c:\program files\w ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : WriteError: (C:\program file...ppxmanifest.xml:String) [Add-AppxPackage], IOException + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand Add-AppxPackage : Deployment failed with HRESULT: 0x80073D02, The package could not be installed because resources it modifies are currently in use. error 0x80073D02: Unable to install because the following apps need to be closed Microsoft.GamingApp_2310.1001.79.0_x64__8wekyb3d8bbwe. NOTE: For additional information, look for [ActivityId] 8cf27c43-08a7-0009-a356-f48ca708da01 in the Event Log or use the command line Get-AppPackageLog -ActivityID 8cf27c43-08a7-0009-a356-f48ca708da01 At line:1 char:1 + Add-AppxPackage -DisableDevelopmentMode -Register 'c:\program files\w ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (C:\program file...ppxManifest.xml:String) [Add-AppxPackage], Exception + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand Add-AppxPackage : Deployment failed with HRESULT: 0x80073D02, The package could not be installed because resources it modifies are currently in use. error 0x80073D02: Unable to install because the following apps need to be closed Microsoft.GamingApp_2310.1001.79.0_x64__8wekyb3d8bbwe. NOTE: For additional information, look for [ActivityId] 8cf27c43-08a7-0009-be56-f48ca708da01 in the Event Log or use the command line Get-AppPackageLog -ActivityID 8cf27c43-08a7-0009-be56-f48ca708da01 At line:1 char:1 + Add-AppxPackage -DisableDevelopmentMode -Register 'c:\program files\w ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (C:\program file...ppxManifest.xml:String) [Add-AppxPackage], Exception + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand Add-AppxPackage : Deployment failed with HRESULT: 0x80073CF9, Install failed. Please contact your software vendor. (Exception from HRESULT: 0x80073CF9) Windows cannot install package Microsoft.MicrosoftEdge.Stable_114.0.1823.41_neutral__8wekyb3d8bbwe because its does not declare support for an external location. NOTE: For additional information, look for [ActivityId] 8cf27c43-08a7-0002-e79f-f58ca708da01 in the Event Log or use the command line Get-AppPackageLog -ActivityID 8cf27c43-08a7-0002-e79f-f58ca708da01 At line:1 char:1 + Add-AppxPackage -DisableDevelopmentMode -Register 'c:\program files\w ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : WriteError: (C:\program file...ppxManifest.xml:String) [Add-AppxPackage], IOException + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand Add-AppxPackage : Deployment failed with HRESULT: 0x80073CF9, Install failed. Please contact your software vendor. (Exception from HRESULT: 0x80073CF9) Windows cannot install package Microsoft.MicrosoftEdge.Stable_114.0.1823.51_neutral__8wekyb3d8bbwe because its does not declare support for an external location. NOTE: For additional information, look for [ActivityId] 8cf27c43-08a7-000a-865f-f58ca708da01 in the Event Log or use the command line Get-AppPackageLog -ActivityID 8cf27c43-08a7-000a-865f-f58ca708da01 At line:1 char:1 + Add-AppxPackage -DisableDevelopmentMode -Register 'c:\program files\w ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : WriteError: (C:\program file...ppxManifest.xml:String) [Add-AppxPackage], IOException + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand Add-AppxPackage : Deployment failed with HRESULT: 0x80073CF9, Install failed. Please contact your software vendor. (Exception from HRESULT: 0x80073CF9) Windows cannot install package Microsoft.MicrosoftEdge.Stable_114.0.1823.82_neutral__8wekyb3d8bbwe because its does not declare support for an external location. NOTE: For additional information, look for [ActivityId] 8cf27c43-08a7-0009-b35a-f48ca708da01 in the Event Log or use the command line Get-AppPackageLog -ActivityID 8cf27c43-08a7-0009-b35a-f48ca708da01 At line:1 char:1 + Add-AppxPackage -DisableDevelopmentMode -Register 'c:\program files\w ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : WriteError: (C:\program file...ppxManifest.xml:String) [Add-AppxPackage], IOException + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand Add-AppxPackage : Deployment failed with HRESULT: 0x80073CF9, Install failed. Please contact your software vendor. (Exception from HRESULT: 0x80073CF9) Windows cannot install package Microsoft.MicrosoftEdge.Stable_115.0.1901.188_neutral__8wekyb3d8bbwe because its does not declare support for an external location. NOTE: For additional information, look for [ActivityId] 8cf27c43-08a7-0004-11d8-f38ca708da01 in the Event Log or use the command line Get-AppPackageLog -ActivityID 8cf27c43-08a7-0004-11d8-f38ca708da01 At line:1 char:1 + Add-AppxPackage -DisableDevelopmentMode -Register 'c:\program files\w ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : WriteError: (C:\program file...ppxManifest.xml:String) [Add-AppxPackage], IOException + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand Add-AppxPackage : Deployment failed with HRESULT: 0x80073CF9, Install failed. Please contact your software vendor. (Exception from HRESULT: 0x80073CF9) Windows cannot install package Microsoft.MicrosoftEdge.Stable_115.0.1901.203_neutral__8wekyb3d8bbwe because its does not declare support for an external location. NOTE: For additional information, look for [ActivityId] 8cf27c43-08a7-000a-885f-f58ca708da01 in the Event Log or use the command line Get-AppPackageLog -ActivityID 8cf27c43-08a7-000a-885f-f58ca708da01 At line:1 char:1 + Add-AppxPackage -DisableDevelopmentMode -Register 'c:\program files\w ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : WriteError: (C:\program file...ppxManifest.xml:String) [Add-AppxPackage], IOException + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand Add-AppxPackage : Deployment failed with HRESULT: 0x80073CF9, Install failed. Please contact your software vendor. (Exception from HRESULT: 0x80073CF9) Windows cannot install package Microsoft.MicrosoftEdge.Stable_116.0.1938.62_neutral__8wekyb3d8bbwe because its does not declare support for an external location. NOTE: For additional information, look for [ActivityId] 8cf27c43-08a7-0002-56a0-f58ca708da01 in the Event Log or use the command line Get-AppPackageLog -ActivityID 8cf27c43-08a7-0002-56a0-f58ca708da01 At line:1 char:1 + Add-AppxPackage -DisableDevelopmentMode -Register 'c:\program files\w ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : WriteError: (C:\program file...ppxManifest.xml:String) [Add-AppxPackage], IOException + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand Add-AppxPackage : Deployment failed with HRESULT: 0x80073CF9, Install failed. Please contact your software vendor. (Exception from HRESULT: 0x80073CF9) Windows cannot install package Microsoft.MicrosoftEdge.Stable_117.0.2045.31_neutral__8wekyb3d8bbwe because its does not declare support for an external location. NOTE: For additional information, look for [ActivityId] 8cf27c43-08a7-0003-a0a3-f38ca708da01 in the Event Log or use the command line Get-AppPackageLog -ActivityID 8cf27c43-08a7-0003-a0a3-f38ca708da01 At line:1 char:1 + Add-AppxPackage -DisableDevelopmentMode -Register 'c:\program files\w ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : WriteError: (C:\program file...ppxManifest.xml:String) [Add-AppxPackage], IOException + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand Add-AppxPackage : Deployment failed with HRESULT: 0x80073CF9, Install failed. Please contact your software vendor. (Exception from HRESULT: 0x80073CF9) Windows cannot install package Microsoft.MicrosoftEdge.Stable_118.0.2088.61_neutral__8wekyb3d8bbwe because its does not declare support for an external location. NOTE: For additional information, look for [ActivityId] 8cf27c43-08a7-000a-b25f-f58ca708da01 in the Event Log or use the command line Get-AppPackageLog -ActivityID 8cf27c43-08a7-000a-b25f-f58ca708da01 At line:1 char:1 + Add-AppxPackage -DisableDevelopmentMode -Register 'c:\program files\w ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : WriteError: (C:\program file...ppxManifest.xml:String) [Add-AppxPackage], IOException + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand Add-AppxPackage : Deployment failed with HRESULT: 0x80073D02, The package could not be installed because resources it modifies are currently in use. error 0x80073D02: Unable to install because the following apps need to be closed Microsoft.GamingServices_16.82.18001.0_x64__8wekyb3d8bbwe. NOTE: For additional information, look for [ActivityId] 8cf27c43-08a7-000a-316b-f58ca708da01 in the Event Log or use the command line Get-AppPackageLog -ActivityID 8cf27c43-08a7-000a-316b-f58ca708da01 At line:1 char:1 + Add-AppxPackage -DisableDevelopmentMode -Register 'c:\program files\w ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (C:\program file...ppxManifest.xml:String) [Add-AppxPackage], Exception + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand Add-AppxPackage : Deployment failed with HRESULT: 0x80073D02, The package could not be installed because resources it modifies are currently in use. error 0x80073D02: Unable to install because the following apps need to be closed Microsoft.GamingServices_16.82.18001.0_x64__8wekyb3d8bbwe. NOTE: For additional information, look for [ActivityId] 8cf27c43-08a7-0006-5948-f58ca708da01 in the Event Log or use the command line Get-AppPackageLog -ActivityID 8cf27c43-08a7-0006-5948-f58ca708da01 At line:1 char:1 + Add-AppxPackage -DisableDevelopmentMode -Register 'c:\program files\w ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (C:\program file...ppxManifest.xml:String) [Add-AppxPackage], Exception + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand Add-AppxPackage : Deployment failed with HRESULT: 0x80073D06, The package could not be installed because a higher version of this package is already installed. Windows cannot install package Microsoft.VCLibs.140.00.UWPDesktop_14.0.30704.0_x64__8wekyb3d8bbwe because it has version 14.0.30704.0. A higher version 14.0.32530.0 of this package is already installed. NOTE: For additional information, look for [ActivityId] 8cf27c43-08a7-0000-68cb-f48ca708da01 in the Event Log or use the command line Get-AppPackageLog -ActivityID 8cf27c43-08a7-0000-68cb-f48ca708da01 At line:1 char:1 + Add-AppxPackage -DisableDevelopmentMode -Register 'c:\program files\w ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (C:\program file...ppxManifest.xml:String) [Add-AppxPackage], Exception + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand Add-AppxPackage : Deployment failed with HRESULT: 0x80073D06, The package could not be installed because a higher version of this package is already installed. Windows cannot install package Microsoft.VCLibs.140.00_14.0.30704.0_x64__8wekyb3d8bbwe because it has version 14.0.30704.0. A higher version 14.0.32530.0 of this package is already installed. NOTE: For additional information, look for [ActivityId] 8cf27c43-08a7-0009-2c67-f48ca708da01 in the Event Log or use the command line Get-AppPackageLog -ActivityID 8cf27c43-08a7-0009-2c67-f48ca708da01 At line:1 char:1 + Add-AppxPackage -DisableDevelopmentMode -Register 'c:\program files\w ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (C:\program file...ppxManifest.xml:String) [Add-AppxPackage], Exception + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand Add-AppxPackage : Deployment failed with HRESULT: 0x80073D02, The package could not be installed because resources it modifies are currently in use. error 0x80073D02: Unable to install because the following apps need to be closed Microsoft.GamingServices_16.82.18001.0_x64__8wekyb3d8bbwe. NOTE: For additional information, look for [ActivityId] 8cf27c43-08a7-0006-8753-f58ca708da01 in the Event Log or use the command line Get-AppPackageLog -ActivityID 8cf27c43-08a7-0006-8753-f58ca708da01 At line:1 char:1 + Add-AppxPackage -DisableDevelopmentMode -Register 'c:\program files\w ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (C:\program file...ppxManifest.xml:String) [Add-AppxPackage], Exception + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand Add-AppxPackage : Deployment failed with HRESULT: 0x80073CF9, Install failed. Please contact your software vendor. Windows cannot install package SpotifyAB.SpotifyMusic_1.210.760.0_x86__zpdnekdrzrea0 because the package is currently paused. The package must be Staged in order to proceed. NOTE: For additional information, look for [ActivityId] 8cf27c43-08a7-0002-a3e4-f58ca708da01 in the Event Log or use the command line Get-AppPackageLog -ActivityID 8cf27c43-08a7-0002-a3e4-f58ca708da01 At line:1 char:1 + Add-AppxPackage -DisableDevelopmentMode -Register 'c:\program files\w ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : WriteError: (C:\program file...ppxManifest.xml:String) [Add-AppxPackage], IOException
+ FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand

Add-AppxPackage : Deployment failed with HRESULT: 0x80073CF9, Install failed. Please contact your software vendor.
(Exception from HRESULT: 0x80073CF9)
Common::Deployment::MsixvcStagingSession::MakePackageActivatable in MsixvcStagingSession failed with error 0x800706BE.
NOTE: For additional information, look for [ActivityId] 8cf27c43-08a7-0003-40cb-f38ca708da01 in the Event Log or use
the command line Get-AppPackageLog -ActivityID 8cf27c43-08a7-0003-40cb-f38ca708da01
At line:1 char:1
+ Add-AppxPackage -DisableDevelopmentMode -Register 'c:\program files\w ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : WriteError: (C:\program file...ppxmanifest.xml:String) [Add-AppxPackage], IOException
+ FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand


C:\WINDOWS\system32>

This is too complicated for someone who doesn't understand the command prompt, I would just give up.