The WinStoreUI.admx file is available in Windows Server 2012 R2 but is not included in the initial release of Windows 10. However, after you update the Central Store by using the .admx files from Windows 10 Version 1511, the following error is displayed as soon as you start editing a Group Policy object (GPO):
Namespace 'Microsoft.Policies.WindowsStore' is already defined as the target namespace for another file in the store.
Comparing the .admx files of Windows Server 2012 R2 and Windows 10 Version 1511 shows that WindowsStore.admx contains the same information as WinStoreUI.admx, plus a few additional policy settings. After you delete WinStoreUI.admx, this error no longer occurs. However, the Resultant Set of Policies on a 2012 R2-based computer contains the following error:
An error has occurred while collecting data for Administrative Templates. The following errors were encountered An appropriate resource file could not be found for \\<domain>\sysvol\<domain.dns>policies\PolicyDefinitions\WinStoreUI.admx\(error = 2): The system cannot find the file specified.
In Windows 10 Version 1507, the Store .admx file was removed. A fix restored the .admx file. However, this file now has a new name. After Version 1511 is installed, when customers update their Central Store, they now have two .admx files that have identical settings. Because this is not allowed, the error that's described in the "Symptoms" section occurs.
The .admx files are the following:
Original Store Group Policy file name: winstoreui.admx
New Store Group Policy file name: windowsstore.admx
This problem is fixed in Windows 10 Version 1511 and by the most recent cumulative update. Affected customers should upgrade to that release if possible. To prevent the error from occurring when you open Gpedit.msc and when you run Gpresult.exe, follow these steps:
Verify that you have both winstoreui.admx and windowsstore.admx in the Central Store.
Delete the winstoreui.admx and winstoreui.adml files from the Central Store.
Verify that both opening Gpedit.msc and running Gpresults.exe work without error.
ID articolo: 3190327 - Ultima revisione: 09/08/2016 14:50:00 - Revisione: 1.0