Administrative Template - Syntax

Syntax

A simple ADM example follows:

CLASS MACHINE CATEGORY "Wikipedia Apps" POLICY "Wikipedia" KEYNAME "Software\WikiSoft\Preferences" EXPLAIN "Configures WikiSoft Preferences" VALUENAME "SharingEnabled" VALUEON "Yes" VALUEOFF "No" END POLICY END CATEGORY

A valid ADM file must have the following keywords:

  • Class - either MACHINE or USER
  • Category - Defines organizational structure of ADM and where it will be displayed in the GPEdit window.
  • Policy - Groups definitions into one node and configuration screen of the GPEdit tree

Optional keywords used include:

  • Keyname - used to define what registry key will be affected

View Filtering must be turned off in order to see custom preference settings (such as this example) in the Group Policy Editor.

Read more about this topic:  Administrative Template