When you run wsreset.exe, if you receive an error message — Windows cannot find ms-windows-storePurgeCaches — then this post may help you. It happens because of corruption in file or permission or registry issues.
What is wsreset.exe?
It’s a Windows Store Reset tool that can remove all cache and temporary files of the Microsoft Store. When you cannot download applications even with a stable connection, you can use this to reset and successfully download the apps and games.
What is ms-windows-storePurgeCaches?
When you execute the wsreset.exe command, it executes an internal command— ms-windows-storePurgeCaches—where ms-windows-store is the store app & the PurgeCaches points to the process where the cache purges.
Windows cannot find ms-windows-storePurgeCaches
When you run the Windows Store Reset Command, it shows an error— Windows cannot find ms-windows-storePurgeCaches is missing or cannot find path ‘c:\windows\winstore\appxmanifest.xml’ because it does not exist —then try these suggestions:
- Re-register the Store App
- Run System File Checker
- Delete the Local Cache of the Microsoft Store
- Run Windows Store Troubleshooter
- Create full Permissions for Store via Registry
You will need admin permission to resolve the problem.
1] Re-register the Store App
Open PowerShell with admin privileges, and execute the following commands. It will re-register the Windows Store app and fix any corruption within. So when you run the Windows Store Reset, it will not give an error.
PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *WindowsStore*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
Get-AppxPackage -allusers Microsoft.WindowsStore | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)AppXManifest.xml"}
2] Run System File Checker
System File Checker utility fixes any corrupt file throughout the system. If there is a file related to Microsoft Store that needs a fix, it will fix it.
- Type cmd in the Run prompt, and use Shift + Enter to launch it with admin privileges.
- Type the command—
SFC /scannow
—and press the Enter key. - Once the process is complete, it will display a list of files that were replaced.
Rerun the reset command, and check if it works.
3] Delete Local Cache of Microsoft Store
Go to Settings> Apps > Apps & features> Click on Microsoft Store > Advanced options> Reset.
This will delete all the files and folders of the local cache related to the Store.
4] Run Windows Store Troubleshooter
Windows 10 offers a built-in troubleshooter, which can fix most of the problems when used. Go to Windows 10 Settings > Update and Security > Troubleshoot > Additional troubleshooters.
Locate Windows Store Apps, select it, and click on the Run the troubleshooter.
5] Create full Permissions for Store via Registry
Open Registry Editor by typing Regedit in the Run prompt (Win + R) followed by pressing the Enter key. Once it opens, navigate to the following path:
HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\AppModel\Repository\Packages
Right-click on the Packages key, and select permissions. In the permission window, it will reveal the owner’s name.
If it’s anything other than the SYSTEM, then change it to SYSTEM, and make sure to select to replace all child object permission entries with inheritance permission entries from this object.
Related: Windows cannot find Make sure you typed the name correctly.
FAQs related to Windows cannot find ms-windows-storePurgeCaches
Here is the list of frequently asked questions about this error.
How do I fix Windows Store Purgecaches?
You can re-register Windows Store or Microsoft Store using the PowerShell command.
Why is Microsoft Store Not Working?
It is possible that the file store is corrupt or doesn’t have the System owner’s permission. You can reset using the wsreset.exe utility to fix it.
Can’t open Windows Store?
Follow our detailed guide on what you can do when you cannot open Microsoft Store.
How do I reinstall Windows Store?
Windows Store or Microsoft Store can be reinstalled like any other app using the Get-AppxPackage command, which you can run on PowerShell.
Get-AppxPackage -allusers Microsoft.WindowsStore | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)AppXManifest.xml"}
I hope the post was informative enough, and you were able to fix the issue related to the error message— Windows cannot find ms-windows-storePurgeCaches