Registry

Navigation:  Client commands > Tools > Client command editor > Command list >

Registry

Version 1.0.0

Show hidden text

hmtoggle_arrow1Modify registry value

With this command you can change the value of a registry key. To this end, the location of the key must be entered in the Keys and value tab. This can be done manually or by using the Browse button next to the input field. A Registry explorer, which lists all existing registry keys, opens. If this is a 64-bit registry entry, select the option Use 64-bit registry on 64-bit Windows.

 

5.8.3.2.23 - ModifyRegistryValue

Modify registry value Client Command

 

Selection of the registry key automatically adjusts the value type. This value may be chosen randomly, but this is not recommended. The selection field offers the types String, Expanded string, Integer, Binary and Multi_SZ.

 

In Options, the new value is then entered for. For String, Expanded string and Integer a simple input field apears for the new value. For the Multi_SZ type, a text box appears, in which multiple strings, one per line, can be entered.

 

If Binary is selected as type, a value can be entered, loaded from a file, or a formatted value (use this value) can be used. If a value is loaded from a file, it must be entered using the Browse button.

 

Hinweis

Note

When working with binary types, note that as of ACMP 4.0 the binary values differ from those of earlier ACMP versions due to the support of Unicode.

 

In the Options tab, you can specify different procedures for changing the key:

 

Replace existing value

 

Sets the values. If a value exist, it is replaced.

Don't replace existing value

 

Sets the values. If a value exist, it is not replaced.

Deletes value from existing string

 

 

Deletes the new value from the old value. In this case the new value must be a part of the old value.

Add value to existing line

 

Adds a new value to the old one.

Insert value at beginning of existing line

 

Inserts the new value at the beginning of the old value.

 

hmtoggle_arrow1Iterate registry

With this command the registry keys in a specified path are iterated as if in a loop. For each key, all commands subordinate to this command are executed once.

 

To do so, enter the registry key in the Details tab. You ca do this manually or with the Browse button next to the input field. Here, an Explorer-like dialog, which lists all existing registry keys, opens. If this is a 64-bit registry entry, select the option Use 64-bit registry on 64-bit Windows.

 

In the Action section, you can decide if you want to run through the value names (keys) or the subkeys of the iterated key. The current values ​​name or subkey is saved in a variable (see Variables) you have to specify.

 

5.8.3.2.23 - IterateRegistry

 

hmtoggle_arrow1Delete registry key or value

With this command you can delete a specific key or value in the registry.

 

To do so, enter the registry key in the Details tab. You ca do this manually or with the Browse button next to the input field. Here, an Explorer-like dialog, which lists all existing registry keys, opens. If this is a 64-bit registry entry, select the option Use 64-bit registry on 64-bit Windows.

 

In the Action section, you can decide if you want to delete only the matching value or the entire key. The procedure for deleting a key is similar to deleting a folder with its data.

 

hmtoggle_arrow1Set variable from registry

With this command you can read out a specific value from the registry and store it in a variable. To do so, enter the registry key in the Details tab. You ca do this manually or with the Browse button next to the input field. Here, an Explorer-like dialog, which lists all existing registry keys, opens. If this is a 64-bit registry entry, select the option Use 64-bit registry on 64-bit Windows. You can then select whether the data is read as a string or in hexadecimal.

 

The read out data are saved in the variable (see Variables) you have to specify. If the read value was a Multi_SZ field, each individual string is read as follows:

%VarName.0%

%VarName.1%

%VarName.2%

etc.

 

hmtoggle_arrow1Set registry permissions

With this command you can specify user permissions for specific registry keys by entering the corresponding key in the Registry key tab. You ca do this manually or with the Browse button next to the input field of the value. Here, an Explorer-like dialog, which lists all existing registry keys, opens. Afterwards, you can set the option to generate an error if the command cannot be executed successfully.

 

In the Access rights tab, you can define users and matching rights. To this end, the users are displayed at the top. If a user is selected, the rights of this user are displayed in the bottom section, which can be edited by selecting or unselecting the corresponding right.

 

Four buttons are located between these fields, with which users can be added,  removed or selected. In the same way, the list can be updated. To add users, you can enter the user name, including any existing domain, in the small input field (e.g., domainusername), and click Add. However, the registered name will not be verified, and is therefore displayed alongside a question mark in a yellow circle. To select a user, click the appropriate button. In the drop-down menu, you can select an existing domain, after which a list of all available users is displayed on the left side. Highlight the users whom you want to add, and copy this selection with the arrow buttons in the middle into the right list. As soon as you click OK, all users in the right list will be added as users.

Last change on 10.03.2014