Windows command guide

Reset the Microsoft Store Cache with wsreset.exe

The Microsoft Store relies on local cached data for account state, download handling, and app delivery workflows. When that cached data becomes inconsistent, the Store can start hanging, refusing downloads, or failing to install apps correctly. Running wsreset.exe is a light first repair step that clears Store cache data and relaunches the Store environment.

This guide is written around the specific symptom-command match for reset microsoft store cache, not as a generic dump of terminal lines. That makes the page more useful for real troubleshooting and reduces the chance of running the wrong repair step.

Reviewed guide Updated 2026-04-21
Command Prompt
wsreset.exe

Best place to run it

Command Prompt is the right execution context for this page. Even when elevation is not always required, using the right shell prevents syntax mistakes and makes the output easier to trust.

Fast repair workflow

  1. Start from the exact symptom on this page: Store downloads stay pending or fail without a clear reason
  2. Run the service or app repair line exactly as shown: wsreset.exe.
  3. This workflow is tuned for this repair, so avoid mixing it with unrelated repair commands too early.
  4. Re-open the affected app, service, or feature and check whether the same component still fails.
  5. If the issue persists, check service state, dependencies, package integrity, or event logs before doing a broader repair.

Copyable wrapper script

Use this wrapper when you want the page command inside a clearer script block with start and finish prompts.

@echo off echo Run this CMD sequence in the matching terminal window. echo Starting targeted repair sequence... wsreset.exe echo. echo Review the output before closing this window. pause

Verification commands after the repair

These follow-up commands help you check whether the repair actually changed the Windows state that matters, instead of assuming success from a single line.

wsreset Get-AppxPackage Microsoft.WindowsStore

What problem this command is trying to solve

This command targets corrupted or stale local cache data used by the Microsoft Store. It is meant for Store-specific problems rather than broad Windows corruption.

  • Store downloads stay pending or fail without a clear reason.
  • The Store window opens but never loads properly.
  • App install, update, or licensing checks behave inconsistently.

How the command works

The wsreset utility clears temporary Store cache data and then starts the Microsoft Store again. That gives the Store a cleaner starting state for downloads, account checks, and package handling.

When it makes sense to run it

Use it when the problem is clearly tied to the Microsoft Store itself. It is a quick first step before trying heavier app re-registration or account troubleshooting.

Before you run this command

  • Open the shell that matches wsreset.exe before you paste it.
  • Confirm that the symptom really matches this guide, especially if you are seeing signs such as: store downloads stay pending or fail without a clear reason.
  • Identify the exact Windows component that is failing before you use wsreset.exe, so you do not reset unrelated parts of the system.

What result to expect

After running wsreset.exe, compare the result against the symptom that brought you here. The most useful checkpoint is whether store downloads stay pending or fail without a clear reason becomes less frequent, changes form, or produces a clearer error message. A command page is stronger when it helps you verify a real change instead of just assuming the line must have worked.

How to verify that it worked

The best verification step after wsreset.exe is to repeat the action that previously triggered the problem. If the store window opens but never loads properly still appears in exactly the same way, the command probably was not the whole answer and you should move to the next targeted check instead of assuming the page is finished.

Shell and execution context

This command usually does not need a full elevated repair context, but it still works best when you run it in the shell it was written for and read the output carefully.

Before you run it

This command does not repair internet issues, broken Windows services, or account restrictions by itself. If the Store still fails afterward, the cause may be deeper than cache data.

When this is probably the wrong fix

This is not the right first fix for every generic crash. Use it when the failing part is a Windows service, built-in app package, indexing component, print queue, audio stack, or similar subsystem.

What to do if it does not help

If wsreset.exe does not improve store downloads stay pending or fail without a clear reason, move to the next repair step that matches the same symptom family instead of piling on random commands. The best follow-up depends on whether the failure is mainly about a Windows service, package, or built-in app component.

Frequently asked questions

Should I use wsreset.exe for this exact Windows symptom?

Use it when the behavior on your PC lines up with the repair target on this page: This command targets corrupted or stale local cache data used by the Microsoft Store. It is meant for Store-specific problems rather than broad Windows corruption.

What should I check right after wsreset.exe?

Check whether the original trigger still reproduces the same failure. For this page, a useful checkpoint is whether store downloads stay pending or fail without a clear reason becomes less frequent, changes form, or points you toward a more specific next step.

When should I not rely on wsreset.exe alone?

This is not the right first fix for every generic crash. Use it when the failing part is a Windows service, built-in app package, indexing component, print queue, audio stack, or similar subsystem.