The expandStringValue property should be set to "True" to expand a string value to its actual value when it is retrieved. This property should be set to "False" to retrieve the value literally.

An example of an expandable string is the "windir" value in the "SYSTEM\CurrentControlSet\Control\Session Manager\Environment" key within the HKEY_LOCAL_MACHINE hive. If this bean is set up to retrieve that value, and expandStringValue is "True", then the retrieved value will be something like "c:\winnt". However, if expandStringValue is "False", the retrieved value will be "%SystemRoot%".