Remove Registry Value
Removes the value and data for the given registry value.
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, that contains the value to remove. |
| Property Name |
String |
Yes |
The name of the value to remove. |
Output Parameters
| Result |
Number |
Returns a success value of zero. Any value other than zero indicates failure. |
Example Input Parameters
| Base |
String |
Yes |
HKLM |
| Key |
String |
Yes |
SYSTEM\CurrentControlSet\services\WinDefend |
| Property Name |
String |
Yes |
ErrorControl |