Create Bootable Windows PE Media
Collapse the table of content
Expand the table of content

Create Bootable Windows PE Media (AIK) (POSReady 7)


In this step, you create a bootable Windows PE RAM disk on a CD-ROM disc by using the Copype.cmd script. Windows PE RAM enables you to start a computer for the purposes of deployment and recovery. Windows PE RAM boots directly into memory, which lets you remove the Windows PE media after the computer boots. Once you have booted into Windows PE, you can use the ImageX tool to capture, modify, and apply file-based disk images. For more information about these tools, see the Deployment Tools Technical Reference.

  1. On your technician computer, click Start, All Programs, Windows AIK, right-click Deployment Tools Command Prompt, and then select Run as administrator.
    The menu shortcut opens a Command Prompt window and automatically sets environment variables to point to all the necessary tools. By default, all tools are installed at C:\Program Files\Windows AIK\Tools.
  2. At the command prompt, run the Copype.cmd script:
    copype.cmd <architecture> <destination>
    In this command, <architecture> can be x86 or amd64 and <destination> is a path of a local directory.
    The script creates the following directory structure and copies all the necessary files for that architecture. For example:
    copype.cmd x86 C:\Winpe_x86
    This command will create \ISO and \mount folders in the C:\winpe_x86 folder.
  3. Copy the Windows PE start image into the ISO\sources folder.
    copy "C:\Program Files\Windows AIK\Tools\PETools\<architecture>\Winpe.wim" <destination>\ISO\Sources\Boot.wim
    In this command, <architecture> coincides with the architecture specified in Step 2, and <destination> is the path of the local directory used in Step 2.
    For example:
    copy "C:\Program Files\Windows AIK\Tools\PETools\x86\Winpe.wim" C:\Winpe_x86\ISO\Sources\Boot.wim
  4. Copy ImageX into \Winpe_x86\ISO.
    For example, type:
    copy "C:\Program Files\Windows AIK\Tools\x86\Imagex.exe" C:\Winpe_x86\ISO\
    This will place a copy of ImageX.exe on the bootable DVD that lets you run ImageX.exe when you start from the CD to capture a deployed image for deployment to additional systems.
    You can create an optional configuration file that is named Winscript.ini that will instruct the ImageX tool to exclude certain files during the capture operation. Save Wimscript.ini to the same location as the ImageX tool. For more information, see the Create an ImageX Configuration File topic in WAIK.chm.
  5. Create a Windows PE image (.iso) file by using the Oscdimg tool from the Deployment Tools Command Prompt.
    For example, type:
    oscdimg -n -bC:\Winpe_x86\ C:\Winpe_x86\ISO
  6. Burn the image (Winpe_x86.iso) to a CD-ROM disc.
    Windows AIK does not include CD-ROM burning software. Use trusted third-party software to burn the image to a CD-ROM disc.

You now have a bootable Windows PE RAM CD that contains the ImageX tool. For more information about Windows PE, see the Windows Preinstallation Environment (Windows PE) User’s Guide (Winpe.chm).

Community Additions

© 2016 Microsoft