Recipe 9.7. Comparing the Registry


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.


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 computers (or before and after changes are made on the same computer). See Recipe 9.4 for more information on exporting Registry files.

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

  3. From the menu select File Compare Files.

  4. Select the exported Registry files you created in step 1.

  5. Select View Expand or View Outline from the menu to see the differences.


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 XP Cookbook
Windows XP Cookbook (Cookbooks)
ISBN: 0596007256
EAN: 2147483647
Year: 2006
Pages: 408

Similar book on Amazon © 2008-2017.
If you may any questions please contact us: