none
Applying GPO Packs on Server 2012 R2 with MDT 2013 RRS feed

  • Question

  • Hi All,

    I'm having a problem applying a GPO Pack to Server 2012 R2 via MDT 2013 LTI offline media.

    I'm using a standard server task sequence. I've copied my GPO Pack files (created with local GPO export) to the following directory:

    DeploymentShare\Templates\GPOPacks\WS2012R2-MDTGPOPack

    GPOPack.wsf has been modified with the following

    If(Left(strOpVer,3) = "6.3") and (strProductType <> "1") then
             strOS = "WS12R2"
            ElseIf(Left(strOpVer,3) = "6.3") and (strProductType = "1") then
             strOS = "Win81"
            ElseIf(Left(strOpVer,3) = "6.2") and (strProductType <> "1") then
           strOS = "WS12"

    ZTIApplyGPOPack.wsf has been modified with the following:

    If (Left(sOSVersion,3) = "6.3") and oEnvironment.Item("IsServerOS") then
                        sOS = "WS2012R2"
                     oLogging.CreateEntry "Using Windows Server 2012 R2 GPO Pack", LogTypeInfo
                ElseIf (Left(sOSVersion,3) = "6.3") and Not(oEnvironment.Item("IsServerOS")) then
                        sOS = "Win81"
                        oLogging.CreateEntry "Using Windows 8.1 GPO Pack", LogTypeInfo
                ElseIf (Left(sOSVersion,3) = "6.2") and oEnvironment.Item("IsServerOS") then
                    sOS = "WS2012RTM"

    After creating new media I've copied my GPO Pack to the media directory:

    MDTMedia\Content\Deploy\Templates\GPOPacks\WS2012R2-MDTGPOPack

    After I create the ISO and mount in a VM the LTI works fine and I can see in temp\ZTIApplyGPOPack logs that the GPO pack is copied to C:\minint and executed but none of my GP settings are applied.

    Any ideas?

    Thanks in advance

    Thursday, May 22, 2014 10:02 AM

All replies