NativeServices.RegistryDeleteValue
Method | RegistryDeleteValue | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Module | NativeServices | ||||||||||
Library | Core | ||||||||||
Action | Delete a registry value. | ||||||||||
Parameters |
| ||||||||||
Return values |
No result is returned if the value did not exist (so it could not be deleted) but the parent key did. NotePrior to v4.2 the " | ||||||||||
Example | NativeServices.RegistryDeleteValue(Hive:"HKLM", Subkey:"software\\vendor\\test\\test2", Name:"failedTestValue"); | ||||||||||
Platforms |
| ||||||||||
Notes | To delete a registry value for every user under HKU, use NativeServices.RegistryDeleteUserValues. |