Hello, how are you?
Welcome to the Microsoft Community!
My name is Paloma B., I'm an independent advisor, I'm here to help you in the best possible way.
I understand you had trouble reinstalling the Microsoft Store.
My sincere apologies, I was a little doubtful reading the question.
Please let me know if now PowerShell doesn't open anymore, or if when I run the command to install the store it crashes?
To reinstall the Store, the procedure is as follows.
- Press Windows+X and select PowerShell (Admin);
- Type the commands in the sequence below and press Enter:
Set-ExecutionPolicy Unrestricted [Enter]
A [Enter]
Get-AppxPackage *windowsstore* | Remove-AppxPackage [Enter]
- Restart your computer;
- Press Windows + X and select PowerShell (Admin);
- Enter the command below to install the store again:
Get-AppxPackage -allusers Microsoft.*WindowsStore* | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"} [Enter]
- Check if the problem still exists.
I await news.
If these procedures helped you in any way, please click on "I solved my problem" and also mark as an answer, so you can help others users.
We will always be available for whatever you need!