Export (0) Print
Expand All
Expand Minimize

value Element

Applies To: Windows Server 2008

The value element represents the actions to delete a registry subkey or set the value of the registry subkey to a decimal or string value.

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

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

There are no attributes associated with this element.

 

Element Required Description

delete Element

One of three must be used in the value element.

Represents a deleted value of a registry subkey or the subkey itself.

decimal Element (elements)

One of three must be used in the value element.

Represents an unsigned decimal number.

string Element (.admx)

One of three must be used in the value element.

String type limited to 255 characters in length.

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

The value element is an optional element. If you use the value element when defining a policy 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.

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

          <value>
            <decimal value="10" />
          </value>

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft