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

Specifies that the local system's registry settings for customer

/instance customer_1

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

Specifies that the value ProgID for key

"HKEY_LOCAL_MACHINE\\SOFTWARE

HKEY_LOCAL_MACHINE\\SOFTWARE\\Cisco Systems,

\\Cisco Systems,

Inc.\\CCBU\\Support Tools\\Tools\\SysQuery should be copied from the

Inc.\\CCBU\\Support

target system to the system specified in the Compare command (in the

Tools\\Tools\\SysQuery" ProgID

previous example).

/src2diff

Note that because it includes embedded spaces, the key name has been

 

 

placed in quotes.

 

 

Cisco Support Tools 1.0 User Guide

How to Use the Compare Registries Utility from a Command Line 141

Page 141
Image 141
Cisco Systems 1.0 (1) manual Performing a Registry Comparison, Copying Key Values from one Registry to Another