Registry - Set Value

Creates a value in the Registry, and sets that value's data. (If the value already exists, the new data simply replaces the old data.)

Action ID:
Action Category:
Action List Syntax:

74
Registry
Registry.SetValue (<<MAINKEY>>\<<SUBKEY>>, <<VALUENAME>>, <<VALUEDATA>>)

Settings

Main key

The main or "root" key where the value exists. Choose from:

Sub key:

The sub key that contains the value. (If it doesn't exist yet, it will be created.)

Value name:

The name of the value that you want to set. (If it doesn't exist yet, it will be created.)

Note: use "(default)" if you want to set the default value for this Registry key.

Value data:

The data that you want to assign to the Registry value.

Error Codes

Value
(%LastErrorNum%)

Simple Message
(%LastErrorMsg%)

Verbose Message
(%LastErrorDetails%)

0 (OK)

 

 

1

MSG_ERR_REGISTRY_MODIFY

MSG_ERR_REGISTRY_MODIFY
MSG_ERR_SET_VALUE
<<MAINKEY>>
\<<SUBKEY>>\<<VALUENAME>>
<<VALUEDATA>>

Examples

Expiring 30 days after running the first time

Setting a Registry value

Storing information in the Registry