- You have a domain controller that's running one of the following operating systems:
- Windows Server 2008
- Windows Server 2008 R2
- Windows Server 2012
- Windows Server 2012 R2
- You create a central store for Group Policy Administrative Template files (.admx files) on the computer. For more information, see How to create the Central Store for Group Policy Administrative Template files in Windows Vista .
- You join a Windows 10-based computer to the domain.
- On the Windows 10-based computer, you copy the files under the %systemroot%\PolicyDefinitions directory, paste them to the ADMX central store, and overwrite all existing *.admx and *.adml files. Then, you open the Group Policy Management Console (GPMC) to edit a policy.
- You click the Policies node under Computer Configuration or User Configuration.
- You have a computer that's running Windows 10 RTM (Build 10240).
- You upgrade the computer to Windows 10 version 1511 (Build 10586).
In these scenarios, you receive the following error message:
Dialog Message text
Namespace 'Microsoft.Policies.Sensors.WindowsLocationProvider' is already defined as the target namespace for another file in the store.
\\<forest.root>\SysVol\<forest.root>\Policies\PolicyDefinitions\Microsoft-Windows-Geolocation-WLPAdm.admx, line 5, column 110
Note The <forest.root> placeholder represents the domain name.
For example, the error message resembles the message in the following screen shot:
Note You may not notice this issue if you are upgrading from Windows 7 or Windows 8.1 to Windows 10 version 1511 (skipping Windows 10 RTM).
After you copy the .admx files from Windows 10 to a central store that contains a LocationProviderADM.ADMX file that's from an earlier release of Windows, there are two .admx files that contain the same settings but that have different names. This triggers the "namespace is already defined" error.
When you upgrade from Windows 10 RTM to Windows 10 version 1511, the new LocationProviderAdm.admx file is copied to the folder while still keeping the old Microsoft-Windows-Geolocation-WLPAdm.admx file. Therefore, there are two ADMX files that address the same policy namespace.
Method 1Click OK to ignore the error message. The error message is informational, and the Group Policy setting works as expected.
Method 2Delete the LocationProviderADM.admx and LocationProviderADM.adml files, and change Microsoft-Windows-Geolocation-WLPAdm.admx and Microsoft-Windows-Geolocation-WLPAdm.adml to the correct names.
- Delete the LocationProviderADM.admx and LocationProviderADM.adml files from the central store.
- Rename Microsoft-Windows-Geolocation-WLPAdm.admx as LocationProviderADM.admx.
- Rename Microsoft-Windows-Geolocation-WLPAdm.adml as LocationProviderADM.adml.
- Delete the Microsoft-Windows-Geolocation-WLPAdm.admx file from the local store. The path to the local policy store is C:\Windows\PolicyDefinitions.
Note ADMX and ADML files are system-protected. To rename or delete these files, you must add NTFS permissions to the files. To do this, use the following commands:
- Open an elevated command prompt, and then use takeown.exe to grant ownership to local administrators:takeown /F " C:\Windows\PolicyDefinitions\Microsoft-Windows-Geolocation-WLPAdm.admx" /Atakeown /F " C:\Windows\PolicyDefinitions\en-US\Microsoft-Windows-Geolocation-WLPAdm.adml" /A
- Grant administrators Full Control permissions to both files.
- Rename both files with an extension of .old, and you will no longer receive the Geolocation pop-ups when you open GPEDIT.MSC.
In the pre-Windows 10 LocationProviderADM.admx file, the "<supportedOn>" line appears as follows:
<supportedOn ref="windows:SUPPORTED_Windows8"/>In the Windows 10 LocationProviderADM.admx, the "<supportedOn>" line appears as follows:
<supportedOn ref="windows:SUPPORTED_Windows8_Or_Windows_6_3_Only"/>This error occurs when you click the Policy node under Computer Configuration or User Configuration.
ID Artikel: 3077013 - Tinjauan Terakhir: 17 Okt 2017 - Revisi: 7