item (type: ValueItem)
A specified item with an associated registry key and value.
Element hierarchy
<policyDefinitions>
<policies>
<policy>
<enabledList>
<item>
<disabledList>
<item>
<elements>
<boolean>
<trueList>
<item>
<falseList>
<item>
<enum>
<item>
<valueList>
<item>
Syntax
<item key? = registryKey
valueName = registryValueName >
<!-- Child elements -->
value
</item>
Key
?
optional (zero or one)
Attributes and Elements
Attributes
Attribute | Description | Data type | Required | Default value |
---|---|---|---|---|
key | A valid registry key path (without reference to local system or user hive). |
registryKey | No | |
valueName | A valid registry value name. |
registryValueName | Yes |
Child Elements
Child Element | Description |
---|---|
[value](element-value.md) | Can be a string, a decimal value or deleted. |
Parent Elements
Parent Element | Description |
---|---|
[disabledList](element-disabledlist.md) | A list of items representing registry value names to be set when the owning policy is disabled. |
[enabledList](element-enabledlist.md) | A list of items representing registry value names to be set when the owning policy is enabled. |
[falseList](element-falselist.md) | A list of values to be set when the item is set to a false state. |
[trueList](element-truelist.md) | A list of values to be set when the item is set to a true state. |
[valueList](element-valuelist.md) | A list of items with an associated registry key and value. |
Related elements
The following elements have the same name as this one, but different content or attributes:
Requirements
Namespace |
https://www.microsoft.com/GroupPolicy/PolicyDefinitions |