defaultValue Element

Applies To: Windows Server 2008

The defaultValue element is a localized string initially displayed in the text box parameter when the policy setting is enabled.


<defaultValue>Placeholder localized text</defaultValue>


There are no attributes associated with this element.

Child elements

There are no child elements associated with this element.


The defaultValue element is optional. If specified, the defaultValue element must be defined after the label element.


This XML fragment specifies a text box parameter displaying a default string, "%SYSTEMROOT%\Example".

        <textBox refId="Sample_textboxExpandszPrompt">
          <label>This text box allows input of environment variables:</label>

Additional references

textBox Element