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 Windows 10 Pin Issues when Logging In

Windows 10 provide a very convenient way of logging in to your Windows using a pin code. However, some users are experiencing problems with the Windows 10 pin login. After a Windows Update, users can’t sign in using their previous pin code. And this isn’t related to users forgetting their pin codes. It seems like their old pin code has been removed from the Windows and their PCs aren’t recognising it. Now, there are a lot of scenarios of this. Some people can’t sign in because the system doesn’t recognise their PIN. On the other hand, some people can’t even enter their pin because there isn’t a pin option available for them. What Causes the Pin to Stop Working? Here is a list of things that can cause this issue A bug in the Windows Update that might have broken the PIN sign in option Corrupt files in the Ngc folder Usually it happens after a Windows Update so it’s a bug that breaks the PIN sign in option. Tips Before you dive deep in to the methods given below...

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

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