Recipe9.7.Comparing the Registry


Recipe 9.7. Comparing the Registry

Problem

You want to compare the registry on two hosts or compare the registry on the same host after you've installed an application or made other modifications to the registry.

Solution

Using a graphical user interface

  1. Use the Registry Editor (regedit.exe) to export part of the registry you want to compare for the two target servers (or before and after changes are made on the same server). See Recipe 9.4 for more information on exporting registry files.

  2. Open the WinDiff program (windiff.exe).

  3. From the menu, select File

    Select the exported registry files you created in step 1.

  4. Select View View Discussion

    When you export the registry, you are simply exporting the contents of the registry to a text-based file, which you can use to compare against other export files. Windiff is just one example tool that can compare text files and show the differences. Some text editors can do the same (e.g., Textpad is a favorite of mine).

    If you only want to see the changes that an application makes during installation, another option is to use the Sysinternals Registry Monitor tool. You can configure Registry Monitor to display only write events for a certain key. For more information on Registry Monitor, see Recipe 9.12.

    See Also

    MS KB 171780 (How to Use WinDiff to Compare Registry Files)



Windows Server Cookbook
Windows Server Cookbook for Windows Server 2003 and Windows 2000
ISBN: 0596006330
EAN: 2147483647
Year: 2006
Pages: 380
Authors: Robbie Allen

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net