In Platform Builder: Debugging the Boot Hive, I talked about opening nk.bin files in Visual Studio with Platform Builder and how this was a good tool for reviewing the registry settings. But, you can also use this technique and diff two nk.bin files.
Once you open on nk.bin file, there will be a small icon just below the filename tab. This is shown below in the red circle:
When you click on this icon, you will be prompted to open a second nk.bin. Opening the second nk.bin will display the deltas between the two files:
Shown above, you can see that some of the items are highlighted in orange to indicate that there are deltas in the sub-trees. If I expand the Boot Registry some, we can see that items removed from the first nk.bin are highlighted in red and that items added to the second are highlighted in yellow:
Looking at HKEY_LOCAL_MACHINE\System\AutoLoad we see that it is highlighted in pink to indicate that something was removed from the sub-tree.
 This diff tool for nk.bin files gives you a way to see the changes, so don’t be in too big of a hurry to throw away those old nk.bin files, they may come in handy later when something breaks.
Copyright © 2009 – Bruce Eitman
All Rights Reserved