Clear Registry Value
Clears the data of a given registry value.
Input Parameters
Name | Type | Required | Description |
---|---|---|---|
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, where the search will start. |
Property Name | String | Yes | The name of the value to clear. |
Output Parameters
Name | Type | Description |
---|---|---|
Result | Number | Returns a success value of zero or any value other than zero to indicate failure. |
Example Input Parameters
Name | Type | Required | Example |
---|---|---|---|
Base | String | Yes | HKLM |
Key | String | Yes | SYSTEM\CurrentControlSet\services\WinDefend |
Property Name | String | Yes | ErrorControl |