Wsreset error "'ms-windows-store:PurgeCaches'"

Anonymous
2013-11-19T18:34:34+00:00

Original Title: Issue with Windows Store.

Split from-

http://answers.microsoft.com/en-us/windows/forum/windows_8-windows_store/windows-store-keeps-crashing-when-trying-to-update/18e275e0-8d28-448d-9e27-38022f855b32

Every time I attempt the reset for the store (Store and other apps routinely crash after the Win 8.1 update).  I receive the below error message:

All device drivers are up-to-date (and have not changed since when it did work)

Anti-Virus is the same as it was when everything worked (Norton AV)

I launched a command prompt with administrative rights and ran "wsreset.exe".  The screen flashes over to the store, then crashes back to the start screen.  When returning to the desktop, the following error is found:

I ran system file checker, with administrative rights, and it reported back with no issues:

Windows for home | Previous Windows versions | Microsoft Store

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

92 answers

Sort by: Most helpful
  1. Anonymous
    2014-05-28T22:27:41+00:00

    nadia,

    Yes, I see the problem.

    Do the following please.

    1. Hit Windows key + R to open the Run command and then copy/paste the following and hit Enter: netplwiz
    2. In the menu which opens, double click the user (which should be you) and then in the next menu, click the "Group Membership" tab.
    3. Click the round white circle in the middle menu to add a black dot to it and then click Apply/OK.

    This will add you to the Administrators group.

    Now go back to the menu where you can't  see the Change Permissions button and hopefully it'll  be there.

    If it isn't, try rebooting and then check again.

    If the Change Permissions button is there, you could just try running WSReset.exe again first because it might just have been a permissions issue which was causing the problem.

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2014-05-28T20:53:27+00:00

    This is what I get when I click advanced.  As you can see, no change permissions.

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2014-05-28T19:58:34+00:00

    I tried the following:-

    Fixing file system permissions that have been changed manually

    1. Open File Explorer
    2. Browse to "c:\Program Files "
    3. Right click and select properties
    4. Select the "Security" tab
    5. Click the "Advanced" button
    6. Click the "Change permissions" button
    7. Click the Add button
    8. Click "Select a principal" link
    9. Click the locations button and select the local computer
    10. Add the All Applications Packages group name and click ok
    11. Make sure that Type = allow and Applies to = This folder, subfolder and files.
    12. Check Read & Execute, List folder contents and Read.
    13. Check the box Replace all child object permissions with inheritable permission entries from this object
    14. Click Apply and OK.
    15. Repeat for c:\Windows
    16. Repeat for c:\Users but grant the "All Application Packages" group Full Control.
    17. Click Apply and Ok.

    However, when I got to step 6 there was no "change permissions" button so I came to a standstill.  I just want to be careful that I don't open anything up to potential security threats as that is more important to me than Windows Store.

    nadia,

    I guess you've retrieved those instructions from this Microsoft article: http://support.microsoft.com/kb/2798317

    That's OK if you want to try that instead, but you must be in the wrong menu then if you can't go further than step 6 because the "Change Permissions" button is there.

    So check to make sure you're right clicking Program Files and not Programs Files (x86), the latter of which are 32-bit programs. Here are a couple of screenshots to help you on your way.

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2014-05-28T18:53:45+00:00

    I tried the following:-

    Fixing file system permissions that have been changed manually

    1. Open File Explorer
    2. Browse to "c:\Program Files "
    3. Right click and select properties
    4. Select the "Security" tab
    5. Click the "Advanced" button
    6. Click the "Change permissions" button
    7. Click the Add button
    8. Click "Select a principal" link
    9. Click the locations button and select the local computer
    10. Add the All Applications Packages group name and click ok
    11. Make sure that Type = allow and Applies to = This folder, subfolder and files.
    12. Check Read & Execute, List folder contents and Read.
    13. Check the box Replace all child object permissions with inheritable permission entries from this object
    14. Click Apply and OK.
    15. Repeat for c:\Windows
    16. Repeat for c:\Users but grant the "All Application Packages" group Full Control.
    17. Click Apply and Ok.

    However, when I got to step 6 there was no "change permissions" button so I came to a standstill.  I just want to be careful that I don't open anything up to potential security threats as that is more important to me than Windows Store.

    I then tried this:-

    Fixing registry permissions that have been changed manually

    • Open regedit.exe
    • Right click on HKEY_Users and select properties
    • Make sure that All Application Packages has Read
    • Repeat for HKEY_CLASSES_ROOT
    • Expand HKEY_LOCAL_MACHINE. Check the subkeys HARDWARE, SAM,SOFTWARE,SYSTEM. Make sure that All Application Packages has the Read permission.

    Everything checked out OK, they all had read permissions.  I did notice however, that CURRENT USERS permissions said "special permissions" read was not checked.  Not sure if that is correct or not?

    Was this answer helpful?

    0 comments No comments
  5. Anonymous
    2014-05-28T16:53:32+00:00

    Hi nadia,

    Thanks for posting the logs.

    The common error in number 1 & 3 seems to be a permissions related issue. A couple of users fixed it by giving "ALL APPLICATION PACKAGES" read access in the HKCR hive. See this link for details:

    http://answers.microsoft.com/en-us/windows/forum/windows8_1-winapps/windows-81-apps-wont-start/545ce7d9-17c9-416b-8fa3-c718f1352953 It was also confirmed to have worked by another user in the last post at the bottom.

    You can see in the log file that the opening post has error code 2144927141 which is the same one you have in logs 1 & 3.

    This registry change has also been confirmed as a fix in an independent post on this forum: http://superuser.com/questions/432859/metro-apps-crash-on-startup-driver-or-permissions-issue Drag the scrollbar halfway down the page to the second post which has a green checkmark. It also contains an image of the respective change.

    Log number 2 incidentally was created when you ran the command related to Kernelbase.dll which didn't work.

    What I recommend you do though before you make any changes to the Registry is to create a manual System Restore point. This can be used to wind the clock back to the time prior to making the change if it causes problems.

    To create one, do the following.

    1. Right click the Start button and go to "System".
    2. In the menu top left, click the link to "System Protection".
    3. In the System Restore menu which opens, click the button at the bottom called "Create".
    4. Type a name for the Restore point, something you can remember like, "Before editing Registry" and then click the "Create" button.
    5. Close the menu and then proceed with the Registry change.

    If you run into perfornance issues, or system stability immediately after making the Registry change, repeat steps 1 & 2 and then click the "System Restore" button.

    Ignore the "Recommended" Restore point and instead, click the link at the bottom to "Choose an alternative Restore point...." and then click Next.

    From the calendar which appears, choose the manual Restore point you created which will be recognizable by the name you gave it. Click Next and then follow the prompts.

    System Restore takes about ten minutes to run during which time the computer will reboot. At some particular point, you'll be faced with a plain black screen where nothing appears to be happening, but eventually, the familiar Lock Screen will appear where you can log on again.

    Let  me know how you get on please.

    Was this answer helpful?

    0 comments No comments