The Win32 Get Registry Value Action provides the ability to retrieve a value from the Win32 Registry. This value is converted to a string and stored in the value property within this bean. Other beans can access this property through the use of string resolution - e.g. "$W(getRegBeanId.value)". The key and valueName properties are both resolved before retrieving the value from the Win32 registry.
If either the key or valueName does not exist in the registry at runtime, the value will be blank after this bean has executed. Read access is required to the specified key in order to obtain its value. Most Windows systems allow at least read access to most keys within the registry to non-administrative users. If the specified value is not a string, this bean converts the value to a string in some cases. The following lists the conversions that are done:Type | Conversion |
String | No conversion required. |
Dword | The 32-bit value is written to a string using a signed, decimal format. |
Binary | Each byte of the binary value is written to a string as a hexadecimal number. Bytes are separated by commas. For example "a, 0, 5, 3e". |
Multi-string | Strings are separated by line separators. |