Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

boolean

A choice element in a policy with associated values for the true and false cases.

Element hierarchy

<policyDefinitions>
<policies>
<policy>
<elements>
<boolean>

Syntax

<boolean id               = string
         clientExtension? = GUID
         key?             = registryKey
         valueName?       = registryValueName >

  <!-- Child elements -->
  trueValue?,
  falseValue?,
  trueList?,
  falseList?

</boolean>

Key

?   optional (zero or one)

Attributes and Elements

Attributes

AttributeDescriptionData typeRequiredDefault value
clientExtension

The GUID of the extension.

GUIDNo
id

Identifies the element.

stringYes
key

A valid registry key path (without reference to local system or user hive).

registryKeyNo
valueName

A valid registry value name.

registryValueNameNo

 

Child Elements

Child ElementDescription
falseList

A list of values to be set when the item is set to a false state.

falseValue

A value to be set when the item is set to a false state.

trueList

A list of values to be set when the item is set to a true state.

trueValue

A value to be set when the item is set to a true state.

 

Parent Elements

Parent ElementDescription
elements

Defines the types of optional parameters defined in a policy setting. The number and type of PolicyElements must match the policy presentation elements.

 

Requirements

Namespace

http://www.microsoft.com/GroupPolicy/PolicyDefinitions

 

 

Show: