由于注册表和文件权限(Registry & File Permissions) 的一些修改,许多Windows用户无法启动从Microsoft Store下载的Windows Store 应用程序(Windows Store Apps)。在本文中,我们将建议一些注册表(Registry)和文件设置,如果(File)Microsoft Store 应用程序(Microsoft Store Apps)无法在您的Windows 10系统上启动,您需要查看这些设置。
有两个与Microsoft Store Apps相关的问题,一个可能是由于注册表(Registry)和文件权限(File Permission)问题而遇到的。
尝试打开应用程序(App)时重定向到开始屏幕(Start Screen)
当用户尝试打开Microsoft Store应用时,该应用会启动,但随后会被重定向到“开始”屏幕(Start Screen),而不会看到任何错误消息。这通常是由于注册表(Registry)和文件权限(File Permission)的更改而发生的。
Microsoft Store 应用程序(Microsoft Store Apps)的注册表和文件系统存储在所有应用程序包(All Application Package )组中。当组失去对这些注册表和文件系统所需的访问权限时,您可能会遇到此行为。
Windows应用商店应用程序(Store Apps)和开始菜单(Start Menu)不起作用
许多用户遇到无法打开Microsoft Store 应用程序(Microsoft Store Apps)或访问“开始”菜单(Start Menu)的错误。错误的原因很清楚,一个或所有密钥都失去了读取权限。All Application Package 缺乏对注册表和文件子系统位置的权限。
我们将在本文中提出的解决方案将适用于这两个错误。
由于注册表(Registry)和文件权限(File Permission), Windows应用商店应用程序(Store Apps)无法启动(Start)
在检查解决方案之前,我们需要确定权限是如何更改的。我们将看到可能发生的三种情况。他们是。
- 文件权限已更改
- 注册表权限已更改
- 使用了组策略
让我们确定您的计算机发生了什么。
1]文件权限已更改
您需要检查三个文件夹的 文件权限,即(File Permissions)Programs Files、Windows和 Users<userName>\AppData\Local\Microsoft\Windows\WER.
您需要确保前两个文件夹可以控制Read、Read & Execute和List folder contents 选项,最后一个文件夹可以控制List folder/read data, 和 Create Folders/Append Data。
您可以通过右键单击文件夹,转到“安全 (Security )”选项卡并检查“权限”来执行此操作。
2]注册表(Registry) 权限(Permissions)已更改
您需要检查以下注册表(Registry)项并查看所有应用程序包(All Applications Packages)组是否具有读取(Read)权限。如果他们不拥有该权限,则您的注册表权限(Permissions)已更改。
- HKEY_CLASSES_ROOT
- HKEY_LOCAL_MACHINE驱动程序
- HKEY_LOCAL_MACHINEHARDWARE
- HKEY_LOCAL_MACHINESAM
- HKEY_LOCAL_MACHINESOFTWARE
- HKEY_LOCAL_MACHINESYSTEM
- HKEY_USERS
3]使用了组策略
要了解是否使用组策略(Group Policy)更改权限,您需要检查遇到问题的计算机的gpreport。因此,转到该计算机,以管理员身份启动命令提示符 ,然后运行以下命令。(Command Prompt )
gpresult /h <path>\gpreport.html
Replace < path> 替换为要在其上制作HTML文件的驱动器号。
现在,按照以下说明展开。
Computer Settings > Policies\Windows Settings\Security Settings
现在,检查是否有文件系统和注册表, (File System and Registry, )如果它们存在,那么这意味着组策略(Group Policy)正在改变权限。
现在您知道是什么改变了Permissions,是时候修复错误了。根据更改权限的方式,您需要解决Microsoft Store Apps由于更改了(Microsoft Store Apps)注册表(Registry)和文件(File) 权限(Permissions)而无法启动的问题。以下是可能发生的四件事。
- (File System Permission)手动更改文件系统权限
- 文件系统权限(File System Permission)由组策略更改(Group Policy)
- 注册表权限(Registry Permission)手动更改
- (Registry Permission)组策略(Group Policy)更改了注册表权限
相关(Related):多个用户安装的 Microsoft Store 无法启动(Microsoft Store installed by multiple users fails to start)。
让我们详细谈谈它们。
1 ]文件系统权限(] File System Permission)手动更改
如果您得出手动更改文件系统权限(File System Permission)的结论,请执行以下步骤来修复错误。
- 通过 Win + E.启动 文件资源管理器 。(File Explorer )
- 转到C Drive > Program Files。
- 右键单击 程序文件, (Program Files, )然后单击 属性。(Properties.)
- 转到安全 (Security )选项卡,然后单击 高级。(Advanced.)
- 单击 Change permissions > Add > Select a principal > Locations.
- 现在,选择您的本地计算机并单击确定。
- 添加All Applications Packages组名称并选择 ok。
- 设置、Type = allow和Applies to = This folder, subfolder, and files.
- 现在,关闭除“ 属性(Properties)”窗口之外的所有其他窗口。
- 单击 编辑 (Edit )并检查读取、读取并执行(Read, Read & Execute,)和列出文件夹内容(List folder contents)。
- 勾选“将所有子对象权限替换为此对象的可继承权限条目” (“Replace all child object permissions with inheritable permission entries from this object” )选项,然后单击 Apply > Ok.
对Windows (Windows )和 用户 (Users. )执行相同的操作。但请确保为后者授予All Application Packages组完全控制权。(All Application Packages)
希望如果手动更改文件系统 (File System )权限 (Permission ),这将解决问题 。
2]组策略(Group Policy)更改文件权限(File Permission)
如果您断定组策略(Group Policy)更改了文件权限(File Permission),请阅读此解决方案以修复错误。
启动 组策略管理控制台(Group Policy Administrative Console )并转到以下位置。
Computer Configuration\Policy\Windows Settings\Security Settings\File System
如果路径存在,则编辑它,如果不存在,请右键单击 文件系统 (File System )并选择 添加文件 (add file ),然后浏览到c:\Program Files并单击 确定。 (Ok. )现在,单击 Add > Location > Local Machine Name。现在,添加 所有应用程序包,(All Application Package,) 让他们控制读取、读取和执行以及列出文件夹内容, ( Read, Read & Execute, and List folder contents, )然后单击 Apply > Ok.
最后,选择 用可继承的权限替换所有子文件夹和文件的现有权限(Replace existing permissions on all subfolders and files with inheritable permissions) 选项。
对Windows (Windows )和 用户 (Users. )执行相同的操作。但请确保为后者授予 All Application Packages组完全控制权。(Full Control)
3]手动更改注册表权限(Registry Permissions)
如果您断定注册表(Registry) 权限(Permissions)已更改,请阅读此解决方案以修复错误。
- 从开始菜单启动 注册表编辑器 。(Registry Editor )
- 右键单击HKEY_Users并选择 权限。(Permissions.)现在,让 所有应用程序包 (All Application Packages )完全控制 读取 (Read ),然后单击 Apply > Ok.
- 对HKEY_CLASSES_ROOT(HKEY_CLASSES_ROOT)做同样的事情。
- 对于HKEY_LOCAL_MACHINE,您需要确保子项HARDWARE、SAM、SOFTWARE、SYSTEM具有 读取 (Read )权限。
这将为您解决问题。
4]组策略(Group Policy)更改注册表权限(Registry Permissions)
最后一种可能的组合是组策略(Group Policy)更改注册表权限(Registry Permissions)时。要修复它,您需要阅读此解决方案。
启动 组策略管理控制台(Group Policy Administrative Console )并转到以下位置。
Computer Configuration\Policy\Windows Settings\Security Settings\Registry
右键单击注册表(Registry )并选择 添加键(add key ),然后选择CLASSES_ROOT并单击添加(Add)。 现在,单击Location > Local Machine Name。现在,添加 所有应用程序包,(All Application Package,) 让他们控制读取。( Read.)
对 用户 (Users )和MACHINE\HARDWARE, MACHINE\SAM, MACHINE\SOFTWARE, 和 MACHINE\SYSTEM.
我们希望Microsoft建议的这些解决方案对您有所帮助。
相关:(Related:) 当有多个用户帐户时,Windows 应用商店应用程序不会启动。
Windows Store Apps fail to start? Check Registry & File Permissions
Many Windows users are unable tо start Windows Store Apps downloaded from the Microsoft Store because of some modification in Registry & File Permissions. In this article, we are going to suggest some Registry and File settings that you will need to take a look at if Microsoft Store Apps fails to start on your Windows 10 system.
There are two issues related to Microsoft Store Apps, one may encounter because of the Registry and File Permission issue.
Redirected to Start Screen when trying to open the App
When users are trying to open a Microsoft Store app, the app starts but then they are redirected to Start Screen without seeing any error message. This usually happens because of alterations in Registry and File Permission.
Microsoft Store Apps have their registry and file system stored in the All Application Package group. When the group loses the required access to these registry and file systems, you may encounter this behavior.
Windows Store Apps and Start Menu not working
Many users are experiencing an error where they are unable to open Microsoft Store Apps or access the Start Menu. The reason for the error is pretty clear, one or all the keys have lost their read permission. The All Application Package lacks permission to the registry and file subsystem location.
The solutions we are going to lay in this article will apply to both these errors.
Windows Store Apps fail to Start because of Registry and File Permission
Before checking solutions, we need to determine how the permissions were changed. We are going to see three scenarios that could have happened. They are.
- File Permissions were changed
- Registry Permissions were changed
- Group Policy was used
Let us determine what happened to your computer.
1] File Permissions were changed
You need to check File Permissions of three folders, Programs Files, Windows, and Users<userName>\AppData\Local\Microsoft\Windows\WER.
You need to make sure that the first two folders have control over the Read, Read & Execute, and List folder contents options and the last one has control over List folder/read data, and Create Folders/Append Data.
You can do that by right-clicking on the folder, going to the Security tab, and checking the Permissions.
2] Registry Permissions were changed
You need to check the following Registry keys and see if the All Applications Packages group has the Read permissions. If they don’t possess the permission, your Registry Permissions were changed.
- HKEY_CLASSES_ROOT
- HKEY_LOCAL_MACHINE\Drivers
- HKEY_LOCAL_MACHINE\HARDWARE
- HKEY_LOCAL_MACHINE\SAM
- HKEY_LOCAL_MACHINE\SOFTWARE
- HKEY_LOCAL_MACHINE\SYSTEM
- HKEY_USERS
3] Group Policy was used
To know if Group Policy was used to alter permissions, you need to check the gpreport of the computer that’s experiencing the trouble. So, go to that computer, launch Command Prompt as an administrator, and run the following command.
gpresult /h <path>\gpreport.html
Replace <path> with the drive letter on which you want the HTML file to be made.
Now, expand as per the following instructions.
Computer Settings > Policies\Windows Settings\Security Settings
Now, check if there’s a File System and Registry, if they exist then this means that the Group Policy is altering permissions.
Now that you know what’s altering the Permissions, it is time to fix the error. Depending on the way permissions were altered, you need to solve the Microsoft Store Apps fail to start because of changed Registry & File Permissions. The following are the four things that could have happened.
- File System Permission changed manually
- File System Permission changed by Group Policy
- Registry Permission changed manually
- Registry Permission changed by Group Policy
Related: Microsoft Store installed by multiple users fails to start.
Let us talk about them in detail.
1] File System Permission changed manually
If you came to a conclusion that File System Permission changed manually then execute the following steps to fix the error.
- Launch File Explorer by Win + E.
- Go to C Drive > Program Files.
- Right-click on Program Files, and click Properties.
- Go to the Security tab and click Advanced.
- Click Change permissions > Add > Select a principal > Locations.
- Now, select your local machine and click Ok.
- Add the All Applications Packages group name and select ok.
- Set, Type = allow and Applies to = This folder, subfolder, and files.
- Now, close all the other windows except the Properties one.
- Click Edit and check Read, Read & Execute, and List folder contents.
- Tick the “Replace all child object permissions with inheritable permission entries from this object” option and click Apply > Ok.
Do the same for Windows and Users. But make sure to grant the All Application Packages group Full Control for the latter.
Hopefully, this will fix the issue if the File System Permission changed manually.
2] File Permission changed by Group Policy
If you conclude that File Permission is changed by Group Policy, read this solution to fix the error.
Launch Group Policy Administrative Console and Go to the following location.
Computer Configuration\Policy\Windows Settings\Security Settings\File System
If the path exists then edit it, if not, right-click on the File System and select add file then browse to c:\Program Files and click Ok. Now, click Add > Location > Local Machine Name. Now, add All Application Package, give them control over Read, Read & Execute, and List folder contents, and click Apply > Ok.
Finally, select the Replace existing permissions on all subfolders and files with inheritable permissions option.
Do the same for Windows and Users. But make sure to grant the All Application Packages group Full Control for the latter.
3] Registry Permissions changed manually
If you conclude that Registry Permissions are changed, read this solution to fix the error.
- Launch Registry Editor from the Start Menu.
- Right-click on HKEY_Users and select Permissions. Now, give All Application Packages full control over Read and click Apply > Ok.
- Do the same for HKEY_CLASSES_ROOT.
- For HKEY_LOCAL_MACHINE, you need to make sure that subkeys HARDWARE, SAM, SOFTWARE, SYSTEM have the Read permissions.
This will fix the issue for you.
4] Registry Permissions changed by Group Policy
The last possible combination is when Registry Permissions are changed by Group Policy. To fix it, you need to read this solution.
Launch Group Policy Administrative Console and Go to the following location.
Computer Configuration\Policy\Windows Settings\Security Settings\Registry
Right-click on the Registry and select add key then select CLASSES_ROOT and click Add. Now, click Location > Local Machine Name. Now, add All Application Package, give them control over Read.
Do the same for Users and MACHINE\HARDWARE, MACHINE\SAM, MACHINE\SOFTWARE, and MACHINE\SYSTEM.
We hope these solutions suggested by Microsoft help you.
Related: Windows Store apps do not launch when there are multiple user accounts.