Microsoft Store not launching due to missing registry key


  1. Posts : 1
    Windows 10
       #1

    Microsoft Store not launching due to missing registry key


    The Microsoft Store won't launch, and instead gives the error "blocked by system administrator".

    I've narrowed it down to a missing registry key, Microsoft.WindowsStore_8wekyb3d8bbwe, at this directory:
    Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\bam\UserSettings\**UNIQUE USER SPECIFIC CODE**\

    The "unique user specific code" references an individual user for the PC. Using the Process Monitor from sysinternals, I found that it was missing this particular key. Looking at another PC, it seems that all the values in this directly, including Microsoft.WindowsStore_8wekyb3d8bbwe, are uniquely generated for each user, and that this specific key is only created when a user first opens the Microsoft Store. I base this off the fact that on the other PC on which the Store works, the key only existed for the user on which I had previously launched the Store.

    My guess as to why the key isn't generating is wonky file permissions. As I was poking around other directories, I found that I couldn't gain access to some (such as C:\Program Files\WindowsApps) even though I'm an administrator and those files are set to allow admins access. I manually got around this by taking ownership of the file and re-adding admins as an allowed user. Keep in mind that before this, the file had admins as an allowed user, but for some reason failed to recognize it. Essentially, at some point or another, all secure, admin-only files appear to have forgotten that admins are allowed access.

    Thus, I come to my theory. The necessary key isn't being generated because even though I'm an admin, I'm denied access to certain folders, not giving it everything it needs. Since every 'secure' folder I've come across has been like this, and since I can't manually fix every single secure folder, what should I do? Is there any way to reset file security settings en masse?

    Thanks for any and all help!
      My Computer


  2. Posts : 43,014
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #2

    I found that I couldn't gain access to some (such as C:\Program Files\WindowsApps)
    - that's so by default and by design.

    You might consider
    - re-register the Store (see pertinent tutorial)
    - an in-place upgrade repair install which keeps all progs, data and most settings
    - Tweaking.com's free repair tool includes repairs on permissions for a number of things- you can choose the repairs.


    What is your Windows build? Windows key + r. winver.

    The error message might appear to indicate a group policy/equivalent registry setting applies, but
    note the comments restricting relevance to build 1511 or earlier here:
    Allow or Block Access to Microsoft Store App in Windows 10
      My Computers


  3. Posts : 9,792
    Mac OS Catalina
       #3

    Clear and Reset Store Cache in Windows 10
    https://support.microsoft.com/en-us/...r-file-permiss

    Sounds like you were using third party software and accidentally removed some keys from the registry. Always back up the registry before using any third party so called system cleaning apps.
      My Computer


  4. Posts : 43,014
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #4

    Note that Tweaking.com's tool also includes a fix for registry permissions.

    However, given the varied things you've done, you may well be safer simply doing a routing in-place upgrade repair install rather than trying to be specific. Who knows what else is lurking?
      My Computers


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 05:15.
Find Us




Windows 10 Forums