Method

RegistryGetUserValues

ModuleNativeServices
LibraryCore
Action


Fetch a registry value for every user under HKU.


Parameters

Name (string): The name of the registry value for which to fetch its value. Use an empty string to get the (default) value.
UsersOnly (bool, optional, default false): Get values only for keys representing "real" users (and not for keys representing system pseudo-users or groups).
Return valuesName (string): Full location of the value being retrieved.
ValueType (string): "REG_DWORD" etc. as appropriate.
Value (string): The actual value of an appropriate type, converted to a string if not one already.
Sid (string): SID the value was found under.
Username (string): Domain\Username of the aforementioned SID.
Example


 NativeServices.RegistryGetUserValues(Subkey:"Console", Name:"FaceName");


Platforms
  • Windows
Notes

REG_NONE keys are not supported.

If the subkey or registry value name does not exist, then the method will return Success (no content).

If searching for the (default) value and it is 'not set', then the method will return Success (no content).

Empty values are returned; empty values are not the same as 'not set'.