Export (0) Print
Expand All
Expand Minimize

policies Element

Applies To: Windows Server 2008

The policies element is a table of policy elements.

  <policies>
    <policy> … </policy>
</policies>

There are no attributes associated with this element.

 

Element Required Description

policy Element

Yes

Represents a single policy setting.

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

If there are no policy elements to be specified in this .admx file, you can omit the policies element. If you include the policies element in the .admx file, you must define at least one policy element. The policies element is defined at most once in an .admx file.

This XML fragment is an example of a single unique policy setting that sets a registry value to a decimal number, based on the policy setting enabled, disabled, or not configured state.

  <policies>
    <policy name="<placeholder for logical or friendly name>"   
     displayName="$( string.<placeholder for policy text>)"
     explainText="$( string.<placeholder for help text>)"
     key="<placeholder for registry key>" 
     valueName="Example1NoParam">
      <parentCategory ref="SAMPLE" />
      <supportedOn ref="SUPPORTED_ProductOnly" />
      <enabledValue>
        <decimal value="1" />
      </enabledValue>
      <disabledValue>
        <decimal value="0" />
      </disabledValue>
    </policy>
  </policies>

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

Community Additions

ADD
Show:
© 2014 Microsoft