How to use Group Policy to configured INI files

imageINI Files are one of those things that most administrators probably still need to mange in your environment due to one of those (crapy) apps that still not made the jump to registry keys. This is were there INI feature of Group Policy Preferences can be a great help in managing these files. What is really great about this option is that it also allows you to modify existing files without losing any existing custom modification.

Below I show you just a few examples of how you can use the GPP INI option when working with these files.

In my example I already have a file created called C:\test.ini with the following values.

image

TIP: If the INI file is a global configuration file you will probably need to make this change as a computer policy as standard users probably won’t need have the permission to make changes to the file.

image

Select the “Update” action and fill out the fields as you need. I have circled the related fields in the same colour to show how they values match up.

Note: See that the existing information in the file is preserved.

image image

Its also really easy to setup a new section by just specifying a different “Section Name”.

image image

If you want to remove a Property from the INI file simply select the “Delete” action and the name of the property.

Tip: If you want to delete the entire INI file use the GPP File Extensions option.

image image

For more information on the INI file Group Policy Preference check out http://technet.microsoft.com/en-us/library/cc772027.aspx

Author: Alan Burchill

Microsoft MVP (Group Policy)

17 thoughts on “How to use Group Policy to configured INI files

  1. グループポリシーでiniファイルを制御できるんだ、知らなかった。RT @Leodesk_IT: RT @xenappblog: How to use Group Policy to configured INI files http://t.co/Xd3sI42b

  2. グループポリシーでiniファイルを制御できるんだ、知らなかった。RT @Leodesk_IT: RT @xenappblog: How to use Group Policy to configured INI files http://t.co/Xd3sI42b

Leave a Reply