StdRegProv, ROOT\CIMV2

Class | Methods (20) | Properties | Qualifiers (4) | Instances | Namespaces (4)
Samples: VB Script | C# | VB.Net | Search on:Microsoft

Description

The StdRegProv class contains methods that interact with the system registry. You can use these methods to: Verify the access permissions for a user Create, enumerate, and delete registry keys Create, enumerate, and delete named values Read, write, and delete data values

StdRegProv methods

StdRegProv has 20 methods (20 Local)

NameOriginReturn
CheckAccessStdRegProvuint32 {'out':True}
CreateKeyStdRegProvuint32 {'out':True}
DeleteKeyStdRegProvuint32 {'out':True}
DeleteValueStdRegProvuint32 {'out':True}
EnumKeyStdRegProvuint32 {'out':True}
EnumValuesStdRegProvuint32 {'out':True}
GetBinaryValueStdRegProvuint32 {'out':True}
GetDWORDValueStdRegProvuint32 {'out':True}
GetExpandedStringValueStdRegProvuint32 {'out':True}
GetMultiStringValueStdRegProvuint32 {'out':True}
GetQWORDValueStdRegProvuint32 {'out':True}
GetSecurityDescriptorStdRegProvuint32 {'out':True}
GetStringValueStdRegProvuint32 {'out':True}
SetBinaryValueStdRegProvuint32 {'out':True}
SetDWORDValueStdRegProvuint32 {'out':True}
SetExpandedStringValueStdRegProvuint32 {'out':True}
SetMultiStringValueStdRegProvuint32 {'out':True}
SetQWORDValueStdRegProvuint32 {'out':True}
SetSecurityDescriptorStdRegProvuint32 {'out':True}
SetStringValueStdRegProvuint32 {'out':True}

Detailed description of StdRegProv methods

Local methods (20) of StdRegProv class

CheckAccess method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
hDefKeyuint320-{'Description':'Optional parameter that specifies the tree that contains the sSubKeyName path. The default value is HKEY_LOCAL_MACHINE (0x80000002). The following trees are defined in Winreg.h: HKEY_CLASSES_ROOT (0x80000000) HKEY_CURRENT_USER (0x80000001) HKEY_LOCAL_MACHINE (0x80000002) HKEY_USERS (0x80000003) HKEY_CURRENT_CONFIG (0x80000005) HKEY_DYN_DATA (0x80000006) Note that HKEY_DYN_DATA is a valid tree for Windows 95 and Windows 98 computers only. '}
sSubKeyNamestring1-{'Description':'Contains the key to be verified. '}
uRequireduint322-{'Description':'Optional parameter that specifies the access permissions to be verified. You can add these values together to verify more than one access permission. The default value is 3. The following access permission values are defined in Winnt.h: KEY_QUERY_VALUE (0X0001) KEY_SET_VALUE (0X0002) KEY_CREATE_SUB_KEY (0X0004) KEY_ENUMERATE_SUB_KEYS (0X0008) KEY_NOTIFY (0X0010) KEY_CREATE_LINK (0X0020) DELETE (0x00010000) READ_CONTROL (0x00020000) WRITE_DAC (0X00040000) WRITE_OWNER (0X00080000) ','in':True}
bGrantedboolean3-{'Description':'This parameter is True if user possesses the specified access permissions. Otherwise, the parameter is False. ','out':True}
Description'The CheckAccess method verifies that the user possesses the specified permissions. The method returns a uint32 which is 0 if successful or some other value if any other error occurred.'
implementedTrue
staticTrue
CheckAccess method is in 1 class (StdRegProv) of ROOT\cimv2 and in 4 namespaces
CreateKey method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
hDefKeyuint320-{'Description':'Optional parameter that specifies the tree that contains the sSubKeyName path. The default value is HKEY_LOCAL_MACHINE (0x80000002). The following trees are defined in Winreg.h: HKEY_CLASSES_ROOT (0x80000000) HKEY_CURRENT_USER (0x80000001) HKEY_LOCAL_MACHINE (0x80000002) HKEY_USERS (0x80000003) HKEY_CURRENT_CONFIG (0x80000005) HKEY_DYN_DATA (0x80000006) Note that HKEY_DYN_DATA is a valid tree for Windows 95 and Windows 98 computers only. '}
sSubKeyNamestring1-{'Description':'Contains the key to be created. The CreateKey method creates all subkeys specified in the path that do not exist. For example, if MyKey and MySubKey do not exist in the following path, CreateKey creates both keys: HKEY_LOCAL_MACHINE\SOFTWARE\MyKey\MySubKey '}
Description'The CreateKey method creates a subkey in the specified tree. '
implementedTrue
staticTrue
CreateKey method is in 1 class (StdRegProv) of ROOT\cimv2 and in 4 namespaces
DeleteKey method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
hDefKeyuint320-{'Description':'Optional parameter that specifies the tree that contains the sSubKeyName path. The default value is HKEY_LOCAL_MACHINE (0x80000002). The following trees are defined in Winreg.h: HKEY_CLASSES_ROOT (0x80000000) HKEY_CURRENT_USER (0x80000001) HKEY_LOCAL_MACHINE (0x80000002) HKEY_USERS (0x80000003) HKEY_CURRENT_CONFIG (0x80000005) HKEY_DYN_DATA (0x80000006) Note that HKEY_DYN_DATA is a valid tree for Windows 95 and Windows 98 computers only. '}
sSubKeyNamestring1-{'Description':'Contains the key to be deleted. '}
Description'The DeleteKey method deletes a subkey in the specified tree. '
implementedTrue
staticTrue
DeleteKey method is in 1 class (StdRegProv) of ROOT\cimv2 and in 4 namespaces
DeleteValue method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
hDefKeyuint320-{'Description':'Optional parameter that specifies the tree that contains the sSubKeyName path. The default value is HKEY_LOCAL_MACHINE (0x80000002). The following trees are defined in Winreg.h: HKEY_CLASSES_ROOT (0x80000000) HKEY_CURRENT_USER (0x80000001) HKEY_LOCAL_MACHINE (0x80000002) HKEY_USERS (0x80000003) HKEY_CURRENT_CONFIG (0x80000005) HKEY_DYN_DATA (0x80000006) Note that HKEY_DYN_DATA is a valid tree for Windows 95 and Windows 98 computers only. '}
sSubKeyNamestring1-{'Description':'Specifies the key that contains the named value to be deleted. '}
sValueNamestring2-{'Description':'Specifies the named value to be deleted from the subkey. Specify an empty string to delete the default named value (the default named value is not deleted its value is set to "value not set"','in':True}
Description'The DeleteValue method deletes a named value in the specified subkey.'
implementedTrue
staticTrue
DeleteValue method is in 1 class (StdRegProv) of ROOT\cimv2 and in 4 namespaces
EnumKey method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
hDefKeyuint320-{'Description':'Optional parameter that specifies the tree that contains the sSubKeyName path. The default value is HKEY_LOCAL_MACHINE (0x80000002). The following trees are defined in Winreg.h: HKEY_CLASSES_ROOT (0x80000000) HKEY_CURRENT_USER (0x80000001) HKEY_LOCAL_MACHINE (0x80000002) HKEY_USERS (0x80000003) HKEY_CURRENT_CONFIG (0x80000005) HKEY_DYN_DATA (0x80000006) Note that HKEY_DYN_DATA is a valid tree for Windows 95 and Windows 98 computers only. '}
sSubKeyNamestring1-{'Description':'Specifies the path that contains the subkeys to be enumerated. '}
sNamesstring2-{'Description':'Contains an array of subkey strings. ','out':True}
Description'The EnumKey method enumerates the subkeys for the given path. '
implementedTrue
staticTrue
EnumKey method is in 1 class (StdRegProv) of ROOT\cimv2 and in 4 namespaces
EnumValues method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
hDefKeyuint320-{'Description':'Optional parameter that specifies the tree that contains the sSubKeyName path. The default value is HKEY_LOCAL_MACHINE (0x80000002). The following trees are defined in Winreg.h: HKEY_CLASSES_ROOT (0x80000000) HKEY_CURRENT_USER (0x80000001) HKEY_LOCAL_MACHINE (0x80000002) HKEY_USERS (0x80000003) HKEY_CURRENT_CONFIG (0x80000005) HKEY_DYN_DATA (0x80000006) Note that HKEY_DYN_DATA is a valid tree for Windows 95 and Windows 98 computers only. '}
sSubKeyNamestring1-{'Description':'Specifies the path that contains the named values to be enumerated. '}
sNamesstring2-{'Description':'Contains an array of named value strings. The elements of this array correspond directly with the elements of iTypes. ','out':True}
Typessint323-{'Description':'Contains an array of data value types (integers). You can use these types to determine which Get method to call. For example, if the data value type is REG_SZ, you would call GetStringValue to retrieve the named value's data value. The elements of this array correspond directly with the elements of sNames. The following data value types are defined in Winnt.h: REG_SZ (1) REG_EXPAND_SZ (2) REG_BINARY (3) REG_DWORD (4) REG_MULTI_SZ (7) ','out':True}
Description'The EnumValues method enumerates the named values of the given subkey. '
implementedTrue
staticTrue
EnumValues method is in 1 class (StdRegProv) of ROOT\cimv2 and in 4 namespaces
GetBinaryValue method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
hDefKeyuint320-{'Description':'Optional parameter that specifies the tree that contains the sSubKeyName path. The default value is HKEY_LOCAL_MACHINE (0x80000002). The following trees are defined in Winreg.h: HKEY_CLASSES_ROOT (0x80000000) HKEY_CURRENT_USER (0x80000001) HKEY_LOCAL_MACHINE (0x80000002) HKEY_USERS (0x80000003) HKEY_CURRENT_CONFIG (0x80000005) HKEY_DYN_DATA (0x80000006) Note that HKEY_DYN_DATA is a valid tree for Windows 95 and Windows 98 computers only. '}
sSubKeyNamestring1-{'Description':'Specifies the path that contains the named values. '}
sValueNamestring2-{'Description':'Specifies the named value whose data value you are retrieving. Specify an empty string to get the default named value. ','in':True}
uValueuint83-{'Description':'Contains an array of binary bytes. ','out':True}
Description'The GetBinaryValue method returns the data value for a named value whose data type is REG_BINARY. The GetBinaryValue method returns a uint32 which is 0 if successful or some other value if any other error occurred.'
implementedTrue
staticTrue
GetBinaryValue method is in 1 class (StdRegProv) of ROOT\cimv2 and in 4 namespaces
GetDWORDValue method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
hDefKeyuint320-{'Description':'Optional parameter that specifies the tree that contains the sSubKeyName path. The default value is HKEY_LOCAL_MACHINE (0x80000002). The following trees are defined in Winreg.h: HKEY_CLASSES_ROOT (0x80000000) HKEY_CURRENT_USER (0x80000001) HKEY_LOCAL_MACHINE (0x80000002) HKEY_USERS (0x80000003) HKEY_CURRENT_CONFIG (0x80000005) HKEY_DYN_DATA (0x80000006) Note that HKEY_DYN_DATA is a valid tree for Windows 95 and Windows 98 computers only. '}
sSubKeyNamestring1-{'Description':'Specifies the path that contains the named values. '}
sValueNamestring2-{'Description':'Specifies the named value whose data value you are retrieving. Specify an empty string to get the default named value.','in':True}
uValueuint323-{'Description':'Contains the DWORD data value for the named value. ','out':True}
Description'The GetDWORDValue method returns the data value for a named value whose data type is REG_DWORD. '
implementedTrue
staticTrue
GetDWORDValue method is in 1 class (StdRegProv) of ROOT\cimv2 and in 4 namespaces
GetExpandedStringValue method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
hDefKeyuint320-{'Description':'Optional parameter that specifies the tree that contains the sSubKeyName path. The default value is HKEY_LOCAL_MACHINE (0x80000002). The following trees are defined in Winreg.h: HKEY_CLASSES_ROOT (0x80000000) HKEY_CURRENT_USER (0x80000001) HKEY_LOCAL_MACHINE (0x80000002) HKEY_USERS (0x80000003) HKEY_CURRENT_CONFIG (0x80000005) HKEY_DYN_DATA (0x80000006) Note that HKEY_DYN_DATA is a valid tree for Windows 95 and Windows 98 computers only. '}
sSubKeyNamestring1-{'Description':'Specifies the path that contains the named values. '}
sValueNamestring2-{'Description':'Specifies the named value whose data value you are retrieving. Specify an empty string to get the default named value. ','in':True}
sValuestring3-{'Description':'Contains the expanded string data value for the named value. The string is only expanded if the environment variable (for example, %Path%) is defined. ','out':True}
Description'The GetExpandedStringValue method returns the data value for a named value whose data type is REG_EXPAND_SZ. '
implementedTrue
staticTrue
GetExpandedStringValue method is in 1 class (StdRegProv) of ROOT\cimv2 and in 4 namespaces
GetMultiStringValue method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
hDefKeyuint320-{'Description':'Optional parameter that specifies the tree that contains the sSubKeyName path. The default value is HKEY_LOCAL_MACHINE (0x80000002). The following trees are defined in Winreg.h: HKEY_CLASSES_ROOT (0x80000000) HKEY_CURRENT_USER (0x80000001) HKEY_LOCAL_MACHINE (0x80000002) HKEY_USERS (0x80000003) HKEY_CURRENT_CONFIG (0x80000005) HKEY_DYN_DATA (0x80000006) Note that HKEY_DYN_DATA is a valid tree for Windows 95 and Windows 98 computers only. '}
sSubKeyNamestring1-{'Description':'Specifies the path that contains the named values. '}
sValueNamestring2-{'Description':'Specifies the named value whose data value you are retrieving. Specify an empty string to get the default named value. ','in':True}
sValuestring3-{'Description':'Contains an array of string data values for the named value. ','out':True}
Description'The GetMultiStringValue method returns the data value for a named value whose data type is REG_MULTI_SZ. The GetMultiStringValue method returns a uint32 which is 0 if successful or some other value if any other error occurred.'
implementedTrue
staticTrue
GetMultiStringValue method is in 1 class (StdRegProv) of ROOT\cimv2 and in 4 namespaces
GetQWORDValue method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
hDefKeyuint320-{'Description':'Optional parameter that specifies the tree that contains the sSubKeyName path. The default value is HKEY_LOCAL_MACHINE (0x80000002). The following trees are defined in Winreg.h: HKEY_CLASSES_ROOT (0x80000000) HKEY_CURRENT_USER (0x80000001) HKEY_LOCAL_MACHINE (0x80000002) HKEY_USERS (0x80000003) HKEY_CURRENT_CONFIG (0x80000005) HKEY_DYN_DATA (0x80000006) Note that HKEY_DYN_DATA is a valid tree for Windows 95 and Windows 98 computers only. '}
sSubKeyNamestring1-{'Description':'Specifies the path that contains the named values. '}
sValueNamestring2-{'Description':'Specifies the named value whose data value you are retrieving. Specify an empty string to get the default named value.','in':True}
uValueuint643-{'Description':'Contains the DWORD data value for the named value. ','out':True}
Description'The GetQWORDValue method returns the data value for a named value whose data type is REG_QWORD. '
implementedTrue
staticTrue
GetQWORDValue method is in 1 class (StdRegProv) of ROOT\cimv2 and in 4 namespaces
GetSecurityDescriptor method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
hDefKeyuint320-{'Description':'Parameter that specifies the tree that contains the sSubKeyName path. The default value is HKEY_LOCAL_MACHINE (0x80000002). The following trees are defined in Winreg.h: HKEY_CLASSES_ROOT (0x80000000) HKEY_CURRENT_USER (0x80000001) HKEY_LOCAL_MACHINE (0x80000002) HKEY_USERS (0x80000003) HKEY_CURRENT_CONFIG (0x80000005) '}
sSubKeyNamestring1-{'Description':'Contains the key name to get the security descriptor for. '}
Descriptorobject:__SecurityDescriptor2-{'Description':'Returns the security descriptor from the key name. '}
Description'The GetSecurityDescriptor method returns the specified key's security descriptor in a __SecurityDescriptor. The method returns a uint32 which is 0 if successful or some other value if any other error occurred.'
implementedTrue
Privileges['SeSecurityPrivilege']
staticTrue
GetSecurityDescriptor method is in 8 classes of ROOT\cimv2 and in 142 namespaces
GetStringValue method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
hDefKeyuint320-{'Description':'Optional parameter that specifies the tree that contains the sSubKeyName path. The default value is HKEY_LOCAL_MACHINE (0x80000002). The following trees are defined in Winreg.h: HKEY_CLASSES_ROOT (0x80000000) HKEY_CURRENT_USER (0x80000001) HKEY_LOCAL_MACHINE (0x80000002) HKEY_USERS (0x80000003) HKEY_CURRENT_CONFIG (0x80000005) HKEY_DYN_DATA (0x80000006) Note that HKEY_DYN_DATA is a valid tree for Windows 95 and Windows 98 computers only. '}
sSubKeyNamestring1-{'Description':'Specifies the path that contains the named values. '}
sValueNamestring2-{'Description':'Specifies the named value whose data value you are retrieving. Specify an empty string to get the default named value. ','in':True}
sValuestring3-{'Description':'Contains the string data value for the named value. ','out':True}
Description'The GetStringValue method returns the data value for a named value whose data type is REG_SZ. '
implementedTrue
staticTrue
GetStringValue method is in 1 class (StdRegProv) of ROOT\cimv2 and in 4 namespaces
SetBinaryValue method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
hDefKeyuint320-{'Description':'Optional parameter that specifies the tree that contains the sSubKeyName path. The default value is HKEY_LOCAL_MACHINE (0x80000002). The following trees are defined in Winreg.h: HKEY_CLASSES_ROOT (0x80000000) HKEY_CURRENT_USER (0x80000001) HKEY_LOCAL_MACHINE (0x80000002) HKEY_USERS (0x80000003) HKEY_CURRENT_CONFIG (0x80000005) HKEY_DYN_DATA (0x80000006) Note that HKEY_DYN_DATA is a valid tree for Windows 95 and Windows 98 computers only. '}
sSubKeyNamestring1-{'Description':'Specifies the key that contains the named value to be set. '}
sValueNamestring2-{'Description':'Specifies the named value whose data value you are setting. You can specify an existing named value (update) or a new named value (create). Specify an empty string to set the data value for the default named value. ','in':True}
uValueuint83-{'Description':'Specifies an array of binary data values. ','in':True}
Description'The SetBinaryValue method sets the data value for a named value whose data type is REG_BINARY. The SetBinaryValue method returns a uint32 which is 0 if successful or some other value if any other error occurred.'
implementedTrue
staticTrue
SetBinaryValue method is in 1 class (StdRegProv) of ROOT\cimv2 and in 4 namespaces
SetDWORDValue method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
hDefKeyuint320-{'Description':'Optional parameter that specifies the tree that contains the sSubKeyName path. The default value is HKEY_LOCAL_MACHINE (0x80000002). The following trees are defined in Winreg.h: HKEY_CLASSES_ROOT (0x80000000) HKEY_CURRENT_USER (0x80000001) HKEY_LOCAL_MACHINE (0x80000002) HKEY_USERS (0x80000003) HKEY_CURRENT_CONFIG (0x80000005) HKEY_DYN_DATA (0x80000006) Note that HKEY_DYN_DATA is a valid tree for Windows 95 and Windows 98 computers only. '}
sSubKeyNamestring1-{'Description':'Specifies the key that contains the named value to be set. '}
sValueNamestring2-{'Description':'Specifies the named value whose data value you are setting. You can specify an existing named value (update) or a new named value (create). Specify an empty string to set the data value for the default named value. ','in':True}
uValueuint323-{'Description':'Specifies a double word data value. ','in':True}
Description'The SetDWORDValue method sets the data value for a named value whose data type is REG_BINARY. '
implementedTrue
staticTrue
SetDWORDValue method is in 1 class (StdRegProv) of ROOT\cimv2 and in 4 namespaces
SetExpandedStringValue method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
hDefKeyuint320-{'Description':'Optional parameter that specifies the tree that contains the sSubKeyName path. The default value is HKEY_LOCAL_MACHINE (0x80000002). The following trees are defined in Winreg.h: HKEY_CLASSES_ROOT (0x80000000) HKEY_CURRENT_USER (0x80000001) HKEY_LOCAL_MACHINE (0x80000002) HKEY_USERS (0x80000003) HKEY_CURRENT_CONFIG (0x80000005) HKEY_DYN_DATA (0x80000006) Note that HKEY_DYN_DATA is a valid tree for Windows 95 and Windows 98 computers only. '}
sSubKeyNamestring1-{'Description':'Specifies the key that contains the named value to be set. '}
sValueNamestring2-{'Description':'Specifies the named value whose data value you are setting. You can specify an existing named value (update) or a new named value (create). Specify an empty string to set the data value for the default named value. ','in':True}
sValuestring3-{'Description':'Specifies an expanded string data value. The environment variable specified in the string must exist for the string to be expanded when you call GetExpandedStringValue. ','in':True}
Description'The SetExpandedStringValue method sets the data value for a named value whose data type is REG_EXPAND_SZ. The SetExpandedStringValue method returns a uint32 which is 0 if successful or some other value if any other error occurred.'
implementedTrue
staticTrue
SetExpandedStringValue method is in 1 class (StdRegProv) of ROOT\cimv2 and in 4 namespaces
SetMultiStringValue method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
hDefKeyuint320-{'Description':'Optional parameter that specifies the tree that contains the sSubKeyName path. The default value is HKEY_LOCAL_MACHINE (0x80000002). The following trees are defined in Winreg.h: HKEY_CLASSES_ROOT (0x80000000) HKEY_CURRENT_USER (0x80000001) HKEY_LOCAL_MACHINE (0x80000002) HKEY_USERS (0x80000003) HKEY_CURRENT_CONFIG (0x80000005) HKEY_DYN_DATA (0x80000006) Note that HKEY_DYN_DATA is a valid tree for Windows 95 and Windows 98 computers only. '}
sSubKeyNamestring1-{'Description':'Specifies the key that contains the named value to be set. '}
sValueNamestring2-{'Description':'Specifies the named value whose data value you are setting. You can specify an existing named value (update) or a new named value (create). Specify an empty string to set the data value for the default named value. ','in':True}
sValuestring3-{'Description':'Specifies an array of string data values. ','in':True}
Description'The SetMultiStringValue method sets the data value for a named value whose data type is REG_MULTI_SZ. The SetMultiStringValue method returns a uint32 which is 0 if successful or some other value if any other error occurred.'
implementedTrue
staticTrue
SetMultiStringValue method is in 1 class (StdRegProv) of ROOT\cimv2 and in 4 namespaces
SetQWORDValue method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
hDefKeyuint320-{'Description':'Optional parameter that specifies the tree that contains the sSubKeyName path. The default value is HKEY_LOCAL_MACHINE (0x80000002). The following trees are defined in Winreg.h: HKEY_CLASSES_ROOT (0x80000000) HKEY_CURRENT_USER (0x80000001) HKEY_LOCAL_MACHINE (0x80000002) HKEY_USERS (0x80000003) HKEY_CURRENT_CONFIG (0x80000005) HKEY_DYN_DATA (0x80000006) Note that HKEY_DYN_DATA is a valid tree for Windows 95 and Windows 98 computers only. '}
sSubKeyNamestring1-{'Description':'Specifies the key that contains the named value to be set. '}
sValueNamestring2-{'Description':'Specifies the named value whose data value you are setting. You can specify an existing named value (update) or a new named value (create). Specify an empty string to set the data value for the default named value. ','in':True}
uValueuint643-{'Description':'Specifies a quad word data value. ','in':True}
Description'The SetQWORDValue method sets the data value for a named value whose data type is REG_QWORD. '
implementedTrue
staticTrue
SetQWORDValue method is in 1 class (StdRegProv) of ROOT\cimv2 and in 4 namespaces
SetSecurityDescriptor method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
hDefKeyuint320-{'Description':'Parameter that specifies the tree that contains the sSubKeyName path. The default value is HKEY_LOCAL_MACHINE (0x80000002). The following trees are defined in Winreg.h: HKEY_CLASSES_ROOT (0x80000000) HKEY_CURRENT_USER (0x80000001) HKEY_LOCAL_MACHINE (0x80000002) HKEY_USERS (0x80000003) HKEY_CURRENT_CONFIG (0x80000005) '}
sSubKeyNamestring1-{'Description':'Contains the key name to set the security descriptor on. '}
Descriptorobject:__SecurityDescriptor2-{'Description':'Contains the security descriptor to set on the key name. '}
Description'The SetSecurityDescriptor method updates the specified key's security descriptor with the supplied __SecurityDescriptor. The method returns a uint32 which is 0 if successful or some other value if any other error occurred.'
implementedTrue
Privileges['SeSecurityPrivilege']
staticTrue
SetSecurityDescriptor method is in 8 classes of ROOT\cimv2 and in 142 namespaces
SetStringValue method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
hDefKeyuint320-{'Description':'Optional parameter that specifies the tree that contains the sSubKeyName path. The default value is HKEY_LOCAL_MACHINE (0x80000002). The following trees are defined in Winreg.h: HKEY_CLASSES_ROOT (0x80000000) HKEY_CURRENT_USER (0x80000001) HKEY_LOCAL_MACHINE (0x80000002) HKEY_USERS (0x80000003) HKEY_CURRENT_CONFIG (0x80000005) HKEY_DYN_DATA (0x80000006) Note that HKEY_DYN_DATA is a valid tree for Windows 95 and Windows 98 computers only. '}
sSubKeyNamestring1-{'Description':'Specifies the key that contains the named value to be set. '}
sValueNamestring2-{'Description':'Specifies the named value whose data value you are setting. You can specify an existing named value (update) or a new named value (create). Specify an empty string to set the data value for the default named value. ','in':True}
sValuestring3-{'Description':'Specifies a string data value.','in':True}
Description'The SetStringValue method sets the data value for a named value whose data type is REG_MULTI_SZ.'
implementedTrue
staticTrue
SetStringValue method is in 1 class (StdRegProv) of ROOT\cimv2 and in 6 namespaces

StdRegProv Qualifiers

NameValueToInstanceToSubclassOverridableAmendedLocal
Description'The StdRegProv class contains methods that interact with the system registry. You can use these methods to:
Verify the access permissions for a user
Create, enumerate, and delete registry keys
Create, enumerate, and delete named values
Read, write, and delete data values '
dynamicTrue
Locale1033
provider'RegProv'

StdRegProv System properties

NameValueOriginCIMTypeLocalArray
__PATH'\\.\ROOT\cimv2:StdRegProv'___SYSTEM8
__NAMESPACE'ROOT\cimv2'___SYSTEM8
__SERVER'.'___SYSTEM8
__DERIVATION[]___SYSTEM8
__PROPERTY_COUNT0___SYSTEM3
__RELPATH'StdRegProv'___SYSTEM8
__DYNASTY'StdRegProv'___SYSTEM8
__SUPERCLASSnull___SYSTEM8
__CLASS'StdRegProv'___SYSTEM8
__GENUS1___SYSTEM3

Similar Classes to StdRegProv

Number of classes:139
Class nameChildsPropertiesMethodsClass
Instances
Child
Instances
AbstractSingleton
__ClassProviderRegistration01601---
__EventConsumerProviderRegistration020----
__EventProviderRegistration02017---
__InstanceProviderRegistration09040---
__MethodProviderRegistration01032---
__ObjectProviderRegistration290-40-
__PropertyProviderRegistration0301---
__Provider110-40-
__ProviderRegistration510-40-
__Win32Provider024040---
MSFT_NCProvAccessCheck080---
MSFT_NCProvCancelQuery060---
MSFT_NCProvClientConnected060---
MSFT_NCProvEvent450---
MSFT_NCProvNewQuery080---
Msft_Providers032411---
MSFT_WmiConsumerProviderEvent450---
MSFT_WmiConsumerProviderLoaded050---
MSFT_WmiConsumerProviderSinkLoaded060---
MSFT_WmiConsumerProviderSinkUnloaded060---
MSFT_WmiConsumerProviderUnloaded050---
Msft_WmiProvider_AccessCheck_Post0130---
Msft_WmiProvider_AccessCheck_Pre0120---
Msft_WmiProvider_CancelQuery_Post0110---
Msft_WmiProvider_CancelQuery_Pre0100---
Msft_WmiProvider_ComServerLoadOperationEvent0150---
Msft_WmiProvider_ComServerLoadOperationFailureEvent0160---
Msft_WmiProvider_Counters02401--
Msft_WmiProvider_CreateClassEnumAsyncEvent_Post0140---
Msft_WmiProvider_CreateClassEnumAsyncEvent_Pre0110---
Msft_WmiProvider_CreateInstanceEnumAsyncEvent_Post0140---
Msft_WmiProvider_CreateInstanceEnumAsyncEvent_Pre0110---
Msft_WmiProvider_DeleteClassAsyncEvent_Post0140---
Msft_WmiProvider_DeleteClassAsyncEvent_Pre0110---
Msft_WmiProvider_DeleteInstanceAsyncEvent_Post0140---
Msft_WmiProvider_DeleteInstanceAsyncEvent_Pre0110---
Msft_WmiProvider_ExecMethodAsyncEvent_Post0160---
Msft_WmiProvider_ExecMethodAsyncEvent_Pre0130---
Msft_WmiProvider_ExecQueryAsyncEvent_Post0150---
Msft_WmiProvider_ExecQueryAsyncEvent_Pre0120---
Msft_WmiProvider_GetObjectAsyncEvent_Post0140---
Msft_WmiProvider_GetObjectAsyncEvent_Pre0110---
Msft_WmiProvider_InitializationOperationEvent090---
Msft_WmiProvider_InitializationOperationFailureEvent0100---
Msft_WmiProvider_LoadOperationEvent0170---
Msft_WmiProvider_LoadOperationFailureEvent0180---
Msft_WmiProvider_NewQuery_Post0130---
Msft_WmiProvider_NewQuery_Pre0120---
Msft_WmiProvider_OperationEvent990---
Msft_WmiProvider_OperationEvent_Post1390---
Msft_WmiProvider_OperationEvent_Pre1390---
Msft_WmiProvider_ProvideEvents_Post0110---
Msft_WmiProvider_ProvideEvents_Pre0100---
Msft_WmiProvider_PutClassAsyncEvent_Post0140---
Msft_WmiProvider_PutClassAsyncEvent_Pre0110---
Msft_WmiProvider_PutInstanceAsyncEvent_Post0140---
Msft_WmiProvider_PutInstanceAsyncEvent_Pre0110---
Msft_WmiProvider_UnLoadOperationEvent090---
MSFT_WmiProviderEvent140---
NTEventlogProviderConfig010---
Win32_PerfFormattedData_APPPOOLCountersProvider_APPPOOLWAS022018---
Win32_PerfFormattedData_ClussvcPerfProvider_ClusterAPICalls0180---
Win32_PerfFormattedData_ClussvcPerfProvider_ClusterAPIHandles0270---
Win32_PerfFormattedData_ClussvcPerfProvider_ClusterCheckpointManager0170---
Win32_PerfFormattedData_ClussvcPerfProvider_ClusterDatabase0110---
Win32_PerfFormattedData_ClussvcPerfProvider_ClusterGlobalUpdateManagerMessages0200---
Win32_PerfFormattedData_ClussvcPerfProvider_ClusterGoodEnoughMulticastMessages0110---
Win32_PerfFormattedData_ClussvcPerfProvider_ClusterGoodEnoughMulticastMessages20100----
Win32_PerfFormattedData_ClussvcPerfProvider_ClusterMulticastRequestResponseMessages0120---
Win32_PerfFormattedData_ClussvcPerfProvider_ClusterNetworkMessages0170----
Win32_PerfFormattedData_ClussvcPerfProvider_ClusterNetworkReconnections0160----
Win32_PerfFormattedData_ClussvcPerfProvider_ClusterResourceControlManager0120---
Win32_PerfFormattedData_ClussvcPerfProvider_ClusterResources0170----
Win32_PerfFormattedData_Csv20FilterPerfProvider_ClusterCSVCoordinator0210----
Win32_PerfFormattedData_CsvFsPerfProvider_ClusterCSVFileSystem0670----
Win32_PerfFormattedData_CsvNfltPerfProvider_ClusterCSVBlockRedirection0170----
Win32_PerfFormattedData_CsvVolumePerfProvider_ClusterCSVVolumeCache0280----
Win32_PerfFormattedData_CsvVolumePerfProvider_ClusterCSVVolumeManager0270----
Win32_PerfFormattedData_DdmCounterProvider_RAS0140---
Win32_PerfFormattedData_EthernetPerfProvider_HyperVLegacyNetworkAdapter0150----
Win32_PerfFormattedData_GenevaServerProvider_ADFS0570---
Win32_PerfFormattedData_GmoPerfProvider_HyperVVMSaveSnapshotandRestore0150----
Win32_PerfFormattedData_IdePerfProvider_HyperVVirtualIDEControllerEmulated0130----
Win32_PerfFormattedData_LmPerfProvider_HyperVVMLiveMigration0420----
Win32_PerfFormattedData_MicrosoftWindowsBitLockerDriverCountersProvider_BitLocker01701---
Win32_PerfFormattedData_NETDataProviderforOracle_NETDataProviderforOracle0230----
Win32_PerfFormattedData_NETDataProviderforSqlServer_NETDataProviderforSqlServer02302---
Win32_PerfFormattedData_NetFtPerfProvider_ClusterNetFtHeartbeats0110----
Win32_PerfFormattedData_RamgmtSvcCounterProvider_RaMgmtSvc0160---
Win32_PerfFormattedData_RemoteFXPerformanceCounterProvider_RemoteFXSoftware0190----
Win32_PerfFormattedData_RemotePerfProvider_HyperVVMRemoting0110----
Win32_PerfFormattedData_SvhdxFltPerfProvider_HyperVSharedVHDX0330----
Win32_PerfFormattedData_Synth3dVideoPerfProvider_RemoteFXRootGPUManagement0130----
Win32_PerfFormattedData_Synth3dVideoPerfProvider_RemoteFXVMvGPUManagement0110----
Win32_PerfFormattedData_VidPerfProvider_HyperVVMVidNumaNode01101---
Win32_PerfFormattedData_VidPerfProvider_HyperVVMVidPartition0120----
Win32_PerfFormattedData_W3SVCW3WPCounterProvider_W3SVCW3WP05902---
Win32_PerfFormattedData_WASW3WPCounterProvider_WASW3WP01702---
Win32_PerfRawData_APPPOOLCountersProvider_APPPOOLWAS022018---
Win32_PerfRawData_ClussvcPerfProvider_ClusterAPICalls0180---
Win32_PerfRawData_ClussvcPerfProvider_ClusterAPIHandles0270---
Win32_PerfRawData_ClussvcPerfProvider_ClusterCheckpointManager0170---
Win32_PerfRawData_ClussvcPerfProvider_ClusterDatabase0110---
Win32_PerfRawData_ClussvcPerfProvider_ClusterGlobalUpdateManagerMessages0240---
Win32_PerfRawData_ClussvcPerfProvider_ClusterGoodEnoughMulticastMessages0110---
Win32_PerfRawData_ClussvcPerfProvider_ClusterGoodEnoughMulticastMessages20100----
Win32_PerfRawData_ClussvcPerfProvider_ClusterMulticastRequestResponseMessages0120---
Win32_PerfRawData_ClussvcPerfProvider_ClusterNetworkMessages0170----
Win32_PerfRawData_ClussvcPerfProvider_ClusterNetworkReconnections0160----
Win32_PerfRawData_ClussvcPerfProvider_ClusterResourceControlManager0120---
Win32_PerfRawData_ClussvcPerfProvider_ClusterResources0170----
Win32_PerfRawData_Csv20FilterPerfProvider_ClusterCSVCoordinator0210----
Win32_PerfRawData_CsvFsPerfProvider_ClusterCSVFileSystem0730----
Win32_PerfRawData_CsvNfltPerfProvider_ClusterCSVBlockRedirection0170----
Win32_PerfRawData_CsvVolumePerfProvider_ClusterCSVVolumeCache0280----
Win32_PerfRawData_CsvVolumePerfProvider_ClusterCSVVolumeManager0270----
Win32_PerfRawData_DdmCounterProvider_RAS0140---
Win32_PerfRawData_EthernetPerfProvider_HyperVLegacyNetworkAdapter0150----
Win32_PerfRawData_GenevaServerProvider_ADFS0580---
Win32_PerfRawData_GmoPerfProvider_HyperVVMSaveSnapshotandRestore0150----
Win32_PerfRawData_IdePerfProvider_HyperVVirtualIDEControllerEmulated0130----
Win32_PerfRawData_LmPerfProvider_HyperVVMLiveMigration0420----
Win32_PerfRawData_MicrosoftWindowsBitLockerDriverCountersProvider_BitLocker01701---
Win32_PerfRawData_NETDataProviderforOracle_NETDataProviderforOracle0230----
Win32_PerfRawData_NETDataProviderforSqlServer_NETDataProviderforSqlServer02302---
Win32_PerfRawData_NetFtPerfProvider_ClusterNetFtHeartbeats0110----
Win32_PerfRawData_RamgmtSvcCounterProvider_RaMgmtSvc0160---
Win32_PerfRawData_RemoteFXPerformanceCounterProvider_RemoteFXSoftware0210----
Win32_PerfRawData_RemotePerfProvider_HyperVVMRemoting0110----
Win32_PerfRawData_SvhdxFltPerfProvider_HyperVSharedVHDX0420----
Win32_PerfRawData_Synth3dVideoPerfProvider_RemoteFXRootGPUManagement0140----
Win32_PerfRawData_Synth3dVideoPerfProvider_RemoteFXVMvGPUManagement0110----
Win32_PerfRawData_VidPerfProvider_HyperVVMVidNumaNode01101---
Win32_PerfRawData_VidPerfProvider_HyperVVMVidPartition0120----
Win32_PerfRawData_W3SVCW3WPCounterProvider_W3SVCW3WP06302---
Win32_PerfRawData_WASW3WPCounterProvider_WASW3WP01702---
Win32_RdvProvisioningChangeEvent030---
Win32_RdvProvisioningService007----
Win32_ShadowProvider0100----
comments powered by Disqus
WUtils.com