User Agents

Web browsers and everyday web tech, explained

Microsoft Store Cache: How to Clear and Reset It

· 4 min read · Cookies and Cache

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Clearing the Microsoft Store cache removes temporary files and corrupted data that can cause the store to freeze, crash, or fail to download apps. This process refreshes the store's connection to the servers and resolves most common synchronization issues without deleting your installed apps or account settings. To perform the quickest reset, you can use the built-in Windows command tool known as wsreset.exe.

What You'll Need

  • A computer running Windows 10 or Windows 11.
  • Administrative privileges on the user account.
  • A stable internet connection to re-sync the store after the cache is cleared.

Step-by-Step

  1. Close the Microsoft Store: Ensure that the Microsoft Store app is completely closed. If it is frozen, right-click the Taskbar, select Task Manager, find the Microsoft Store process, and click End Task.
  2. Open the Run Dialog: Press the Windows Key + R on your keyboard simultaneously. This will open the Run command box in the bottom-left corner of your screen.
  3. Enter the Reset Command: In the text box, type wsreset.exe exactly as written. Do not add any spaces or extra characters.
  4. Execute the Command: Click OK or press Enter.
  5. Wait for the Console: A blank black Command Prompt window will appear. Do not close this window or type anything into it. The system is currently clearing the store's local cache and resetting the application state.
  6. Automatic Restart: Once the process is complete, the Command Prompt window will close automatically, and the Microsoft Store app will launch on its own.
  7. Verify the Fix: Once the store opens, try searching for an app or resuming a paused download to confirm the issue is resolved.

Common Mistakes

  • Closing the Command Prompt: Many users see the blank black window and assume the program has crashed or stalled. Closing this window manually interrupts the cache clearing process and may leave the store in an unstable state.
  • Typing Errors: Entering "wsreset" without the ".exe" extension sometimes works, but using the full filename ensures the system identifies the executable correctly across all Windows versions.
  • Running While Store is Active: Attempting to run the reset while the store is actively downloading a large update can occasionally lead to the command failing to execute.

Tips

  • Check for Windows Updates: If you find yourself needing to clear the cache frequently, check Windows Update. Often, a pending OS update contains fixes for Store stability.
  • Restart Your PC: If the wsreset command does not launch the store after several minutes, a full system restart can clear stuck background processes that may be blocking the reset.
  • Sync Your Account: After clearing the cache, if your purchased apps aren't showing up, sign out of your Microsoft account within the Store and sign back in to force a fresh sync.

Troubleshooting

If the wsreset.exe command does not work or the store continues to crash, try these alternative methods:

Method 1: Use Windows Settings (Repair/Reset)
Navigate to Settings > Apps > Installed Apps (or Apps & Features). Find "Microsoft Store" in the list, click the three dots (or the app entry), and select Advanced Options. Here, you can first click "Repair," which attempts to fix the app without deleting data. If that fails, click "Reset," which is a more thorough cleanup similar to clearing the cache.

Method 2: Re-register the Store via PowerShell
If the app is missing or completely unresponsive, right-click the Start button and select Windows PowerShell (Admin) or Terminal (Admin). Type the following command and press Enter: Get-AppXPackage *WindowsStore* -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}. This reinstalls the store components from the system image.

Frequently Asked Questions

Will clearing the cache delete my apps?

No. Clearing the Microsoft Store cache only removes temporary files, cookies, and cached metadata. It does not uninstall your apps or delete your saved game data.

Does this process remove my account login?

Generally, no. You will remain signed into your Microsoft account, though in some rare cases, you may be asked to enter your password again for security verification.

How often should I clear the Microsoft Store cache?

You should only clear the cache when you encounter specific problems, such as apps failing to download, the store failing to open, or search results not loading.

Why is the black window staying open for so long?

Depending on the size of your cache and the speed of your hard drive, the wsreset window can stay open for anywhere from 10 seconds to a few minutes. Be patient and let it finish.

Is wsreset.exe a virus?

No. wsreset.exe is an official system utility created by Microsoft and is located in the System32 folder of your Windows installation.