Home  >  Article  >  Fix: Microsoft Store not working after reset in Windows 11/ 10

Fix: Microsoft Store not working after reset in Windows 11/ 10

WBOY
WBOYforward
2023-04-15 13:31:033540browse

Microsoft Store has expanded its catalog of apps and games along with a UI overhaul in some recent updates. However, newer updates don't always patch older bugs and known issues. One of the issues is that the Store is not functioning properly after resetting Windows 11/10. If you are facing the same issue of your store not working properly and you are looking for a solution, you are at the right place.

Fix 1 – Using the WSreset command

You can run this single line of code to reset the Store application on your system.

1. You must press the Windows icon and enter "wsreset".

2. Now, you can click on " wsreset " to start the reset process.

Fix: Microsoft Store not working after reset in Windows 11/ 10

#Windows will automatically reset Store apps in a few seconds.

After completing this operation, start the Store and check whether the Store is working properly.

Fix 2 – Run the powershell script

If resetting the Store does not resolve the issue, you must run this powershell script.

1. You must open PowerShell as an administrator. So type "PowerShell" in the search box.

2. Later, right-click "Windows PowerShell" in the search results, and then click "Run as administrator".

Fix: Microsoft Store not working after reset in Windows 11/ 10

3. Now, quickly copy these lines and paste them into the PowerShell Terminal and press Enter Execute the script.

# 获取所有提供的包$Packages = (get-item 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\Applications') | 获取子项# 如果提供了过滤器,则过滤列表$PackageFilter = $args[0]if ([string]::IsNullOrEmpty($PackageFilter)){echo "未指定过滤器,正在尝试重新注册所有已配置的应用程序。"}别的{$包 = $包 | 其中 {$_.Name -like $PackageFilter}if ($Packages -eq $null){echo "没有配置的应用程序与指定的过滤器匹配。"出口}别的{echo "注册与 $PackageFilter 匹配的已配置应用程序"}}ForEach($Packages 中的$Package){# 获取包名和路径$包名 = $包 | 获取项目属性 | 选择对象-ExpandProperty PSChildName$PackagePath = [System.Environment]::ExpandEnvironmentVariables(($Package | Get-ItemProperty | Select-Object -ExpandProperty Path))# 注册包echo "正在尝试注册包:$PackageName"添加-AppxPackage -register $PackagePath -DisableDevelopmentMode}

Fix: Microsoft Store not working after reset in Windows 11/ 10

Now, wait until all commands are executed and then close the terminal. Afterwards, restart the system.

After restarting the system, start the Store and test it.

Fix 3 – Reset Store

You can reset your store from the Settings page.

1. Just right-click on the Windows icon and click "Apps and Features".

Fix: Microsoft Store not working after reset in Windows 11/ 10

#2. If you scroll down the right pane, you will find all installed applications.

3. Next, click on “” and click on “Advanced Options”.

Fix: Microsoft Store not working after reset in Windows 11/ 10

4. Once you open the advanced options, you will find several settings here.

5. In the reset section, click "Repair" to start repairing the store.

After you find that the repair process is complete, launch the Store and test whether it worked.

Fix: Microsoft Store not working after reset in Windows 11/ 10

If the store does not open again/crashes, you must reset the app.

6. Now, click on "Reset" to reset the application. Again, click on the "Reset" option to assert the prompt.

Fix: Microsoft Store not working after reset in Windows 11/ 10

After resetting, close the Store window.

Fix 4 – Delete old corrupt folders

You must pause some critical Windows Update services and rename the software distribution folder, then restart these services.

1. You can complete the entire operation directly from the CMD terminal. But first, you have to open it.

So, press the Windows key once and enter "cmd" in the search box.

2. Now, when “Command Prompt” appears in the results, right-click on it and click on “Run as administrator”.

Fix: Microsoft Store not working after reset in Windows 11/ 10

#3. You must suspend certain WU-related services. Just copy and paste these four commands one by one into the terminal, and then press the Enter button to execute these commands in sequence.

净停止 wuauserv净停止 cryptSvc净停止位净停止 msiserver

Fix: Microsoft Store not working after reset in Windows 11/ 10

#4. After executing all four commands, you can rename the SoftwareDistribution folder. So,

execute these commands as before.

ren C:\Windows\SoftwareDistribution SoftwareDistribution.bak任 C:\Windows\System32\catroot2 catroot2.bak

Fix: Microsoft Store not working after reset in Windows 11/ 10

5. Now that you have renamed the SoftwareDistribution folder, you can run all these commands to resume those suspended services.

Write these codes one at a time, and then press the Enter key.

净启动 wuauserv网络启动 cryptSvc网络起始位网络启动 msiserver

Fix: Microsoft Store not working after reset in Windows 11/ 10

Close the command prompt terminal page and restart the system once.

Open the store and check if this solves your problem.

The above is the detailed content of Fix: Microsoft Store not working after reset in Windows 11/ 10. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:yundongfang.com. If there is any infringement, please contact admin@php.cn delete