How to Install Microsoft Store via PowerShell

PowerShell can restore Microsoft Store for your Windows account when its package still exists on the PC. Check for that package first, then register it from a normal PowerShell window using the Windows login that needs Store access.

A completely removed package needs a different repair. Microsoft doesn't support downloading a replacement Store package from an unofficial installer site; its supported recovery is to reset or reinstall Windows.

1. Check your account from a normal PowerShell window

Use the Windows login where Microsoft Store is missing. Open Start, search for Windows PowerShell, and open it normally. Don't choose Run as administrator for this first check.

Drawing of Windows PowerShell checking the Microsoft Store package for the current user

Type the following, then press Enter:

Get-AppxPackage *Microsoft.WindowsStore*

This checks whether Store is registered for your account. Name : Microsoft.WindowsStore in the result means Windows recognizes it for this user. A missing shortcut or failed launch still needs attention.

Read PackageFamilyName and Status in the result. The expected family is Microsoft.WindowsStore_8wekyb3d8bbwe. The version and installation folder vary, so don't try to match a version number from another computer.

No output means this account doesn't have a matching registration. It doesn't tell you whether Store's files are missing from the whole PC. Check the other users next before trying an installation command.

The package checks are the same for Windows 11 and 10. A customized installation, a managed work PC, or an edition that doesn't include the Store needs its own administrator's guidance.

2. Look for the package across the PC

Open Start, search for Windows PowerShell again, and this time choose Run as administrator. Approve the permission request. If an administrator password is required and you don't have it, ask the administrator to run this check.

Run:

Get-AppxPackage *Microsoft.WindowsStore* -AllUsers

The -AllUsers option also checks the other Windows accounts on your PC. Microsoft's instructions use this result to confirm the package exists on the computer. Follow the Store registration procedure for that distinction.

If package details appear, continue to step 3 to register Store for your account. For an error, keep the complete text. An access error means checking how you opened PowerShell, not assuming Store has been erased.

If it completes with no matching package, skip to the Windows recovery section. Repeating a registration command can't replace files that aren't there. I'd check this result before trying a long command that changes every built-in app.

Close the administrator window once you've finished this check. Run the next command in a normal PowerShell window for the account that's missing Store. It's easy to mix up windows if you have several Terminal tabs open.

3. Register Store for the person who needs it

Return to the normal PowerShell window opened in step 1. If you closed it, open Windows PowerShell normally from the Windows account that's missing Store.

Run the registration command exactly as written:

Add-AppxPackage -RegisterByFamilyName -MainPackage Microsoft.WindowsStore_8wekyb3d8bbwe
Drawing of Windows PowerShell with the Microsoft Store registration command

This registers the existing package for that user. It uses the package already on your PC, so you don't need an internet download or the installation path from another computer.

The account matters. Running the command as administrator can register Store for that administrator instead. If you enter someone else's administrator login, your own Start menu can still be missing the app.

Wait until the prompt returns. If red error text appears, copy the error code and message before closing the window. Those details help tell whether registration failed, files are missing, or your organization is blocking the app.

Search Start for Microsoft Store and open it. First, check that the Store window opens and stays open. Then try opening an app's product page, since an app that launches can still have a separate download problem.

For a missing built-in calculator, installing Calculator without opening Store has its own package steps. The Store command doesn't install Calculator or other individual apps.

4. Treat opening and downloading as separate checks

If the Store window opens, then closes, the app is failing to stay open rather than simply missing from your account. If that happens, follow the Microsoft Store crash checks instead of repeating the same registration command.

A message that your organization has blocked Microsoft Store points to a policy. Ask the computer administrator whether Store access is allowed. Registering the app doesn't remove a company or school restriction.

If Store opens but app downloads fail, write down the download error separately. A firewall or proxy can block the online services Store needs, including Windows Update endpoints. Ask IT to check those connections on a managed network.

When you ask for help, say whether Store appears and opens, and whether you can download an app. That makes the next repair much clearer than reporting only that PowerShell didn't fix everything.

Don't remove Store to repair a failed download. Removing it can turn an app problem into a Windows recovery job, and the registration method depends on the package still being present.

5. Recover Windows when the package is gone

Microsoft's supported recovery for an uninstalled Store is to reset or reinstall the operating system. There isn't a supported standalone Store reinstall workaround on that page.

Copy personal files to another location before Windows recovery. Check the recovery option's description for what happens to installed programs and settings. A failed PowerShell command isn't a reason to select an erase option.

Give IT both package-query results before recovering an organization-managed PC. If your organization uses a customized copy of Windows, follow its recovery process. The administrator can check whether that copy should include Store.

For a personal PC, ask Windows support for help restoring the missing Microsoft.WindowsStore package. Include your Windows version, whether the all-users query found it, and the registration error if there was one.

The Short Version

Check Store in normal PowerShell, use an administrator window only for the all-users check, then register the existing package from the account that's missing Store. A fully removed Store needs supported Windows recovery.

Checked December 2, 2026.

If you have any business, I can build it online

Hi, I’m Hamza. I’ve been building websites and online shops for business owners since 2019, and I also built this site you’re reading.

Tell me what business you have or what you’re working on. I’ll look into how much it can grow online, and then we talk. You don’t have to buy anything or hire me first.

Chat with me on my site and I’ll show you proof of businesses I’ve helped and how they’ve grown.

Written by Isaac Smith

Isaac Smith is the founder and editor of PC Glance, a website that covers computers, laptops, and technology. He is a tech enthusiast and a computer geek who loves to share his insights and help his readers make smart choices when buying tech gadgets or laptops. He is always curious and updated about the latest tech trends.

More from Isaac Smith

Leave a Comment