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 133–166 (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

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

Fix: The Following Error Occurred Attempting to Join the Domain

Several users are getting the ‘ following error occurred attempting to join the domain ‘ error when trying to connect a computer to a home or work domain. Most of the time, the error is accompanied by an explanation message telling the user that it has exceeded the maximum number of computer accounts. The issue is not restricted to computers that connect to a domain for the first time, as it’s often reported to occur with PCs and laptops previously connected to the same domain. The following error occurred attempting to join the domain. Your computer could not be joined to the domain. What is causing the ‘following error occurred attempting to join the domain’ error? We investigated this particular error by looking at various user reports and the troubleshooting guides that they themselves followed to get the issue resolved. Based on what we were able to gather, there are several different scenarios that might trigger this particular error message: SMB1 support is di...

How to Fix Startup Repair Loop on Windows 7

Getting a  boot loop  which doesn’t let you go past the  Startup Repair  in Windows 7 is something that a lot of users have experienced, and it is most likely due to corrupt registry entries. It might be your mistake if you have messed around in the registry and changed a key you shouldn’t have, but it can also happen by itself, as Windows isn’t really immune to that kind of problems. No matter whether it is your fault or not, you will not be able to boot up Windows, as it will be stuck rebooting itself and won’t make it past the  Startup Repair  screen no matter what. However, there is a solution that begins at the Startup Repair screen, and uses the command prompt to fix the problem by backing up your files, and refreshing Windows, so follow the steps below to see how you can get out of the boot loop. Backup your old files and refresh your Windows In order to start the system in start-up repair, you will need either the windows installation ...