You can move registry entries if required. For
example, if you want to move a user's personal settings for an
application installed on the computer, you need to capture the
appropriate registry entries.
You specify the registry entries that you want to
capture with a data template by setting up the template rules. A
rule is a logical statement that identifies a particular group of
registry entries. Each rule contains the registry path and the
corresponding Include or Exclude setting.
Before you create rules to move registry entries,
you need to determine whether or not the registry entries require
relative paths. You need to use relative paths in the following
situations:
- When you want to move any entries in the hive
HKEY_CURRENT_USER.
To do this, you need to enable
relative paths, and use HKEY_CURRENT_USER as the source path and
$UserHive$ as the target path.
- When you want to move all entries and subkeys under a
particular registry key to a different location (for backup
purposes).
The alternative is to define a rule
for each registry entry.
You can add new rules or modify existing rules at
any time.
1.
|
|
In the Properties for <Template name>
window, in the Rules tab, do one of the following:
|
- Click Add Rule
to add a new rule.
- Select the rule you want to edit, then click Edit Rule.
2.
|
|
In the Rule Definition window, select the
action to apply to the registry entries selected in this
rule:
|
3.
|
|
In the DirPath/RegPath box, specify the
registry path and entry definition for the registry entries to
select.
|
You can type the entire path to
select a particular registry entry or use a variable to select all
of the entries in a key.
To type a variable, click V, then select one of the following:
4.
|
|
Click OK to save the
rule.
|
Repeat this procedure for each rule you need to
set up, until you have specified all the registry entries that you
want to select with this data template.
Note: The date and file size options do not apply
to registry entries.