[SOLVED] Microsoft Store Reinstallation Help

NordinTheLich

New member
Joined
Aug 3, 2022
Posts
2
I'm trying to reinstall the Microsoft Store, and have been following a lot of online guides that tell me to use Powershell. However, whenever I try to run the "Get -AppXPackage" command, I am not receiving any sort of verification that it was successful, and it instead just changes the input prompt from "PS C:\WINDOWS\system32> " to just ">> " and I am not sure where to go from here. I found another guide online telling me to use "Add-AppxPackage -Path C:¥Program Files¥WindowsApps¥Microsoft.WindowsStore_22205.1401.13.0_x64__8wekyb3d8bbwe¥AppxManifest.xml -Register" but when I tried this, I received the following error: MSStrError.PNG

Any assistance would be greatly appreciated. I understand these sort of threads have been already made, but I felt it would be better to post another than to necro one of those posts. I hope this is not an issue.
 
You can reset or repair Microsoft Store from Settings app right-click Microsoft Store from Start Menu and click App Settings.

If you want to re-register Microsoft Store from PowerShell, execute the below command.


Code:
Get-AppXPackage *WindowsStore* -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
 
You can reset or repair Microsoft Store from Settings app right-click Microsoft Store from Start Menu and click App Settings.

If you want to re-register Microsoft Store from PowerShell, execute the below command.


Code:
Get-AppXPackage *WindowsStore* -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
I assume I should replace the "InstallLocation" in "$($_.InstallLocation)" with the install directory?

Edit: Nevermind, just ran it exactly as you posted it and I believe that worked.
 

Has Sysnative Forums helped you? Please consider donating to help us support the site!

Back
Top