Media Distribution with Microsoft Deployment Toolkit 4.1
I recently ran into an interesting problem using the Microsoft Deployment Toolkit (MDT) v4.1, while trying to build a system using a DVD. I was getting an error message stating: "Non-zero return code executing command "X:\Deploy\Tools\x86\TsmBootstrap.exe" /env:SAStart, rc = -2147467259". I received this error as soon as I started the build process off of a DVD distribution.
As it turns out, apparently we had a rogue TS.xml file sitting in the root of the control folder, which was left over from back when we were still running BDD 2007. For some odd reason, the task sequence engine was attempting to load the TS.xml file in this location, which uses an older schema version, and it would fail out. The same file was actually also in the Deploy\Tools\x86 folder, and somehow the task sequence engine still found it there, and used IT rather than the TS.xml that was in the proper location, the subfolder with the task sequence ID. Neither myself, nor the guy I was working with from Premiere support could figure out why it was choosing to use these files, but after we removed both instances of them, everything just magically worked as it should have in the first place!
I'd be pretty confident saying that it should be treated as a bug within MDT, however maybe there's good reasoning behind why it's doing this. Either way, I'm glad to have it fixed.
Labels: bdd, image, imaging, mdt, microsoft deployment
Scripting with C#
Here's a cool article about how to use C# to do scripting, and even debug them!
http://blogs.msdn.com/colinth/archive/2007/12/31/scripting-for-c.aspx