Adam Test for

This step will apply the Prestaged Media to the OS partition and will take a few minutes to complete.

  1. After the Prestaged Media has finished applying, at the X:\ command prompt, type in:

    WinPE 4 or newer boot image (default in ConfigMgr 2012 SP1 and newer)
    bcdboot.exe C:\Windows /s S: /f BIOS

    WinPE 3.x boot image (default in ConfigMgr 2007 SP2 R2/R3)
    bcdboot.exe C:\Windows /s S:

    This step will copy critical boot files to the boot partition (S:) and create a new BCD store.

  2. At the X:\ command prompt, type in:

    DEL S:\boot\bcd /f /q

    This will delete the default BCD store created in Step 9 by the bcdboot.exe command in preparation for creating a custom BCD store.

  3. At the X:\ command prompt, type in:

    COPY C:\boot\bcd S:\boot /y

    This will copy the BCD store created by the Prestaged Media to the boot partition (S:).

  4. At the X:\ command prompt, type in the following BCDEdit commands in the order specified below. Make sure to hit Enter after each command:

    BCDEdit.exe /Store S:\Boot\BCD /Set {ramdiskoptions} ramdisksdidevice partition=C:
    BCDEdit.exe /Store S:\Boot\BCD /Set {Default} device ramdisk=[C:]\sources\boot.wim,{ramdiskoptions}
    BCDEdit.exe /Store S:\Boot\BCD /Set {Default} osdevice ramdisk=[C:]\sources\boot.wim,{ramdiskoptions}
    BCDEdit.exe /Store S:\Boot\BCD -set {bootmgr} device partition=S:

    These BCDEdit commands set up the BCD store to boot WinPE from the hard drive into a RAM disk. The WinPE on the hard drive is the one that was created by the Prestaged Media.