RegistryValue#

Modifies a specified registry value.

Note

By default, this will apply to all users hives when the HKCU hive is specified.

Required Parameters#


Paramater

Description

Type

path

Specifies the path to the registry key.

string

value

Specifies the value to modify from the key specified via path.

string

type

Specifies the type of the value.
This is not required when deleting a registry value.

Enum:
REG_SZ
REG_MULTI_SZ
REG_EXPAND_SZ
REG_DWORD
REG_QWORD
REG_BINARY
REG_NONE
REG_UNKNOWN

data

Specifies the value to modify from the key specified via path.
This is not required when deleting a registry value.

any

Optional Parameters#


Paramater

Description

Type

Default

operation

Specifies the operation to take place.

Enum:
add
delete
set

add

scope

If the edit makes use of the HKCU registry hive, this specifies the scope of user hives to apply it to.

Enum:
allUsers
currentUser
activeUsers
defaultUsers

allUsers