Get Registry Value
Returns value from the given registry key.
Input Parameters
| Base |
String |
Yes |
The base of the key, HKCU or HKLM. |
| Key |
String |
Yes |
The full path of the registry key, not including the base. Note this is a key not a value name. |
| Property Name |
String |
Yes |
The name of the property to retrieve the value. |
Output Parameters
| Result |
Number |
Returns a success value of zero or any value other than zero to indicate failure. |
| Value |
String |
The string value of the given property. |
Example Input Parameters
| Base |
String |
Yes |
HKLM |
| Key |
String |
Yes |
SYSTEM\CurrentControlSet\services\WinDefend |
| Property Name |
String |
Yes |
ErrorControl |