Upgrade GPO Templates on Server 2008 R2 with Windows 8/Server 2012

Here is a quick howto on upgrading the GPO templates on a Server 2008 R2 domain controller with the newest ones from a Windows 8 machine. There are a few additional ones that you can get from a Server 2012 machine as well that are not included with Windows 8.

**UPDATE**

You can now download the new GPO Templates from here.

**OLD WAY** Use process above.

So here goes.

Open an elevated cmd prompt and run the following commands.

cd /d %windir%\winsxs
mkdir c:\temp
mkdir c:\temp\admx\PolicyDefinitions
mkdir c:\temp\admx\PolicyDefinitions\en-US
FOR /F %i IN (c:\temp\admx\admx.txt) DO copy %i c:\temp\admx\PolicyDefinitions\
FOR /F %i IN (c:\temp\admx\adml_en-us.txt) DO copy %i c:\temp\admx\PolicyDefinitions\en-US\

This will copy all of the new templates from your Windows 8 machine to the temp location. Now logon to your Domain Controller and browse to c:\windows\ and rename PolicyDefinitions to PolicyDefinition.orig. Now you need to copy the PolicyDefinitions folder you just created in c:\temp\admx to your domain controller in c:\windows\. Open up group policy editor and enjoy your new upgraded templates.

14 thoughts on “Upgrade GPO Templates on Server 2008 R2 with Windows 8/Server 2012

    • The following files are new for Windows 8/Server 2012
      AppxPackageManager.admx
      AppXRuntime.admx
      DeviceCompat.admx
      DeviceSetup.admx
      EAIME.admx
      EdgeUI.admx
      EncryptFilesonMove.admx
      FileServerVSSAgent.admx
      FileServerVSSProvider.admx
      hotspotauth.admx
      LocationProviderAdm.admx
      msched.admx
      NCSI.admx
      NetworkIsolation.admx
      Printing2.admx
      Servicing.admx
      SettingSync.admx
      srm-fci.admx
      StartMenu.admx
      WCM.admx
      WinStoreUI.admx
      wlansvc.admx
      WPN.admx
      wwansvc.admx

      The following are only available with Server 2012
      adfs.admx
      FileServerVSSAgent.admx
      GroupPolicy-Server.admx
      MMCSnapIns2.admx
      NAPXPQec.admx
      PswdSync.admx
      Snis.admx
      TerminalServer-Server.admx
      WindowsServer.admx

      The following are only available with Windows 8.
      DeviceRedirection.admx
      sdiagschd.admx

  1. I am still not sure which AMX files should go in

    c:tempadmxadmx.txt

    and which should go in

    c:tempadmxadml_en-us.txt

    Also this command "cd /d %windir%winsxs" send me to C:windowswinsxs but no .admx files are there. I did however find .admx files in the list above in the c:windowsPolicyDefinitions and C:WindowsPolicyDefinitionsen-us folders. Is it safe to assume these locations will do?

    Is it possible to copy the "c:windowsPolicyDefinitions" from my windows 8 computer to my server 2008rs c:windowsPolicyDefinitions after renaming said fold as described above?

  2. ** OLD WAY FIXED ** SAVE BELOW TO A CMD FILE

    cd /d %windir%WinSxS

    dir *.admx /s /b > %USERPROFILE%Desktopadmx.txt

    dir *.adml /s /b | find /i "en-us" > %USERPROFILE%Desktopadml_en-us.txt

    dir *.adml /s /b | find /i "pl-pl" > %USERPROFILE%Desktopadml_pl-pl.txt

    md %USERPROFILE%DesktopPolicyDefinitionsen-US

    md %USERPROFILE%DesktopPolicyDefinitionspl-PL

    FOR /F %%i IN (%USERPROFILE%Desktopadmx.txt) DO copy /y %%i %USERPROFILE%DesktopPolicyDefinitions

    FOR /F %%i IN (%USERPROFILE%Desktopadml_en-us.txt) DO copy /y %%i %USERPROFILE%DesktopPolicyDefinitionsen-US

    FOR /F %%i IN (%USERPROFILE%Desktopadml_pl-pl.txt) DO copy /y %%i %USERPROFILE%DesktopPolicyDefinitionspl-PL

  3. What do you mean by:

    The following are only available with Server 2012

    adfs.admx

    FileServerVSSAgent.admx

    GroupPolicy-Server.admx

    MMCSnapIns2.admx

    NAPXPQec.admx

    PswdSync.admx

    Snis.admx

    TerminalServer-Server.admx

    WindowsServer.admx

    The following are only available with Windows 8.

    DeviceRedirection.admx

    sdiagschd.admx

    • The ones listed as only available are the specific .admx files that can be found in the related Windows version. The larger list is available in both Windows versions.

  4. The ones listed as only available are the specific .admx files that can be found in the related Windows version. The larger list is available in both Windows versions.

  5. Along with all this precious information the easy download of the templates that you have provided is making it all the easy for me to work. Keep updating these templates and such easy methods for putting the information to work in an easier way.

  6. Pingback: Windows 8 not mapping shares or printers - Page 4

  7. Windows do not allow me to replace existing files in the PolicyDefinitions folder even as administrator. When I rename them and copy into the folder, Group Policy Management will prompt duplicate alert.

    • You will need to set the correct NTFS permissions and not have duplicate settings. Replace the templates do not have duplicates even if they are renamed.

Leave a Reply

Your email address will not be published. Required fields are marked *

*