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.
Syntax
<defaultValue>Placeholder localized text</defaultValue>
Attributes
There are no attributes associated with this element.
Child elements
There are no child elements associated with this element.
Remarks
The defaultValue element is optional. If specified, the defaultValue element must be defined after the label element.
Examples
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>
<defaultValue>%SYSTEMROOT%\Example</defaultValue>
</textBox>