Was this page helpful?
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Collapse the table of content
Expand the table of content
Expand Minimize

item Element

Applies To: Windows Server 2008

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

       <item> … </item>


Attributes Required Description

key Attribute


Represents a registry subkey.

valueName Attribute


Represents a registry entry name.


Element Required Description

value Element


Represents a registry entry value.

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"

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

Community Additions

© 2015 Microsoft