共用方式為


PolicyDefinitions schema

General schema information goes on this page.

The following table lists all of the elements in this schema, sorted alphabetically by name.

Element Description
[and](element-and.md)

A group of supported components that must all be true for the policy definition to be supported.

[annotation](element-annotation.md)

A comment string for .adml files. Strings added to this tag will not be processed by Group Policy tools.

[boolean](element-boolean.md)

A choice element in a policy with associated values for the true and false cases.

[categories](element-categories.md)

A list of category elements. Up to one list of categories can be defined in an .admx file.

[category](element-category.md)

A single grouping of policy definitions based on the definition of the Category type.

[checkBox](element-checkbox.md)

Represents a check box display element.

[comboBox](element-combobox.md)

Represents a combo box display element with default/suggested entries.

[decimal (in type: Value)](element-1-decimal.md)

An unsigned integer numeric value.

[decimal (type: DecimalElement)](element-decimal.md)

A number/decimal element in a policy. The value can be stored in either a numeric or string representation of the value.

[decimalTextBox](element-decimaltextbox.md)

Represents a text box with or without a spin control for entering decimal numbers.

[default](element-default.md)

Specifies a default string.

[defaultValue](element-defaultvalue.md)

Specifies a default value. This can be used for either string or numeric data.

[definition](element-definition.md)

Definition of complex supported product major and/or minor versions, and such. The DisplayName must be a linguistic representation of the complex supported-on definition.

[definitions](element-definitions.md)

A table of supported components definitions. A single grouping of SupportedOnDefinitions.

[delete](element-delete.md)

A deleted registry value or key.

[description](element-description.md)

The localized description of policy settings contained in an .adml file. Unsupported by current Group Policy tools.

[disabledList](element-disabledlist.md)

A list of items representing registry value names to be set when the owning policy is disabled.

[disabledValue](element-disabledvalue.md)

A registry value name to be set when the owning policy is disabled.

[displayName](element-displayname.md)

The localized friendly name of the policy settings file. Unsupported by current Group Policy tools.

[dropdownList](element-dropdownlist.md)

A drop-down list display element, with which a user can pick one of the displayed entries. Must be associated with an EnumerationElement when defined in the <elements> PolicyDefinition element.

[elements](element-elements.md)

Defines the types of optional parameters defined in a policy setting. The number and type of PolicyElements must match the policy presentation elements.

[enabledList](element-enabledlist.md)

A list of items representing registry value names to be set when the owning policy is enabled.

[enabledValue](element-enabledvalue.md)

A registry value name to be set when the owning policy is enabled.

[enum](element-enum.md)

An enumeration element in a policy.

[falseList](element-falselist.md)

A list of values to be set when the item is set to a false state.

[falseValue](element-falsevalue.md)

A value to be set when the item is set to a false state.

[item (in type: EnumerationElement)](element-4-item.md)

One of the values in an EnumerationElement.

[item (type: ValueItem)](element-item.md)

A specified item with an associated registry key and value.

[keywords](element-keywords.md)

Optional keywords associated with categories or policy definitions. Not supported by Group Policy tools.

[label](element-label.md)

Text associated with the input box to provide prompt text.

[list](element-list.md)

A list element in a policy.

[listBox](element-listbox.md)

Represents a listbox display element.

[longDecimal (in type: Value)](element-1-longdecimal.md)

An unsigned Long numeric value.

[longDecimal (type: LongDecimalElement)](element-longdecimal.md)

A QWORD (64-bit unsigned integer) number/decimal element in a policy.

[longDecimalTextBox](element-longdecimaltextbox.md)

Represents a text box with or without a spin control for entering 64-bit decimal numbers. Can be associated with either a LongDecimalElement or TextElement.

[majorVersion](element-majorversion.md)

A major version of a product.

[minorVersion](element-minorversion.md)

A single version of a component to facilitate simple ranking of versions.

[multiText](element-multitext.md)

A multi-line text element in a policy.

[multiTextBox](element-multitextbox.md)

Represents a multi-line textbox display element. Can be associated with a multiTextElement.

[or](element-or.md)

A group of supported components where at least one must be true for the policy definition to be supported.

[parentCategory](element-parentcategory.md)

A reference to the parent category of the current category.

[policies](element-policies.md)

A grouping of one or more policy setting definitions.

[policy](element-policy.md)

A single policy setting definition.

[policyDefinitionResources](element-policydefinitionresources.md)

The base type for localized .adml files with a single language/culture per file. Localization files are always in the namespace of the associated .admx file and never reference definitions from other namespaces.

[policyDefinitions](element-policydefinitions.md)

The base type for general .admx files with satellite resource files.

[policyNamespaces](element-policynamespaces.md)

An .admx implementation of a PolicyNamespaces type.

The PolicyNamespaces complex type is a single PolicyNamespaceAssociation to reference the policy information defined in an .admx file and a set of PolicyNamespaceAssociation types referenced by an .admx file.

[presentation](element-presentation.md)

A presentation element representing parameters for a policy setting.

[presentationTable](element-presentationtable.md)

A table of presentation elements representing policy setting parameters.

[product](element-product.md)

A potentially supported product.

[products](element-products.md)

A single grouping of SupportedProducts. Not supported by current Group Policy tools.

[range](element-range.md)

A supported version range.

[reference](element-reference.md)

A reference to a supported product definition, either a single version or a complex definition.

[resources (type: Localization)](element-resources.md)

An .adml implementation of a localization table.

[resources (type: LocalizationResourceReference)](element-1-resources.md)

An .admx implementation of the PolicyDefinitionResources. The minimum version of the .adml file is required.

[seeAlso](element-seealso.md)

An descriptor string used to reference related policy definitions. Optional and unsupported by Group Policy tools.

[string (in type: Value)](element-1-string.md)

A string with a maximum length of 255 characters.

[string (type: LocalizedString)](element-string.md)

A localized string. This can represent policy setting titles or help text strings.

[stringTable](element-stringtable.md)

A table of localized strings.

[suggestion](element-suggestion.md)

A suggested value to be placed in the drop-down list. Multiple suggestion elements result in multiple suggestions.

[supersededAdm](element-supersededadm.md)

A reference to the file name for an .adm file. Group Policy Object Editor will not read any .adm file designated as superseded.

[supportedOn (type: SupportedOnReference)](element-1-supportedon.md)

A reference to a supported product definition, either a single version or a complex definition.

[supportedOn (type: SupportedOnTable)](element-supportedon.md)

A table of potentially supported products.

[target](element-target.md)

A PolicyNamespaceAssociation to reference an .admx file. A target element should be unique for each .admx file. The Group Policy Object Editor will report a duplicate namespace error if it reads more than one .admx file with the same target namespace.

[text (type: TextElement)](element-1-text.md)

A text element in a policy.

[text (type: string)](element-text.md)

A localized string.

[textBox](element-textbox.md)

Represents a text box display element.

[trueList](element-truelist.md)

A list of values to be set when the item is set to a true state.

[trueValue](element-truevalue.md)

A value to be set when the item is set to a true state.

[using](element-using.md)

A set of PolicyNamespaceAssociation types referenced by an .admx file.

[value](element-value.md)

Can be a string, a decimal value or deleted.

[valueList](element-valuelist.md)

A list of items with an associated registry key and value.