parentCategory Element

Applies To: Windows Server 2008

The parentCategory element specifies the location of the category in relationship to its parent category in the Group Policy Object Editor tree structure.

Syntax

<parentCategory ref="<placeholderNamespace>:<placeholderLogicalName>" />

Attributes

Attributes Required Description

ref Attribute

Yes

ref="<placeholderNamespace>:<placeholderLogicalName>"

References a previously defined category.

Child elements

There are no child elements associated with this element.

Remarks

If the parentCategory element is omitted, the Group Policy Object Editor will display the category element under the Administrative Templates node. You cannot define more than one parentCategory for a category element.

Examples

This XML fragment is an example of a custom parentCategory element that is assumed to be declared inside the same .admx file as the element being referenced.

  <parentCategory ref="SAMPLE" />

This XML fragment is an example of how to define a parentCategory element referencing the category defined in the Windows base file, Windows.admx.

  <parentCategory ref="windows:WindowsComponents" />

Additional references

category Element

policy Element

Referencing the Windows Base ADMX File

Creating a Custom Base ADMX File