Write Registry
This component write registry values
Parameters
Workstation: the name or IP address of the computer on which you want to write a registry value
Create Row
Create a row with
and select a Branch Type, for example HKEY_CURRENT_USER
Create Variable
- Create a variable like “Key_Path” with a value corresponding to the KEY you want to write for example: Software\Microsoft\notepad\ and select it in the column Key_Path
- Create a variable like “Key_Dword” with a value corresponding to the DWORD you want to write for example Paseo and select it in the column Value_Name
- Create a variable like “Value_name” with a value corresponding to the value for the DWORD key for example Test_Paseo and select it in the column Data
Launch Treatment
Now you can launch the treatment. The result is available in the following variables:
- REG_EXISTS_0 indicate if the registry variable was found
- REG_CREATE_0 indicates the registry value was created
To use these variables you must respect following syntax:
{Treatment name.REG_EXISTS_0} and {Treatment name.REG_CREATE_0}
Example:
- Write registry.REG_CREATE_0}
- {Write registry.REG_EXISTS_0}
Get the world's favorite Script generator at http://www.paseosoft.com/