The category name is displayed in Group Policy as a node in either the Computer Configuration or the User Configuration node, depending on whether it is defined under the MACHINE class or the USER class.
The CATEGORY syntax is as follows:
CATEGORY !!"variable name"
[KEYNAME "key name"]
[... policy definition statements ...]
END CATEGORY
where:
variable name is the category name as it should appear in the Group Policy list box. Names with spaces must be enclosed by double quotation marks.
key name is the optional registry key name to use for the category. If a key name is specified, it will be used by all child categories, policies, and parts, unless they specifically provide a key name of their own. Names with spaces must be enclosed by double quotation marks.
A policy definition statement cannot appear more than once in a single category.
The following example shows a category name of MyNewCategory:
CATEGORY !!MyNewCategory
To close the category after filling in the options, use:
END CATEGORY ; MyNewCategory
Note that categories can be nested to create subcategories as in the following example:
CATEGORY !!FirstCategory
CATEGORY !!SecondCategory
CATEGORY !!ThirdCategory
...
...
END CATEGORY ; ThirdCategory
END CATEGORY ; SecondCategory
END CATEGORY ; FirstCategory
The valid keywords for CATEGORY are: