Export (0) Print
Expand All
Expand Minimize

soft Attribute

Applies To: Windows Server 2008

The soft attribute is a Boolean value. If true, a registry value will not overwrite a previously set value; otherwise, registry values will always be saved.

soft="<true|false>"

where

true represents only apply the registry value if no current value exists.

false represents always apply the registry value.

The soft attribute is an optional attribute, false by default. This attribute can be used in cases where you might use Group Policy to set a user configurable option for an application. Group Policy would then predefine the option if the user had not already configured it.

This XML fragment specifies a decimal element that will store its value in a REG_DWORD registry value if it doesn't currently exist.

<decimal id="Sample_NumericTextLabel"

valueName="ExampleAppConfig"

soft="true" />

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

Community Additions

ADD
Show:
© 2014 Microsoft