ConvertPOLtoDCM – Utility to Convert Group Policy .pol files into Configuration Manager 2012 Compliance CIs

If you are serious about checking compliance in your System Center Configuration Manager 2012 managed environment it may have occurred to you that it would be convenient to convert key group policies into System Center Configuration Manager 2012 Compliance Configuration Items (CIs). The following utility will convert the Registry Policy (.pol) portion of group policies; the section under 'Administrative Templates'. If you are interested in converting the entire group policy I've written another more complex blog post that you can use Maximizing SCM to create ConfigMgr 2007 and 2012 DCM Baselines -

The ConvertPOLtoDCM utility leverages the ImportRegPol utility written by Aaron Margosis which is included in the attached .zip file and is necessary for ConvertPOLtoDCM to work correctly. More information on ImportRegPol can be found on:

ConvertPOLtoDCM can be used either interactively or via the command line. To use ConvertPOLtoDCM the following preliminary steps are needed:

- Download the attached ConvertPOLtoDCM .zip file
- Download the file which includes the ImportRegPol utility from
- Extract the contents of both .zip files
- Copy the files ImportRegPol.exe and ImportRegPol.htm from the extracted LGPO-Utilities directory to the extracted ConvertPOLtoDCM directory. ImportRegPol.exe must be in the same directory as the ConvertPOLtoDCM powershell script to work correctly.
- Ensure that the powershell execution policy allows the execution of the unsigned utility by opening the Powershell ISE as an administrator and running the command Set-ExecutionPolicy Unrestricted
Ensure you have source content to convert - either a GPO backup or an exported log from the ImportRegPol utility

To use ConvertPOLtoDCM interactively, launch the Powershell script. Either right-click the script and choose Run with Powershell OR open the Powershell ISE and run from there. Local administrative rights are not needed to run the utility. Enter the necessary parameters in the GUI and click Convert.

To use ConvertPOLtoDCM via command line a .htm help file within the attached .zip file details the proper syntax.

Once the .cab file is created it can be imported into System Center Configuration Manager 2012 by navigating to the Assets and Compliance section, expanding Compliance Settings, right-clicking on Configuration Items, and choosing Import Configuration Data. Follow the wizard and ensure the following checkbox is NOT checked Create a new copy of the imported configuration baselines and configuration items.

Comments (9)

  1. Eswar koneti says:

    Thanks for the tool.Appreciated

  2. Ed (DareDevil57) says:

    Thanks for sharing.

  3. Jim Riekse says:

    Post slightly updated to reflect updated instructions to download the leveraged ImportRegPol utility from its original location and then combine it with the powershell script.

  4. Awesome… This is something I wanted for a long time. Looking forward to test this Tool in my lab. Thanks for sharing!

  5. Jim Riekse says:

    Glad you like it. Let me know how your testing goes.

  6. turbomcp says:

    this is amazing
    (I officially turned into geek:))

  7. max says:

    i cannot find ImportRegPol.exe on the link provided.

    1. Jim Riekse says:

      It’s still there at the bottom of the page. It’s the link with the name Note this is not the most recent version of his utility, but the older version is needed to work with the powershell script.

  8. Horst Baier says:

    Good work, but at my Computer the script can’t create the Setup.inf till I’ve add the two lines
    .Set RptFileName=$ScriptDir\setup.inf
    .Set InfFileName=$ScriptDir\setup.rpt

Skip to main content