Share via

microsoft store not reinstalling

Anonymous
2021-10-15T06:10:28+00:00

i have recently uninstalled microsoft store because it was not working now it is not reinstalling when i try the command : Get-AppXPackage -AllUsers |Where-Object {$_.InstallLocation -like "*SystemApps*"} | Foreach {Add
-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}

it displayed :

Add-AppxPackage : Deployment failed with HRESULT: 0x80073D02, The package could not be installed because resources it
modifies are currently in use.
error 0x80004004: Unable to install because the following apps need to be closed
Microsoft.Windows.Cortana_cw5n1h2txyewy!CortanaUI.
NOTE: For additional information, look for [ActivityId] 070eb663-c125-0000-78ff-0e0725c1d701 in the Event Log or use
the command line Get-AppxLog -ActivityID 070eb663-c125-0000-78ff-0e0725c1d701
At line:1 char:94

  • ... | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.I ...
  •             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
    
    • CategoryInfo : NotSpecified: (C:\Windows\Syst...ppXManifest.xml:String) [Add-AppxPackage], Exception
    • FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand

then i tried the file from internet to install store but it said that it was meant for windows 10 version 1709 or later

my computer is windows 10 enterprise version 10.0

Windows for home | Windows 10 | Microsoft Store

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

1 answer

Sort by: Most helpful
  1. Anonymous
    2021-10-15T08:02:59+00:00

    Hi, I'm Bianca, an Independent Advisor.

    I suggest that you run the System File Checker to check if there are corrupted files which might be causing this problem.

    To run it, follow these steps:

    Open Command Prompt and Run it as administrator. Select Yes to make changes on the prompt where it will ask for changes to be made to your PC.

    Type this command: DISM.exe /Online /Cleanup-image /Restorehealth

    Then press Enter

    Wait for the message that says "The operation completed successfully."

    Type another command: sfc/scannow

    Then press Enter

    After the verification is complete, restart your PC and see if you have the same problem.

    Please let me know if this does not work or if you've tried this already. I might have another possible solution to try after this one. Also, feel free to choose a rating on how I assisted you today.

    Was this answer helpful?

    0 comments No comments