Skip to main content

FIX: WindowsStore.admx Error in Local Group Policy Editor

After installing the Windows 10 Cumulative Update for April 2016 – KB3147458 – there is a chance that you might be affected by an issue where an error message stating that a specific resource pertaining to the WindowsStore.admx file could not be found. The full error message reads:
Resource ‘$(string.RequirePrivateStoreOnly)’ referenced in attribute displayName could not be found. File C:\WINDOWS\PolicyDefinitions\WindowsStore.admx, line 140, column 9
windowsstore
This error message, although disruptive, isn’t too big of a problem as dismissing it causes it to go away and then come back, and once it is dismissed for a second time, affected users are free to go about their business in the Local Group Policy Editor. However, the real problem here is that, as part of this issue, the Store folder under User Configuration Computer Configuration Windows Components in the Local Group Policy Editor goes missing.

Pro Tip: Before proceeding with the steps listed and described above, be sure to navigate to C:\Windows\PolicyDefinitions\ and copy a file named WindowsStore.admx to a safe location as a backup to be restored to its original location in the event that something goes wrong.
While a Windows 10 user can deal with having to dismiss a couple of error messages when launching the Local Group Policy Editor, an entire folder of policies going missing is kind of a massive issue. This problem is probably caused because the KB3147458 update has added a new policy setting to the WindowsStore.admx file but failed to add its corresponding string ID to the WindowsStore.adml file. When this issue first came to light, affected users simply uninstalled the KB3147458 update and hid it in anticipation of another Windows update that would fix the issue seeing as though Microsoft became aware of this bug almost immediately. Thankfully, within a month of the surfacing of this problem, Microsoft rolled out a Windows update equipped with a more than viable fix.
However, if you can’t install the Windows update that fixes this issue or if you are still experiencing this issue even after installing all available Windows updates, here’s what you need to do in order to fix this problem:
Right-click on the Start Menu to open the WinX Menu.
Click on Command Prompt (Admin) to launch an elevated Command Prompt that has administrative privileges.
One by one, type in the following commands, pressing Enter after each one and also waiting for one command to be executed successfully before typing in the next one:
takeown /f C:\Windows\PolicyDefinitions\WindowsStore.admx
icacls C:\Windows\PolicyDefinitions\WindowsStore.admx /grant Administrators:F
notepad C:\Windows\PolicyDefinitions\WindowsStore.admx
Once Notepad launches, press Ctrl G, type 133 in the Line number field and press Enter.
Select all of the contents of lines 133166 (including both line 133 and line 166) and press Delete.
Note: In case you still don’t get what needs to be deleted, the following are all of the lines that need to be cleared:

2016-06-03_122416
Press Ctrl S to save the changes you have made to the admx file and then close Notepad.
Back in the elevated Command Prompt, type in the following command-line and then press Enter to restore ownership of the admx file back to TrustedInstaller.
icacls C:\Windows\PolicyDefinitions\WindowsStore.admx /setowner “NT Service\TrustedInstaller”
windowsstore
Once the command-line has been executed successfully, you can close the elevated Command Prompt and restart your computer. Once your computer boots up, you should no longer receive any error messages when launching the Local Group Policy Editor and the Store folder of policies should also be back where it belongs.

Comments

Popular posts from this blog

How to Fix the ‘Failed to Acquire the VirtualBox COM Object’ Error

Several users are reporting that they are unable to launch VirtualBox. The critical error message that comes up is  “Failed to acquire the VirtualBox COM object. The application will terminate”.  In some cases, the error is also accompanied by a second error message pointing towards the problem. The issue does not seem to be specific to a certain Windows version since it’s confirmed to occur on both Windows 8.1 and Windows 10. Failed to acquire the VirtualBox COM object. The application will now terminate. What is causing the ‘Failed to Acquire the VirtualBox COM Object’ error? We investigated this issue by looking at various user reports and the repair strategies that are commonly deployed successfully in this particular scenario. As it turns out, there are multiple culprits that might end up triggering this issue: VirtualBox is not installed with admin access  – Virtualbox is one of those software products that will require you to install them with a...

How to Format/Indent XML Files in Notepad++

Notepad++ is a free text and source code editor that is mostly used by programmers. It is an advanced alternate version of the default notepad which supports 50 programming, scripting and markup languages. It allows a user to edit codes within multiple tabs in a single window. However, it lacks the formatting for XML files or XML code. Users will find it difficult to edit or read the XML code without the correct format for code. How to Format/Indent XML Files on Notepad++ What is XML File? XML (stands for eXtensible Markup Language) which is a language designed to store and transport data. XML files are just plain text files that can’t do anything on their own. Custom tags are used in XML files to define objects and the data within each object. It defines a set of rules for encoding documents in such a format that both humans and machines could read. XML is similar to HTML but the difference is that HTML defines how data looks, while XML defines what data is. XML Code samp...

Fix: System Found Unauthorized Changes on the Firmware, Operating System or UEFI Drivers

Several users are struggling with the  System found unauthorized changes on the firmware error  at every startup or when trying to take their computer out of hibernation mode. Most affected users report that the issue started occurring after they installed some pending Windows updates. The issue is mostly encountered on Windows 7. The system found unauthorized changes on the firmware, operating system or UEFI drivers. Press [OK] to run the next boot device, or enter directly to BIOS Setup if there are no other boot devices installed. What is causing the System found unauthorized changes on the firmware error We investigated this particular issue by looking at various user reports. This error will occur whenever your system is checking the firmware one some computer hardware parts as part of a new security feature. To be precise, the error is occurring because not all Windows versions will support this new security feature. As it turns out, there are sev...