Ask the Performance Team

Thoughts from the EPS Windows Server Performance Team

An Introduction to the Windows System State Analyzer

An Introduction to the Windows System State Analyzer

  • Comments 7

There often arises a need to figure out what may have changed on a system, either due to a specific issue or even to compare the difference between two systems. Today I would like to introduce you to the Windows System State Analyzer utility. Unless you are a developer or tester, you probably have never heard of this tool, as it is part of the Windows 2008 R2 Logo Software Certification and Windows 2008 R2 Logo Program Software Certification toolkits.

The basic functionality of the System State Analyzer tool is to allow you to compare two snapshots taken at different points in time. This allows you to compare the state of a machine both before and after an application install for instance. Today I will give you a run-through of what the tool looks like while doing a compare of a system both before and after installing a software package, in this case Virtual PC 2007. The initial UI will look something like this:

image

As you can see, the interface is divided into two panes, each of which is for a separate snapshot that you wish to compare. You start by naming the first snapshot. By default, you are given several default name instances such as Post Install, Pre Configuration or Custom.

The Tools – Options menu is where you can choose what you wish to include in the snapshot for comparison. You can compare drives, registry keys, services or drivers.

image

Once you click OK and come back to the main window, you are all set to begin the first baseline snapshot. This snapshot may take some time to complete depending on which options you have chosen and the amount of data on the drives. By default, it creates a snapshot as a .BIN file under C:\Users\Public\Documents.

Once the first snapshot was done, I installed Virtual PC 2007 and let it complete. This time, I choose the section on the right side, named it Post Install and took the second snapshot. Once this is done, I clicked Compare and the comparison was done. It gave me the option to view the Detailed Report, which is saved as an .HTML file. For now, let’s take a look at the Quick Comparison tab:

image

Looking at the Services section, we can see service state changes as well as any new services that might have been added during the installation. The drivers section looks like this:

image

As you can see, two new drivers were added to the system as part of the Virtual PC 2007 install. Likewise, the Registry section shows any registry changes made between the snapshots:

image

And the Files section also:

image

Below is a quick peek at the Detailed Report; you can see the change summary and details filtered based on file extension and various other file properties:

image

I am sure you can imagine scenarios in which this tool may come in handy. If anything undesirable happens after any system state change, you now have the ability to see what may be related to your issue. You can download the tool at the following locations:

· Server Logo Program Software Certification Tool x86: http://go.microsoft.com/fwlink/?LinkID=140110

· Server Logo Program Software Certification Tool x64: http://go.microsoft.com/fwlink/?LinkID=140109

Note: You must have the .NET Framework 2.0 installed for Windows System State Analyzer to work correctly.

I hope this information comes in handy, and thank you for your time.

Sumesh P.

Share this post :


Comments
  • This is like a wish come true. Will be testing it out shortly. Thanks!

  • Can this be run against a server, remotely? Or is there a single .exe that can be copied onto the server and run (instead of installing the entire package (without Certification & Works with Tools))?

  • Yes, you can copy the program directory and run it on another box

    No, you cant run it remotely

  • 'Had several problems installing and using on Windows 2003 server, very clean image.

    1. First time the install failed (took defaults) and it rolled back, complaining about "Error 1001.InstallUtilLib.dll: Unknown error."

     So I right clicked on the install file (Software_Certification_Toolkit_x86.msi) and did Properties Security and clicked Unblock.

    Installed again, only chose the system state analyzer option, and install completed (I think this is the sequence, 'recalling all from memory)

    2. Then I ran into a .Net problem saying I must install .Net v2.0.50727.  I downloaded .Net 2.0 and installed.

    3. At this point, I'm able to run the tool, and compare states.  However, when I create a detailed report, I get

    "error in generating report"

    which is a very vague messge.

    On a hunch, I guess that in generating the report, you are calling into .Net framework to do something, and I probably need a newer version (even though I'm supposedly ok wi v2.0.50727).

    So I download .Net2.0SP2 and install that.  I'm now able to run the compare and produce a detailed report.

    So... I'm sharing this so others may benefit.  Tool looks very useful, could use a couple bug fixes as per my above problems.  But, nonetheless, very grateful to have a tool like this.  Enhancement may be to format the "state" snapshot in a format I can analyze in MS Excel.

  • Can it run in a command line or silently?

  • I get the "error in generating report" also, but the reports appear to be generated just fine

    Very useful tool (thanks for the heads up!)

    I am looking forward to putting it into action after a complicated install/updated/bork etc

  • Another engineer and myself have found that System State Analyzer frequently hands when attempting to do a compare using the windows GUI in Vista.  I’d like to see if I experience the same problem with compare running via the command line but so far have been unable to find a list of instructions for System State Analyzer command line switches.  Do you know where I can find a list for certain?

Page 1 of 1 (7 items)
Leave a Comment
  • Please add 5 and 7 and type the answer here:
  • Post