Kaseya Community

Append Registry Values

  • Does anyone know of a way to use Kaseya Scripting to append data to Registry Values?

    For Example, Lets say there is a REG_MULTI_SZ Value that contains the following (but these values vary on the client machines):

    I want to be able to always ADD the following:

    A .reg file Overwrites, as does the Kaseya Write Registry Key...

    Thanks in advance for any help,

    Legacy Forum Name: Append Registry Values,
    Legacy Posted By Username: GradonSilverton
  • Use the Get Variable -> Registry Value primitive to get the value and store it, and then use the Set Registry Value to write your variable and the addition. Something like this:

    IF True 
    Get Variable
    Parameter 1 : 0
    Parameter 2 : HKLM/registrykey
    Parameter 3 : previousvalue
    OS Type : 0
    Set Registry Value
    Parameter 1 : HKLM/registrykey
    Parameter 2 : #previousvalue# 9876 6543 3210
    Parameter 3 : REG_DWORD
    OS Type : 0

    Legacy Forum Name: Scripts Forum,
    Legacy Posted By Username: arobar