WinPE2 with BDD 3.0 beta

MS has released new builds of the Vista deployment tools with the “Business Desktop Deployment Solutions Accelerator 3.0 Beta” (AKA BDD 3.0 beta. This pack includes the “Windows AIK” that we have looked at previously. Good! The last version needed a lot of improvement.

Here are the steps that I have followed to build a new ISO, usable in VMWare Server Beta and VMWare Workstation 5.5…

  1. Install the BDD 3.0 pack
  2. from c:program filesbdd vistawaik, install the WAIK using “startcd.exe”.
  3. Using the included CHM files, follow the “Walkthough: Create a bootable Windows PE RAM Disk on CD-ROM”:
    1. from c:program fileswindows aiktoolspetools, run:
      copype x86 c:winpe_x86
    2. step 2 in this procedure claims that you can copy EXE files (such as ImageX.exe) to c:winpe_x86iso, and they will then be included in the image…
      NOTE: These files show up on the “D:” drive after booting into WinPE. The reason for putting additional tools here is to reduce the memory footprint of WinPE. Everything in the X: drive is loaded into RAM at boot time!
    3. before actually making the iso, apply some customizations:
      1. Mount the WinPE WIM file:
        imagex /apply c:winpe_x86winpe.wim 1 c:winpe_x86mount
      2. Install drivers:
        peimg /inf=c:driversvmwarevmxnetwin2kvmware-nic.inf c:winpe_x86mountWindows
        C:winpe_x86_2>peimg /inf=c:driversvmwarevmxnetwin2kvmxnet.inf c:winpe_x86mountWindows
      3. Install optional components
        peimg /install=*srt* c:winpe_x86mountwindows
        peimg /list c:winpe_x86mountwindows
        (shows currently installed optional packages
      4. If you want ImageX (or any other utilities) in the RAM disk, put them there now:
        Copy files from c:program fileswindows aiktoolsx86 to c:winpe_x86mountwindowssystem32
        (This includes the imagex.exe utility. I suppose these really should go in the “programs” directory, to separate them from the actual OS files, but this way they are in the path so the idiot end user does not have to know where the ImageX utility is, just how to use it).
      5. Prep the PE image (don’t ask me why, it is in the directions!):
        peimg /prep c:winpe_x86mountWindows
      6. capture the mounted PE instace to a WIM:
        imagex /append c:winpe_x86mount c:winpe_x86winpe.wim "MyWinPE" /verify
        (Actually appends this instance to an existing WIM)
      7. Export the appended image to a bootable WIM file:
        imagex /boot /export c:winpe_x86winpe.wim 2 c:winpe_x86ISOsourcesboot.wim
        (NOTE: the instructions on “custom images” fails to mention that you must use the “/boot” flag here!)
      8. Create the ISO:
        oscdimg -n – c:winpe_x86ISO c:winpe_x86winpe_x86.iso

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s