Cisco Support Tools 1.0 User Guide How to Use the Compare Registries Utility from a Command Line 141
Examples
Performing a Registry Comparison
The following table shows a sample registry comparison request, with a description
of each entry.
Command Option: Description:
>registry Invokes the Registry Comparison utility.
>compare /systems logger_b
/instance customer_1 Specifies that the local system's registry settings for customer
instance_1 be compared to logger_b's settings for that instance.
If a specific instance in not specified, the compare command
automatically returns registry values for the first customer instance it
finds on each system. Note that in some cases these may not be
identical instances.
>save Optionally, saves the data returned to a regcompare file in the
application server's Repository.
If no file name is specified, output is saved to a file named: Registry
<host_name> <timestamp>.xml.
If desired, you can include an argument that specifies a file name.
Copying Key Values from one Registry to Another
The following table shows a sample of copying a registry key value from on system
to another. Prior to running this command, you must first perform a registry
comparison, as shown in the previous example.
Command Option: Description:
>apply
"HKEY_LOCAL_MACHINE\\SOFTWARE
\\Cisco Systems,
Inc.\\CCBU\\Support
Tools\\Tools\\SysQuery" ProgID
/src2diff
Specifies that the value ProgID for key
HKEY_LOCAL_MACHINE\\SOFTWARE\\Cisco Systems,
Inc.\\CCBU\\Support Tools\\Tools\\SysQuery should be copied from the
target system to the system specified in the Compare command (in the
previous example).
Note that because it includes embedded spaces, the key name has been
placed in quotes.