Microsoft Store Cache: What It Is and How to Clear It
The Microsoft Store cache is a local repository of temporary files, app packages, images, and licensing data that the Store app uses to load faster and work offline. Clearing it removes stale or corrupted data that can cause download failures, update errors, or a blank Store window, and it is safe to do because Windows rebuilds the cache automatically.
What the Microsoft Store Cache Actually Contains
The cache is not a single file but a set of folders and databases under your user profile. The main locations include:
- LocalCache inside
%LocalAppData%\Packages\Microsoft.WindowsStore_8wekyb3d8bbwe— holds images, page data, and temporary downloads for the Store interface. - AppRepository under
%ProgramData%\Microsoft\Windows\AppRepository— stores package metadata and staging files used when installing or updating apps. - Windows Update cache (SoftwareDistribution) — the Store relies on Windows Update components for delivery, so its cache can affect Store downloads too.
These files are regenerated as needed. Deleting them does not uninstall your apps or remove your purchases; it only forces the Store to fetch fresh data the next time it runs.
Why the Cache Causes Problems
Over time the cache can grow large or become inconsistent. Common triggers include interrupted downloads, failed updates, disk errors, or switching between Windows versions. When the cache holds a partial package or a damaged index, the Store may:
- Show error codes such as 0x80070005 or 0x80240438 during downloads.
- Open to a blank or grey window.
- Fail to detect available updates for installed apps.
- Get stuck on “Starting download” or “Pending.”
Clearing the cache is a standard first troubleshooting step because it is low-risk and often resolves these symptoms without deeper repairs.
How to Clear the Microsoft Store Cache with WSReset
Windows includes a built-in tool called wsreset.exe that resets the Store cache and opens the Store when finished. The steps are:
- Close the Microsoft Store app if it is open.
- Press Windows key + R to open the Run dialog.
- Type
wsreset.exeand press Enter. - Wait for a blank Command Prompt window to close on its own — this can take a minute or two.
- The Store should open automatically. If it does not, open it from the Start menu.
If wsreset.exe does not work, you can clear the cache manually by deleting the contents of the LocalCache folder. Close the Store first, then navigate to the package folder above and delete the files inside LocalCache. Do not delete the folder itself. Restart the Store afterward.
Clearing the Windows Update and Delivery Optimization Caches
Because Store downloads use Windows Update infrastructure, clearing those caches can help when wsreset alone does not. The safe method is through built-in tools rather than manual deletion:
- Open Settings > System > Storage > Temporary files and remove temporary files, which can include delivery optimization data.
- Use Disk Cleanup and select “Delivery Optimization Files” if listed.
- Run the Windows Store Apps troubleshooter from Settings > System > Troubleshoot > Other troubleshooters.
Manually deleting the SoftwareDistribution folder is possible but requires stopping the Windows Update service first and is better left to advanced users; the built-in cleanup tools achieve the same result with less risk.
Common Problems and What They Mean
Not every Store error is a cache problem. Distinguishing them saves time:
- Error 0x80070005 often indicates a permissions issue; clearing the cache may help, but check that your user account has full control of the package folders.
- Error 0x80240438 usually points to network or proxy problems; resetting the cache is worth trying, but also verify your connection and date/time settings.
- Blank Store window is frequently cache-related and often fixed by
wsreset.exe. - Apps won’t update can be caused by a stuck cache, but also by insufficient disk space or a pending Windows update.
If clearing the cache does not resolve the issue, re-registering the Store app with a PowerShell command is a common next step, though it requires care and administrator rights.
Is It Safe? What You Lose and What You Keep
Clearing the Microsoft Store cache is safe for your files, apps, and purchases. The Store cache contains only temporary and regenerable data. You will not lose installed applications, saved documents, or account information. The main effects are:
- The Store may take slightly longer to open the first time after clearing.
- Some interface images or page data reload from the internet.
- Any in-progress download may need to be restarted.
You should avoid deleting folders outside the documented cache locations, as some contain licensing or configuration data that is harder to rebuild. Sticking to wsreset.exe and the LocalCache folder is the safest approach.
Frequently Asked Questions
Does clearing the Microsoft Store cache delete my installed apps?
No. The cache holds temporary data, not the apps themselves. Installed apps and their settings remain intact.
Will I lose my purchases or account sign-in?
No. Purchases are tied to your Microsoft account, and clearing the cache does not sign you out or remove your library.
How often should I clear the cache?
Only when you experience Store problems. Routine clearing is unnecessary because Windows manages the cache automatically.
What if wsreset.exe does nothing?
Try running it as administrator, or clear the LocalCache folder manually after closing the Store. If the Store still fails, check for Windows updates and run the Store Apps troubleshooter.
Can clearing the cache fix error 0x80070005?
Sometimes, but that error often relates to permissions. If clearing the cache does not help, verify folder permissions and ensure your account is not restricted by policy.
Does the cache affect download speed?
A corrupted cache can cause stalls, but download speed itself depends on your connection and Microsoft’s servers. Clearing the cache removes obstacles rather than increasing bandwidth.