checkBox Element

Applies To: Windows Server 2008

The checkBox element represents a check box parameter. The checkBox element must be associated with a boolean element defined in the elements element.

<checkBox refId="<placeholderID>"
     Placeholder label:</ checkBox >

where Placeholder label is label text for the parameter.


Attributes Required Description

refId Attribute


A mapping to the element.

defaultChecked Attribute


A default value. If not specified, the defaultChecked attribute will be set to false.

There are no child elements associated with this element.

The checkBox element is associated with a check box parameter in the Group Policy Management Console or the Local Group Policy Editor. The checkBox element will require a matching boolean element in the corresponding .admx file with matching id attribute as declared in the presentation element containing the checkBox element.

This XML fragment is an example of two checkBox elements that are associated with two check box parameters, the second checked by default.

        <checkBox refId="Checkbox_1">First check box parameter</checkBox>
        <checkBox refId="Checkbox_2" defaultChecked="true">Second check box parameter - checked by default</checkBox>

Community Additions