Error with WindowsStore.admx in the Local Group Policy Editor

Here we can see, “Error with WindowsStore.admx in the Local Group Policy Editor”

There’s a chance that after installing the April 2016 Cumulative Update for Windows 10 – KB3147458 – you’ll get an error message saying that a specific resource related to the WindowsStore.admx file couldn’t be found. The complete error message is as follows:

“Resource ‘$(string.RequirePrivateStoreOnly)’ referenced in attribute displayName could not be found. File C:\WINDOWS\PolicyDefinitions\WindowsStore.admx, line 140, column 9”

Although annoying, this error message isn’t a major issue because dismissing it causes it to disappear and reappear. Once dismissed a second time, affected users can continue working in the Local Group Policy Editor. The real issue here is that the Store folder in the Local Group Policy Editor under User Configuration > Computer Configuration > Windows Components goes missing due to this issue.

[irp]

Table of Contents

KB3147458 Update added a New Policy

While a Windows 10 user can put up with a couple of error messages when launching the Local Group Policy Editor, the major problem is that an entire folder of policies is disappearing. The KB3147458 update added a new policy setting to the WindowsStore.admx file but failed to add its corresponding string ID to the WindowsStore.adml file, resulting in this issue.

When this problem first surfaced, affected users uninstalled and hidden the KB3147458 update hoping that another Windows update would fix the problem, as Microsoft had become aware of the bug almost immediately. Thankfully, this issue was resolved within a month of its discovery.

Install Windows Update

If you are unable to install the Windows update that resolves this issue, or if you are still experiencing this problem after installing all available Windows updates, follow these steps to resolve the issue:

1. To access the WinX Menu, right-click on the Start Menu.

2. To open an elevated Command Prompt with administrative privileges, select Command Prompt (Admin).

3. Type in the following commands one at a time, pressing Enter after each one and waiting for one to complete successfully before typing in the next:

takeown /f C:\Windows\PolicyDefinitions\WindowsStore.admx

icacls C:\Windows\PolicyDefinitions\WindowsStore.admx /grant Administrators:F

notepad C:\Windows\PolicyDefinitions\WindowsStore.admx

4. Press Ctrl + G to open Notepad, then type 133 in the Line number field and press Enter.

5. Press Delete to delete the contents of lines 133–166 (including both line 133 and line 166)

Note: If you’re still not sure what needs to be deleted, here’s a list of all the lines that need to be removed:

Error with WindowsStore.admx in the Local Group Policy Editor

6. Close Notepad and press Ctrl + S to save the changes you’ve made to the admx file.

7. Return to the elevated Command Prompt and type the following command-line, then press Enter to return TrustedInstaller ownership of the admx file.

icacls C:\Windows\PolicyDefinitions\WindowsStore.admx /setowner “NT Service\TrustedInstaller”

You can close the elevated Command Prompt and restart your computer once the command line has been successfully executed. You should no longer receive any error messages when launching the Local Group Policy Editor once your computer has booted up, and the Store folder of policies should be back where it belongs.

Conclusion

I hope you found this helpful guide. If you have any questions or comments, don’t hesitate to use the form below.

[irp]

User Questions:

  1. In group policy, what is Admx?

An ADMX file is a Windows/Office Group Policy Settings XML-based file that replaces the older ADM file type. One ADMX file, for example, could prevent users from using Internet Explorer.

  1. I’m not sure where I should put Admx for the domain.

You must create a Central Store in the sysvol folder on a Windows domain controller to use admx files. The Central Store is a file location that the Group Policy tools automatically check.

  1. How do you keep your Group Policy ADMX files up to date?
  • Update “% WinDir% PolicyDefinitions” with the most recent templates (replace the existing ones). Take note!…
  • Update the Group Policy Administrative Templates central store.
  1. What does .admx stand for in Windows 10 administrative templates?

ADMX. Group Policy tools use Administrative template files to populate policy settings in the user interface. In addition, administrators can now control registry-based policy settings.

  1. How do I get to administrative templates in Windows 10?

Go to User Configuration or Computer Configuration > Administrative Templates >Start Menu and Taskbar.

[irp]

Leave a Comment