How to create and manage the Central Store for Group Policy Administrative Templates in Windows

Applies to: Windows 10, version 1809Windows Server 2019, all versionsWindows 10, version 1803 More

INTRODUCTION


Administrative Templates (.admx) for Windows 10, version 1803 (April 2018 Update)

More Information


Overview

Administrative Templates files are divided into .admx files and language-specific .adml files for use by Group Policy administrators. The changes that are implemented in these files let administrators configure the same set of policies by using two languages. Administrators can configure policies by using the language-specific .adml files and the language-neutral .admx files.

Administrative Templates file storage

Windows uses a Central Store to store Administrative Templates files. The ADM folder is not created in a Group Policy Object (GPO) as it is done in earlier versions of Windows. Therefore, Windows domain controllers do not store or replicate redundant copies of .adm files.

The Central Store

To take advantage of the benefits of .admx files, you must create a Central Store in the SYSVOL folder on a Windows domain controller. The Central Store is a file location that is checked by the Group Policy tools by default. The Group Policy tools use all .admx files that are in the Central Store. The files that are in the Central Store are replicated to all domain controllers in the domain.

We suggest keeping a repository of any ADMX/L files that you have for applications that you may want to use, such as operating system extensions like Microsoft Desktop optimization Pack (MDOP), Microsoft Office and also third-party applications that offer Group Polic support.

To create a Central Store for .admx and .adml files, create a new folder that is named PolicyDefinitions in the following location (for example) on the domain controller:

\\contoso.com\SYSVOL\contoso.com\policies\PolicyDefinitions

When you already have such a folder that has a previously built Central Store, use a new folder describing the current version such as:

\\contoso.com\SYSVOL\contoso.com\policies\PolicyDefinitions-1803

Copy all files from the PolicyDefinitions folder on a source computer to the new PolicyDefinitions folder on the domain controller. The source location can be either of the following:

  • The C:\Windows\PolicyDefinitions folder on a Windows 8.1-based or Windows 10-based client computer
  • The C:\Program Files (x86)\Microsoft Group Policy\<version-specific>\PolicyDefinitions folder if you have downloaded any of the Administrative Templates separately from the links above

The PolicyDefinitions folder on the Windows domain controller stores all .admx files and .adml files for all languages that are enabled on the client computer.

The .adml files are stored in a language-specific folder. For example, English (United States) .adml files are stored in a folder that is named "en-US"; Korean .adml files are stored in a folder that is named "ko_KR"; and so on.

If .adml files for additional languages are required, you must copy the folder that contains the .adml files for that language to the Central Store. When you have copied all .admx and .adml files, the PolicyDefinitions folder on the domain controller should contain the .admx files and one or more folders that contain language-specific .adml files.

Note When you copy the .admx and .adml files from a Windows 8.1-based or Windows 10-based computer, verify that the most recent updates to these files are installed. Also, make sure that the most recent Administrative Templates files are replicated. This advice also applies to service packs, as applicable.

When the operating system collection is completed, merge any OS extension or application ADMX/ADML files into the new PolicyDefinitions folder.

When this is finished, rename the current PolicyDefinitions folder to reflect that is it the “previous” version, for example, PolicyDefinitions-1709. Then, rename the new folder (for example PolicyDefinitions-1803) to the “production” name.

 

We suggest this approach as you can revert to the old folder in case you experience a severe problem with the new set of files. When you have not experienced any problems wih the new set of files, you can move the older PolicyDefinitions folder to an archive location outside SYSVOL.

Group Policy administration

Windows 8.1 and Windows 10 do not include Administrative Templates that have an .adm extension. We recommend that you use computers that are running Windows 8.1 or later versions of Windows to perform Group Policy administration.
 

Updating the Administrative Templates files

In Group Policy for Windows Vista and later version of Windows, if you change Administrative Templates policy settings on local computers, SYSVOL is not automatically updated to include the new .admx or .adml files. This change in behavior is implemented to reduce network load and disk storage requirements and to prevent conflicts between .admx and .adml files when changes are made to Administrative Templates policy settings across different locations.

To make sure that any local updates are reflected in SYSVOL, you must manually copy the updated .admx or .adml files from the PolicyDefinitions file on the local computer to the Sysvol\PolicyDefinitions folder on the appropriate domain controller.

The following update enables you to configure the Local Group Policy editor to use Local .admx files instead of the Central Store:
 

You can also use this setting to:

  • Test a newly built folder as c:\windows\policydefinitions on an Administrative Workstation against your Domain Policies, before you copy it to the Central Store on SYSVOL.
  • Use older PolicyDefinitions folder to edit policy settings that don’t have an ADMX file in the latest build of your Central Store. One common example would be policies that have settings for older versions of Microsoft Office that are still in the Group Policies. Microsoft Office has a separate set of ADMX/L files for each release.

Known Issues

Issue 1
After you copy the Windows 10 .admx templates to the SYSVOL Central Store and overwrite all existing *.admx and *.adml files, click the Policies node under Computer Configuration or User Configuration. When you do this, you may 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.

File
\\<forest.root>\SysVol\<forest.root>\Policies\PolicyDefinitions\Microsoft-Windows-Geolocation-WLPAdm.admx, line 5, column 110

Note
In the path in this message, <forest.root> represents the domain name.

To resolve this problem, follow the steps that are documented in the following Knowledge Base article:
 
Issue 2

Updated ADMX/L files for Windows 10, version1803 contain only SearchOCR.ADML. This is not compatible with an older release of SearchOCR.ADMX that you stll have in the Central Store. Details on the problem:

"Resource '$(string id=Win7Only)' referenced in attribute displayName could not be found" error when you open gpedit.msc in Windows

Both of these problems can be avoided by building a pristine PolicyDefinitions folder from a base OS release folder as described above.