Administrative Template
Administrative Templates are a feature of Group Policy, a Microsoft technology for centralized management of machines and users in an Active Directory environment.
Administrative Templates facilitate the management of registry-based policy. An ADM file is used to describe both the user interface presented to the Group Policy administrator and the registry keys that should be updated on the target machines. An ADM file is a text file with a specific syntax which describes both the interface and the registry values which will be changed if the policy is enabled or disabled.
ADM files are consumed by the Group Policy Object Editor. Windows XP Service Pack 2 shipped with five ADM files. These are merged into a unified "namespace" in GPEdit and presented to the administrator under the Administrative Templates node.
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
- Keyname - used to define what registry key will be affected