NativeServices.RegistryDeleteUserValues
Method | |
---|---|
Module | NativeServices |
Library | Core |
Action | Deletes a given value for every user under HKU. |
Parameters |
|
Return values | For each user:
No result is returned for users that did not have the value (so it could not be deleted) but did have the parent key. NotePrior to v4.2 the " |
Example | NativeServices.RegistryDeleteUserValues(Subkey:"somethingSpecific", Name:"value12"); |
Platforms |
|
Notes | This will delete the value for every user. Use with caution! Unlike most registry methods, the 8192 limit is not imposed because doing so would leave the system in an inconsistent state (some users would have the value deleted, others not), and in practice it is highly unlikely that any system would have that many users. If information is retrieved from the WarningThis method may attempt to call AD to translate a SID to a username. No output is returned for users for whom the value does not exist, i.e. only values that were actually deleted are reported. |