Share via

Microsoft Store won't install via PowerShell

Anonymous
2023-11-17T13:52:21+00:00

I had to uninstall the store because it wasn't launching properly. To reinstall it, I've launched PowerShell as administrator and have pasted the following commands:

Get-AppxPackage -allusers Microsoft.WindowsStore | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}

PowerShell doesn't say anything back to me after I hit enter, and nothing happens, even after a restart.

Any ideas?

Windows for home | Windows 11 | 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

2 answers

Sort by: Most helpful
  1. Brink 16,570 Reputation points Volunteer Moderator
    2023-11-17T15:39:19+00:00

    Hello Bradley,

    You could see if the options in the tutorial below may reinstall the Microsoft Store app for you instead.

    https://www.elevenforum.com/t/reinstall-microsoft-store-app-in-windows-10-and-windows-11.11428/

    Was this answer helpful?

    0 comments No comments
  2. MR_MEOW 3,541 Reputation points
    2023-11-17T13:59:14+00:00

    Looks like you made a typo/error.

    Get-AppxPackage -AllUsers Microsoft.WindowsStore* | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$ ($_.InstallLocation)\AppXManifest.xml"

    Was this answer helpful?

    0 comments No comments