Version: 2
restore

Contents

Method

RegistryDeleteUserKey

ModuleNativeServices
LibraryCore
Action

Deletes a given key and all subkeys and values for every user under HKU.

Parameters

Subkey (string): The registry key to look for.

Return values

Status (string): The deletion status of the key. "Deleted key" if it has been deleted.

Sid (string): SID the key was found under.

Username (string): Domain\Username of the aforementioned SID.

Example
 NativeServices.RegistryDeleteUserKey(Subkey:"somethingSpecific");
Platforms
  • Windows
Notes

    Page not found for multiexcerpt macro.
The page: ~davew:Method Notes was not found. Please check/update the page name used in the 'multiexcerpt-include macro.

This method may attempt to call AD to translate a SID to a username.