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 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...

How to Fix ‘The Local Security Authority Cannot be Contacted’ Error on Windows

This error appears when users try to login to other computers via a remote desktop connection. The problem prevents them from connecting and it displays the “The Local Security Authority Cannot be Contacted” error message. The problem often appears after an update has been installed on either the client or the host PC and it causes plenty of problems on many different versions of Windows. The Local Security Authority Cannot be Contacted There have been many unofficial fixes for the problem which were created by the users who had the same unfortunate experience. We have gathered the working methods in this article so make sure you follow it in order to resolve the problem. What Causes “The Local Security Authority Cannot be Contacted” Error on Windows? Pinpointing the correct cause for the problem is one of the most important steps when it comes to resolving one. That is why we have created a list of possible causes for the problem so make sure you check it out below: D...

Fix: The Active Directory Domain Services is currently unavailable ‘Windows 7, 8 and 10’

The error Active Directory Domain Services is currently unavailable means that the system is not able to find and connect to your printer, hence the process is stopped and cannot proceed further. This process allows the computer to manage and allocate resources. If this error occurs, it means that there is most probably a problem with the permissions, drivers, UAC etc. We have listed down a number of solutions for you to check. Start with the first one and work your way down. Solution 1: Resetting Printer Spooler Settings The spooler service is a software program which is responsible for managing all print jobs being sent to the computer printer. The print spooler service is usually visible to users and they can also cancel a print job which is being processed. It also allows them to manage jobs which are currently on the waitlist. We can try restarting this service and check if this solves the problem. Press  Windows + R  to launch the Run application. Type ...