|
TABLE 4: AVAILABLE REG OPERATIONS |
|
Operation
Name | What It Does |
| Add | Adds a single key or value to the local or remote machine. |
| Query | Lets you query for a value, or, absent a value, returns all keys and values under the key you specify. |
| Delete | Deletes a value or a key and all of its subkeys (includes an option to force the deletion). |
| Copy | Copies the specified key and all of its subkeys and values to another Registry key, either local or remote. |
| Save | Saves a key and all of its subkeys and values to a binary file for restoring later (performs the same function as the Save operation in Regedt32). |
| Restore | Restores a binary file created by Save, Backup, or the Regedt32 Save function to a key in the Registry. Note that the key you are restoring must first be created. |
| Load | Lets you load a hive file into a temporary key in the current Registry (see section on loading and unloading hives later in this chapter). |
| Unload | Lets you unload the hive from the temporary key you created with the Load command. |
| Export | Exports keys to .reg file format. Similar to Regedit-e function. |
| Import | Imports .reg file format Registry files. Similar to Regedit. |
| Compare | Finds differences between two sets of Registry keys, either on a local machine or between a local and remote machine. |