It happened today when my start menu first stopped functioning. I tried to run PowerShell commands through the command prompt and all it has done was remove all my Windows 10 apps as well as the store. I can’t even run wsreset.exe without opening Microsoft Store. Is there any way to reinstall it through some way?
I did the solution mentioned here
and that worked for me.
open an elevated powershell (right click start -> “command prompt (admin)” -> enter “powershell”) and run the following command:
Get-AppXPackage -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml”}
Re-run it if it gets stuck for a long time. I had to do it couple of time…
This issue might occur if the Store app is corrupt.
I would suggest you to re-register Store app and check if it fixes the issue.
Run the command from the elevated command prompt to re-register Store app. In order to re-register Store app you need to run the below mentioned command in the command prompt.
- Press the Windows key + X.
- Select Command Prompt (Admin).
- Type the mentioned command: powershell -ExecutionPolicy Unrestricted Add-AppxPackage -DisableDevelopmentMode -Register $Env:SystemRoot\WinStore\AppxManifest.xml and hit enter.
- Press Windows and R keys to open the run box.
- Type ‘regedit’ and press Enter from the keyboard.
- Open the file option on the menu bar.
- Click on Export and save the file with a name on the desktop.
- If you want to restore the file, you can do so by double clicking the file that you have saved on the desktop.