INI 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.
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.
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.
Its also really easy to setup a new section by just specifying a different “Section Name”.
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.
For more information on the INI file Group Policy Preference check out http://technet.microsoft.com/en-us/library/cc772027.aspx