如果你非常依赖 Microsoft Store 下载应用、游戏和电影,那么让Microsoft Store在你的 PC 上保持最佳状态至关重要。如果程序出现故障,删除并重新安装它可能有助于使其正常工作。
按照此故障排除教程中的说明在Windows 10和 11
中重置、修复和重新安装MS Store 。

重新安装Microsoft Store 应用程序之前(Microsoft Store App)
你应该在计算机上重新安装Microsoft Store的原因有多种。例如,这可能是因为您在安装应用程序(trouble installing apps)时遇到问题、遇到神秘的错误代码(encounter cryptic error codes)或发现商店本身不见了(find the store itself missing)。
但是,在卸载并重新安装Microsoft Store之前,最好清除程序的缓存,然后重置并修复程序。更新Windows(Windows)也是一个好主意。
这些操作通常可以清除小的技术故障,甚至可以让你完全避免重新安装Microsoft Store。更好的是,它们执行起来又快又容易。
清除 Windows 应用商店缓存
Windows 10 和 11 具有内置的Microsoft Store重置工具。它会自动清除Microsoft Store缓存,是修复意外问题的最快方法。
- 按Windows + R打开“运行”(Run)对话框。
- 键入 wsreset.exe 并按 Enter。
- 出现一个空白的命令提示符(Command Prompt)控制台窗口,随后立即
出现Microsoft Store。(Microsoft)

了解清除 Microsoft Store 缓存的其他方法(other ways to clear the Microsoft Store cache)。
运行 Windows 应用商店应用疑难解答(Run Windows Store Apps Troubleshooter)
使用Windows 应用商店应用(Windows Store Apps)疑难解答扫描并修复Microsoft Store中的问题。与Microsoft Store重置工具一样,它内置于操作系统中,因此你无需下载任何内容。
- 右键单击(Right-click)“开始(Start)”按钮并选择“设置”(Settings)。
- 转到System > Troubleshoot > Other/Additional疑难解答。
- 选择Windows 应用商店应用(Windows Store Apps)旁边的运行(Run)。

修复微软商店
(Repair)通过Windows中的应用(Apps)和功能(Features)控制台修复Microsoft Store ,以消除应用程序的文件损坏问题。
- 右键单击(Right-click)“开始(Start)”按钮并选择“应用程序(Apps)和功能(Features)” 。
- 向下滚动(Scroll)并选择Microsoft Store > Advanced选项。在Windows 11中,选择更多(More)(三个点)以将高级(Advanced)选项显示为菜单项。
- 选择修复。

重置微软商店
将Microsoft Store(Microsoft Store)重置为出厂默认设置,以解决由损坏的设置配置引起的问题。执行此操作后准备(Prepare)使用你的Microsoft 帐户(Microsoft Account)重新登录。
- 重新访问应用程序(Apps)和功能(Features)控制台。
- 向下滚动(Scroll)并选择Microsoft Store > Advanced选项。
- 选择重置按钮。

更新微软视窗
通过Windows Update(Windows Update)安装最新的操作系统更新,以修复Windows和Microsoft Store之间的潜在冲突。您可以跳过此步骤并在重新安装Microsoft Store后更新(Microsoft Store)Windows。
- 打开设置。
- 选择 Windows 更新。
- 选择检查(Select Check)更新 >下载(Download)并安装。

通过PowerShell重新安装Microsoft Store 应用程序(Microsoft Store App)
如果修复或重置Microsoft Store没有帮助,是时候删除该程序并从头开始安装了。与其他应用程序不同,您无法通过Windows中的“(Windows)应用程序(Apps)和功能(Features)”控制台将其删除。相反,您必须使用提升的Windows PowerShell控制台进行卸载和重新安装。
注意:如果您有标准的Windows帐户,请让具有管理权限的用户重新安装Microsoft Store。
- 右键单击(Right-click)“开始(Start)”按钮并选择Windows PowerShell/Terminal ( Admin )。或者在“开始(Start)”菜单中键入 powershell,然后选择“以管理员身份
运行” 。(Run)

- 在“用户帐户控制(User Account Control)”对话框中
选择“是”。(Yes)

- 将以下内容复制并粘贴到命令行解释器中:
获取 AppxPackage -allusers *WindowsStore* | 删除 AppxPackage

- 按 Enter(Press Enter)并等待Windows PowerShell删除Microsoft Store。
- 关闭(Shut)并重新启动计算机。
- 重新启动(Relaunch)提升的Windows PowerShell控制台并执行命令以重新安装Microsoft Store。
获取 AppxPackage -allusers Microsoft.WindowsStore | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)AppXManifest.xml”}

或者,重新安装Microsoft Store和所有与Windows捆绑的应用商店(Store)应用。仅当问题严重并影响多个应用程序时才这样做。执行以下PowerShell命令:
- 获取 AppXPackage | 删除 AppxPackage
- 获取 AppXPackage -allusers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)AppXManifest.xml”}
重新安装Windows 应用商店(Windows Store)的替代方法(Method)
重新安装Microsoft Store(Microsoft Store)的另一种方法是通过Windows PowerShell将其删除,但使用来自(Windows PowerShell)Microsoft服务器的最新应用程序包文件将程序重新添加。但是,生成下载链接的唯一方法是通过第三方下载门户。
注意:如果您担心下载的应用程序包的安全性,请使用适用于 Windows 的第三方防病毒实用程序(use a third-party antivirus utility for Windows)来检查文件是否存在安全威胁。
- 将以下链接复制并粘贴到浏览器的地址栏中,然后按 Enter:
store.rg-adguard.net 网站

- 在显示的页面上,在第一个下拉列表中切换到 ProductID。
- 在搜索框中输入 9wzdncrfjbmp。
- (Select Retail)在第二个下拉列表中
选择 Retail 。
- 选择复选标记(Checkmark)图标并等待门户从Microsoft获取相关链接。

- 下载以下(Download)AppX和MSIXBundle安装程序的最新版本。您可能会看到同一包的两个版本,因此请使用文件名中的版本号作为指导。
- Microsoft.NET.Native.Framework.2.2_2.2.29512.0_x64__8wekyb3d8bbwe.appx
- Microsoft.NET.Native.Runtime.2.2_2.2.28604.0_x64__8wekyb3d8bbwe.appx
- Microsoft.UI.Xaml.2.7_7.2208.15002.0_x64__8wekyb3d8bbwe.appx
- Microsoft.VCLibs.140.00_14.0.30704.0_x64__8wekyb3d8bbwe.appx
- Microsoft.WindowsStore_22210.1401.6.0_neutral_~_8wekyb3d8bbwe.msixbundle

注意:如果您使用 32 位或ARM版本的Windows,请确保下载AppX安装程序(列表中的前四项),它们分别在文件名中包含 x86 或 arm。
- 访问您计算机的Downloads文件夹,依次运行四个AppX安装程序,然后选择Install。

- 运行MSIXBundle安装程序并选择Install。
如果您在安装任何AppX安装程序时遇到问题,请使用以下命令
通过Windows PowerShell安装它们:(Windows PowerShell)
Add-AppxPackage -Path “C:Users[Username]Downloads ilename.Appx”
将 C :Users[Username]Downloads ilename.Appx 替换为(Replace C)AppX包的文件夹路径和文件名。最后,重新运行MSIXBundle。
您已完成在Windows中重新安装(Windows)Microsoft Store
重新安装Microsoft Store并不能解决程序出现的所有问题。因此,您可能需要继续进行故障排除以解决完全困扰它的任何问题。
我们有几篇解决各种Microsoft Store错误的疑难解答文章。选择屏幕顶部的
“搜索”按钮以查找针对您的特定问题的相关指南。(Search)
How to Reinstall Microsoft Store in Windows
Keeping the Microsoft Store in top shape on your PC is crucial if yoυ rely on it a lot to download apps, games, and moνiеs. If thе program malfunctions, removing and reinstalling it could help get it working correctly.
Go through the instructions in this troubleshooting tutorial to reset, repair, and reinstall the MS Store in Windows 10 and 11.

Before You Reinstall the Microsoft Store App
There are several reasons why you should reinstall the Microsoft Store on your computer. For example, it could be because you have trouble installing apps, encounter cryptic error codes, or find the store itself missing.
However, before you uninstall and reinstall the Microsoft Store, it’s best to clear the program’s cache, and then reset and repair the program. It’s also a good idea to update Windows.
These actions often clear minor technical glitches and could even allow you to avoid reinstalling the Microsoft Store altogether. Even better, they are quick and easy to perform.
Clear Windows Store Cache
Windows 10 and 11 have a built-in Microsoft Store reset tool. It automatically clears the Microsoft Store cache and is the fastest way to fix unexpected problems.
- Press Windows + R to open a Run dialog.
- Type wsreset.exe and press Enter.
- A blank Command Prompt console window appears, and the Microsoft Store shows up immediately after.

Learn about other ways to clear the Microsoft Store cache.
Run Windows Store Apps Troubleshooter
Use the Windows Store Apps troubleshooter to scan and fix the Microsoft Store for problems. Like the Microsoft Store reset tool, it’s built into the operating system, so you don’t have to download anything.
- Right-click the Start button and select Settings.
- Go to System > Troubleshoot > Other/Additional troubleshooters.
- Select Run next to Windows Store Apps.

Repair Microsoft Store
Repair the Microsoft Store via the Apps & Features console in Windows to eliminate file corruption issues with the application.
- Right-click the Start button and select Apps and Features.
- Scroll down and select Microsoft Store > Advanced options. In Windows 11, select More (three dots) to unveil Advanced options as a menu item.
- Select Repair.

Reset Microsoft Store
Reset the Microsoft Store to factory defaults to resolve problems that stem from a broken settings configuration. Prepare to sign back in with your Microsoft Account after you do that.
- Revisit the Apps & Features console.
- Scroll down and select Microsoft Store > Advanced options.
- Select the Reset button.

Update Microsoft Windows
Install the latest operating system updates through Windows Update to fix potential conflicts between Windows and the Microsoft Store. You can skip this and update Windows after reinstalling the Microsoft Store.
- Open Settings.
- Select Windows Update.
- Select Check for updates > Download and install.

Reinstall Microsoft Store App via PowerShell
If repairing or resetting the Microsoft Store did not help, it’s time to delete the program and install it from scratch. Unlike other applications, you can’t remove it via the Apps & Features console in Windows. Instead, you must use an elevated Windows PowerShell console for uninstallation and reinstallation.
Note: If you have a standard Windows account, ask a user with administrative privileges to reinstall the Microsoft Store.
- Right-click the Start button and select Windows PowerShell/Terminal (Admin). Or type powershell into the Start menu and select Run as administrator.

- Select Yes on the User Account Control dialog.

- Copy and paste the following into the command line interpreter:
Get-AppxPackage -allusers *WindowsStore* | Remove-AppxPackage

- Press Enter and wait until Windows PowerShell removes the Microsoft Store.
- Shut down and reboot your computer.
- Relaunch an elevated Windows PowerShell console and execute the command to reinstall the Microsoft Store.
Get-AppxPackage -allusers Microsoft.WindowsStore | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml”}

Alternatively, reinstall the Microsoft Store and all Store apps bundled with Windows. Only do that if the problem is severe and affects multiple applications. Execute the PowerShell commands below:
- Get-AppXPackage | Remove-AppxPackage
- Get-AppXPackage -allusers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml”}
Alternative Method to Reinstall Windows Store
Another way to reinstall the Microsoft Store is to remove it via Windows PowerShell, but add the program back using the latest application package files from the Microsoft servers. However, the only way to generate the download links is through a third-party download portal.
Note: If you’re concerned about the safety of the application packages you download, use a third-party antivirus utility for Windows to check the files for security threats.
- Copy and paste the following link into your browser’s address bar and press Enter:
store.rg-adguard.net

- On the page that shows up, switch to ProductID on the first drop-down.
- Type 9wzdncrfjbmp into the search box.
- Select Retail on the second drop-down.
- Select the Checkmark icon and wait until the portal fetches the relevant links from Microsoft.

- Download the most recent versions of the following AppX and MSIXBundle installers. You may see up to two versions of the same package, so use the version numbers within the file name for guidance.
- Microsoft.NET.Native.Framework.2.2_2.2.29512.0_x64__8wekyb3d8bbwe.appx
- Microsoft.NET.Native.Runtime.2.2_2.2.28604.0_x64__8wekyb3d8bbwe.appx
- Microsoft.UI.Xaml.2.7_7.2208.15002.0_x64__8wekyb3d8bbwe.appx
- Microsoft.VCLibs.140.00_14.0.30704.0_x64__8wekyb3d8bbwe.appx
- Microsoft.WindowsStore_22210.1401.6.0_neutral_~_8wekyb3d8bbwe.msixbundle

Note: If you use a 32-bit or the ARM version of Windows, make sure to download the AppX installers—the first four items on the list—that contain x86 or arm in the file name, respectively.
- Visit your computer’s Downloads folder, and run the four AppX installers one after the other, and select Install.

- Run the MSIXBundle installer and select Install.
If you have trouble installing any of the AppX installers, install them via Windows PowerShell using the following command:
Add-AppxPackage -Path “C:\Users\[Username]\Downloads\filename.Appx”
Replace C:\Users\[Username]\Downloads\filename.Appx with the folder path and filename of the AppX package. Finally, rerun the MSIXBundle.
You’ve Finished Reinstalling the Microsoft Store in Windows
Reinstalling the Microsoft Store is not the remedy to all complications that crop up with the program. So, you might need to continue troubleshooting to resolve whatever issues are plaguing it fully.
We have several troubleshooting articles that address various Microsoft Store errors. Select the Search button at the top of the screen to look up relevant guides for your specific problem.