item Element
Applies To: Windows Server 2008
The item element represents a singe registry entry and its value.
Syntax
<disabledList>
<item> … </item>
</disabledList>
Attributes
Attributes | Required | Description |
---|---|---|
No |
Represents a registry subkey. |
|
Yes |
Represents a registry entry name. |
Child elements
Element | Required | Description |
---|---|---|
Yes |
Represents a registry entry value. |
Note
For simplicity of documentation, nested elements located one level down, known as child elements, will only be described for a given element.
Remarks
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.
Examples
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>