Re-registering Windows 10 Store

I recently had an issue with Windows Store not opening anymore in Windows 10 (except for a half of second). In logs or if I tried running “ms-windows-store:” command from Start + Run window I could only see a generic error, such as “The app didn’t start.” and “Server execution failed.” The old fix of running “WSReset” didn’t apply this time. Running that command in Start + Run window simply shown another error, indicating that “ms-windows-store:PurgeCaches” is missing.

To fix the issue, I needed to re-register Windows 10 Store app itself:

  • I determined the actual path to the package, looking in C:\Program Files\WindowsApps (from a command prompt window to not need to change the folder permissions) for folders with WindowsStore in name – in my case such a path was of the Microsoft.WindowsStore_2015.7.1.0_neutral_split.scale-200_8wekyb3d8bbwe folder;
  • In an administrative Powershell window I run this command: Add-AppxPackage -DisableDevelopmentMode -Register “C:\Program Files\WindowsApps\[path]\AppXManifest.xml”.

Update: On another occasion, the issue appeared again with Windows Store and Xbox App on another machine. This time, however, the above was not enough. Instead, when PurgeCaches ran, an error message was displayed: “Invalid value for Registry”.

Digging the Web I found that the issue could be some leftover keys in the registry, which could be safely deleted:

  • Look in the registry to keys at the following path, and you should be able to find some that refer previous package versions that no longer exist in Program Files/WindowsApps folder: HKEY_CURRENT_USER\SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\AppModel\Repository\Families (create a registry backup for this path, to be able to restore the settings in case you run into any issues);
  • Delete the invalid version keys (to be able to perform this action, set yourself as the owner for the key from security settings, and then give yourself full permissions);
  • Reboot the machine to ensure Windows re-reads the configuration.

Personally, I had to delete 2 keys for Windows Store app, and 1 key for Xbox App, and after a reboot I could start using the apps again.

About Sorin Dolha

My passion is software development, but I also like physics.
This entry was posted in Computers and Internet. Bookmark the permalink.

Add a reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s