March 6 2012

Capture and deploy Windows 8 with SCCM 2007 R3

I had a bit of time this weekend to play around with the latest Windows 8 Consumer Preview release. One of the first things I wanted to try and do was capture a reference image and redeploy it with SCCM 2007 R3. Firstly I tried to do this using the Capture task sequence media (Capture Image Wizard) however this was continuously failing at one of the first step – ‘Running sysprep command’. Looking in the smsts.log, I could see it was failing with error – ‘Failed to prepare the system partition for staging.
Wait Callback (Error: D0000004; Source: WinHTTP)’. See image below:

So I went back to the way I used to do OSD in SMS 2003. I manually ran c:windowssystem32sysprepsysprep.exe and selected the options below:

Once the machine was shutdown, I restarted it and booted into WinPE from my WDS server (you could use a CD/DVD/USB instead) and opened a command prompt (F8). I mapped a drive to the location of my WAIK files (Win7 WAIK v6.1.7600.16385) so I could have access to imagex.exe and ran imagex.exe /capture c: z:win8.wim “Windows 8” as you can see below:

There were a few error messages about extended attributes, however I could see the image was still being captured:

Once the capture process was complete, I simply added this into SCCM 2007 R3 as an OS image just like you would for Windows XP / 2008 / 7 and created a simple task sequence. Windows 8 was then successfully deployed!

Of course, none of this is supported by Microsoft and since we are only playing with a Consumer Preview version, nobody is going to be running this in a production environment. As far as I’m aware, even SCCM 2012 does not yet support deployment of Windows 8, so hopefully that is updated before RTM. Hopefully there is also an update for SCCM 2007!


I use a maximum of one Google Ad per post to help offset some of my blog hosting costs.


Tags: , , , , , , , , , , , ,

Posted March 6, 2012 by danovich in category "Geek", "SMS / SCCM", "Windows

Leave a Reply