Set registry value Action

Specify registry value to be set. Registry values with their data are contained in registry keys. To set the registry value, it is necessary to specify the registry key, value name and, optionally, value data. If the specified value already exists in the specified registry key, the value is changed. If the value does not exist, it is created.

Registry propertiesDetails
Registry keySpecify the registry key in which the registry value will be set.
Value nameSpecify the name of value to be set. If the value name already exists, it will be modified (including data and type). If non-existent, the registry value will be automatically created. If no value name is specified, the default value will be set.
Value dataSpecify the data that will be written into specified value name.
Value typeSpecify the value type that will determine the amount and type of data that can be written into value:
  • DWORD 32-bit - value data can store 32-bit integers
    (between 0 and 4,294,967,295).
  • QWORD 64-bit - value data can store a 64-bit integer
    (between 0 and 18,446,744,073,709,551,615).
  • Binary - stores any arbitrary data in hexadecimal format
    (e.g. 0D 41 EA 6C 39 FF 0D 0A).
  • String - stores character sequence.
  • Multi-String - stores a list of strings. Items are separated by the enter character (carriage return / new line character). It is recommended to use the dynamic Read from file value from Variable Wizard.
  • Expandable String - stores string value that can contain environment variables.
  • None - the value data type is not specified.
Browse registryBrowse Windows registryUse the Registry browse button to easily locate and specify the necessary Windows registry key or value.
Variable WizardVariable WizardUse Variable Wizard button to specify more advanced input, such as, taking parameters from file, associated Trigger or other Action.
Set registry value Action Registry properties
Additional notes:
  • In Windows registry value data types are represented in the following manner: DWORD 32-bit as REG_DWORD; QWORD 64-bit as REG_QWORD; Binary as REG_BINARY; String as REG_SZ; Multi-String as REG_MULTI_SZ; Expandable String as REG_EXPAND_SZ; None as REG_NONE.
  • The difference between running Automation Workshop 32 and 64-bit versions on 64-bit Windows is that some of Windows registry calls by 32-bit Automation Workshop are transparently redirected to locations under \Wow6432Node. The calls to the same registry locations by 64-bit Automation Workshop can access the specified registry location directly.
    For example, if a registry call is made to access HKEY_LOCAL_MACHINE\Software registry path, Automation Workshop 32-bit is redirected to HKEY_LOCAL_MACHINE\Software\Wow6432Node location, while Automation Workshop 64-bit accesses HKEY_LOCAL_MACHINE\Software directly.
    Furthermore, if %ProgramFiles% and %commonprogramfiles% environmental variables are written into REG_SZ or REG_EXPAND_SZ registry key by 32-bit Automation Workshop, WOW64 (Windows 32-bit on Windows 64-bit) automatically replaces them with %ProgramFiles(x86)% and %commonprogramfiles(x86)%, respectively. View Microsoft article on Registry Redirector.
© 2001–2017 Febooti Ltd.