New
#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!