Export (0) Print
Expand All
Expand Minimize
1 out of 1 rated this helpful - Rate this topic

item Element

Applies To: Windows Server 2008

The item element represents a singe registry entry and its value.

     <disabledList>
       <item> … </item>
     </disabledList>

 

Attributes Required Description

key Attribute

No

Represents a registry subkey.

valueName Attribute

Yes

Represents a registry entry name.

 

Element Required Description

value Element

Yes

Represents a registry entry value.

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

If a key attribute is not defined for an item, the default registry key defined for the enabledList element or disabledList element will be used. The Group Policy Management Console or Local Group Policy Editor will display an error if both the defaultKey attribute and the key attribute for an item element do not exist.

This XML fragment demonstrates the use of the item element to set the registry subkey, Software\Policies\Examples\Example2ActionList1, to a value of 5 stored as a string.

        <item key="Software\Policies\Examples"
                 valueName="Example2ActionList1">
          <value>
            <string>5</string>
          </value>
        </item>

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.