# Thursday, October 02, 2008

Today I was attempting to create a sysprep.xml file for Windows 2008. After opening my WIM file in Windows SIM I got the prompt to generate a Catalog file, clicked Yes and then......Error!! What?? Lets try that again....Error!! Whatever, lets try again, Error!! Ok this time I read the error. "System.Reflection.TargetParameterCountException: Parameter count mismatch." Ummm, what??

After wasting almost 2 hours chasing this error I found this post on the TechNet Forums: http://forums.microsoft.com/TechNet/ShowPost.aspx?PostID=3066853&SiteID=17.

The key information is:

Because of the changes in the servicing stack in Windows Vista with Service Pack 1 (SP1) and Windows Server 2008, Windows System Image Manager (Windows SIM) cannot create catalog files for some Windows images of different architecture types. The following list describes the Image Manager architecture types and catalogs that can be created for each one.

x86 Windows SIM:
Can create catalogs for x86, x64, and Itanium-based Windows images.

x64 Windows SIM:
Can create catalogs only for x64 Windows images.

Itanium-based Windows SIM:
Can create catalogs only for Itanium-based Windows images. 

Please confirm if what version of Windows SIM you are using. I recommend installing x86 Windows SIM.

Hope it helps.

Tim Quan - MSFT

Update: Michael Niehaus pointed out that this information is available in the updated version of the WAIK 1.1 release notes available at http://www.microsoft.com/downloads/details.aspx?FamilyID=051091e8-51ea-4d2c-96b3-dc9863edebd9&displaylang=en.

Thursday, October 02, 2008 1:56:12 PM (E. Australia Standard Time, UTC+10:00)
This is actually covered in the online version of the Windows AIK 1.1 release notes available for download from http://www.microsoft.com/downloads/details.aspx?FamilyID=051091e8-51ea-4d2c-96b3-dc9863edebd9&displaylang=en. (It was accidentally left out of the release notes included in the Windows AIK 1.1 installer.)

-Michael
Michael Niehaus
Thursday, October 02, 2008 2:13:30 PM (E. Australia Standard Time, UTC+10:00)
Thanks Michael. Do you know if they intend to change this behaviour??
Saturday, November 15, 2008 12:11:27 AM (E. Australia Standard Time, UTC+10:00)
I am currently having this problem. I keep running across this note from Mr. Quan, but I don't see where you get a choice on this. Sysinfo identifies my VM processor as X86, so I can only guess I must have X86 WinSIM installed. I've found places where you need to download cert, logon as the local admin, select a different wim file, reinstall, get the latest WAIK.... None of this is easy to find and none of this has worked for me. I'm not trying to do anything out of the ordinary with this, just trying to go through the step-by-step guide an item at a time, but, given my experience, it looks to me like this stuff is just not there yet.

Rick Reynolds
US Census Bureau
Rick Reynolds
Comments are closed.