Microsoft Store - PowerShell or CMD Manual Install???

Anonymous
2023-08-08T18:49:59+00:00

I'm runing Windows 11 Home Edition. I tweaked my system for better performance via Scripts, and I inadvertently unistalled the Microsoft Store App. I do not want to perform a system restore or reinstall Windows 11 to get the Microsoft Store App back as it will undo the changes I have made and I will have to go back through the whole process.

My question is:

"Is there a PowerShell or CMD Line Script that I can use to maually reinstall the Microsoft Store App?"

Thanks.

Windows for home | Windows 11 | Install and upgrade

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
{count} votes

4 additional answers

Sort by: Most helpful
  1. Anonymous
    2023-08-08T19:04:21+00:00

    I must have really done a number on the Microsoft Store App. Thank you for the prompt response. I thought I would go with Winget first but I got,

    PS C:\Users\theye> winget install 9WZDNCRFJBMP​
    No package found matching input criteria.

    So whe I used,

    wsreset -i

    It said I needed a new app

    When I ran,

    winget list

    Microsoft Store package shows as installed.

    So I tried,

    winget install Microsoft Store

    It found the package already installed, tried to upgrade, and shut down saying I did not accept the user agreement. But it didn't give me the option. It just ran through no-stop..

    Still no Microsoft Store App.

    0 comments No comments
  2. Brink 16,405 Reputation points Volunteer Moderator
    2023-08-08T19:23:05+00:00

    In that case, you could try doing a repair install of Windows 11 below to hopefully restore the Microsoft Store app without losing anything.

    https://www.elevenforum.com/t/repair-install-windows-11-with-an-in-place-upgrade.418/

    0 comments No comments
  3. Anonymous
    2023-08-08T19:38:29+00:00

    I do not kow if it was "wsreset -i" (I tried runnig wsreset -i cmdlet several times) or what, because I never got an "install completed" or even "started" msg, but Microsoft Store is back.

    Thank you.

    0 comments No comments
  4. Brink 16,405 Reputation points Volunteer Moderator
    2023-08-08T20:11:54+00:00

    Great news. You're most welcome.

    0 comments No comments