Remove Registry Value

Removes the value and data for the 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, that contains the value to remove.
Property Name String Yes The name of the value to remove.

Output Parameters

Name Type Description
Result Number Returns a success value of zero. Any value other than zero indicates failure.

Example Input Parameters

Name Type Required Example
Base String Yes HKLM
Key String Yes SYSTEM\CurrentControlSet\services\WinDefend
Property Name String Yes ErrorControl