How to Fix Windows Store Errors 0x80070002 & 0x80070005

Updated on April 8, 2018
neco555 profile image

I am currently an IT professional working in data analytics. I am knowledgeable about basic tips about how to better use technology.

The Problem

These steps will be addressing these two error codes (0x80070002 & 0x80070005), specifically when they are given by the Windows Store when downloading and installing an application. The errors (in my experience) were given when the application had "completed" installation but gave one of these errors instead of allowing the application to be launched. Following these steps will essentially clear the local store cache and allow the store to view the install as finished, and thus, allowing you to run the application. These steps only relate to Windows 10 but may work on Windows 8 as well. Resolving these errors should be fairly quick. Completing both solutions, rebooting and finally launching your app should take, at most, 15-30 mins, depending on reboot times and barring any other issues.

My personal experience with these errors comes when I was attempting to install a game (Sea of Thieves) that I purchased from the Windows Store. The game seemed to successfully download and run through the full install but wouldn't let me launch the game. Instead, an error message appeared above the (full) install progress bar. I first saw the 0x80070002 error and then subsequently the 0x80070005 error. I was able to resolve both errors using the same steps below.

Feel free to post comments of any lingering errors after attempting to follow these steps. Of course, also let me know if these steps worked for you! :D

Run Windows Store Reset Tool

These steps will show you how to run the wsreset.exe tool to clear the Windows Store cache. Afterward, I will provide some supplementary information about the tool.

  1. Do not restart, end or delete the error-ing install and just close the Windows Store
  2. Launch a command prompt as admin (Windows Key + S -> type "cmd" -> right-click on "Command Prompt" -> click "Run as Administrator")
  3. Type "wsreset.exe" into the command prompt
  4. Hit Enter

The tool should run for a few moments and then a new command line should appear, meaning the tool has finished running. A Windows Store window may pop up when the reset is complete as well.

Wsreset.exe is a small utility that has existed since Windows 8 to help reset and clear the Windows Store cache. It goes through and empties your local cache folders the same way Internet Explorer clears its temporary files. This utility can usually also be found in C:\Windows\System32, if you would like to run it from there.


Running wsreset.exe in command prompt
Running wsreset.exe in command prompt
wsreset.exe completed
wsreset.exe completed

Manually Clear Local Store Cache

In addition to running wsreset, you will want to clear the store cache manually. There is a LocalCache folder located in each user's appdata folder, which steps below lead you to clear.

  1. Make sure the Windows Store is closed, without ending, restarting, or deleting the error-ing install.
  2. Open a Run command window (Window Key + R)
  3. Type in "%appdata%" and press Enter - a file explorer window should open to AppData/Roaming but we want AppData/Local
  4. Click on AppData in the address bar to go up a level
  5. Navigate to Local -> Packages -> Microsoft.WindowsStore_[unique ID] -> Local Cache
  6. Select and Delete everything in the LocalCache folder
  7. Reboot computer

Entering %appdata% into Run command window
Entering %appdata% into Run command window
Current view of my LocalCache folder - Your path should look similar with your own PC username and unique Windows Store folder ID.
Current view of my LocalCache folder - Your path should look similar with your own PC username and unique Windows Store folder ID.

Resolution

After you complete both solutions and reboot your PC, you should be able to open the Windows Store and actually launch your app. From my experience, the app will just display as installed with no need to redownload/reinstall anything. When I fixed these errors for my game install, I was able to just launch the game and play it after reboot.

If you have any questions or comments, please leave a comment below. Hope these steps help you resolve both of these issues!! :D

Questions & Answers

    Comments

      0 of 8192 characters used
      Post Comment

      No comments yet.

      working

      This website uses cookies

      As a user in the EEA, your approval is needed on a few things. To provide a better website experience, turbofuture.com uses cookies (and other similar technologies) and may collect, process, and share personal data. Please choose which areas of our service you consent to our doing so.

      For more information on managing or withdrawing consents and how we handle data, visit our Privacy Policy at: "https://turbofuture.com/privacy-policy#gdpr"

      Show Details
      Necessary
      HubPages Device IDThis is used to identify particular browsers or devices when the access the service, and is used for security reasons.
      LoginThis is necessary to sign in to the HubPages Service.
      Google RecaptchaThis is used to prevent bots and spam. (Privacy Policy)
      AkismetThis is used to detect comment spam. (Privacy Policy)
      HubPages Google AnalyticsThis is used to provide data on traffic to our website, all personally identifyable data is anonymized. (Privacy Policy)
      HubPages Traffic PixelThis is used to collect data on traffic to articles and other pages on our site. Unless you are signed in to a HubPages account, all personally identifiable information is anonymized.
      Amazon Web ServicesThis is a cloud services platform that we used to host our service. (Privacy Policy)
      CloudflareThis is a cloud CDN service that we use to efficiently deliver files required for our service to operate such as javascript, cascading style sheets, images, and videos. (Privacy Policy)
      Google Hosted LibrariesJavascript software libraries such as jQuery are loaded at endpoints on the googleapis.com or gstatic.com domains, for performance and efficiency reasons. (Privacy Policy)
      Features
      Google Custom SearchThis is feature allows you to search the site. (Privacy Policy)
      Google MapsSome articles have Google Maps embedded in them. (Privacy Policy)
      Google ChartsThis is used to display charts and graphs on articles and the author center. (Privacy Policy)
      Google AdSense Host APIThis service allows you to sign up for or associate a Google AdSense account with HubPages, so that you can earn money from ads on your articles. No data is shared unless you engage with this feature. (Privacy Policy)
      Google YouTubeSome articles have YouTube videos embedded in them. (Privacy Policy)
      VimeoSome articles have Vimeo videos embedded in them. (Privacy Policy)
      PaypalThis is used for a registered author who enrolls in the HubPages Earnings program and requests to be paid via PayPal. No data is shared with Paypal unless you engage with this feature. (Privacy Policy)
      Facebook LoginYou can use this to streamline signing up for, or signing in to your Hubpages account. No data is shared with Facebook unless you engage with this feature. (Privacy Policy)
      MavenThis supports the Maven widget and search functionality. (Privacy Policy)
      Marketing
      Google AdSenseThis is an ad network. (Privacy Policy)
      Google DoubleClickGoogle provides ad serving technology and runs an ad network. (Privacy Policy)
      Index ExchangeThis is an ad network. (Privacy Policy)
      SovrnThis is an ad network. (Privacy Policy)
      Facebook AdsThis is an ad network. (Privacy Policy)
      Amazon Unified Ad MarketplaceThis is an ad network. (Privacy Policy)
      AppNexusThis is an ad network. (Privacy Policy)
      OpenxThis is an ad network. (Privacy Policy)
      Rubicon ProjectThis is an ad network. (Privacy Policy)
      TripleLiftThis is an ad network. (Privacy Policy)
      Say MediaWe partner with Say Media to deliver ad campaigns on our sites. (Privacy Policy)
      Remarketing PixelsWe may use remarketing pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to advertise the HubPages Service to people that have visited our sites.
      Conversion Tracking PixelsWe may use conversion tracking pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to identify when an advertisement has successfully resulted in the desired action, such as signing up for the HubPages Service or publishing an article on the HubPages Service.
      Statistics
      Author Google AnalyticsThis is used to provide traffic data and reports to the authors of articles on the HubPages Service. (Privacy Policy)
      ComscoreComScore is a media measurement and analytics company providing marketing data and analytics to enterprises, media and advertising agencies, and publishers. Non-consent will result in ComScore only processing obfuscated personal data. (Privacy Policy)
      Amazon Tracking PixelSome articles display amazon products as part of the Amazon Affiliate program, this pixel provides traffic statistics for those products (Privacy Policy)