Share via


falseValue Element

Applies To: Windows Server 2008

The falseValue element sets the registry value for the false condition of a boolean element.

Syntax

     <falseValue>
       <delete /> | <decimal> … </decimal> | <string> … </string>
     </falseValue>

You must include a choice of either the delete element, decimal element, or string element.

Attributes

There are no attributes associated with this element.

Child elements

Element Required Description

delete Element

One of three must be used in the enabledValue element.

Represents a deleted registry value or key.

decimal Element (elements)

One of three must be used in the enabledValue element.

Represents an unsigned decimal number.

string Element (.admx)

One of three must be used in the enabledValue element.

String type limited to 255 characters in length.

Note

For simplicity of documentation, nested elements located one level down, known as child elements, will only be described for a given element.

Remarks

The falseValue element is an optional element. If you use the falseValue element when defining a boolean element, you must define one child element: delete, decimal, or string element. If not, the Group Policy Management Console or the Local Group Policy Editor will display an error.

Examples

This XML fragment is an example of a falseValue element used to configure a registry setting value to a decimal value of 0.

      <falseValue>
        <decimal value="0" />
      </falseValue>

Additional references

boolean Element