How can I create the bootable Windows Preinstallation Environment (WinPE) CD-ROM that the Windows Automated Installation Kit (WAIK) uses?

John Savill

December 10, 2006

1 Min Read
ITPro Today logo in a gray background | ITPro Today

A. The WAIK has all the tools and information needed to create the ISO image that you can then burn to a CD-ROM. The following steps walk you through the procedure:

  1. Open a command prompt on the machine with WAIK installed.

  2. Navigate to the C:Program FilesWindows AIKToolsPETools folder (the default installation path for WAIK).

  3. Create a PE folder structure on the disk using the copype.cmd with this format:

    copype.cmd  

    Where can be x86, amd64, or ia64 and is a path to the local directory. For example:
    copype.cmd x86 c:winpe_x86A large number of file copies will be displayed to screen, and the path for the command prompt will be modified to enable simpler copying of the PE tools by adding the PE tools folder to the path.

  4. Copy the imagex.exe command into the ISO folder (c:winpe_x86ISO) of the PE build from C:program filesWindows AIKToolsx86.

  5. Also in the ISO folder place the content below into a file named wimscript.ini, which is used to instruct the Imagex command to ignore certain files from the capture. (Imagex automatically detects the presence of the file if it's in the same folder; if you place the imagex configuration file in another location, you'll have to pass the /config switch with the location and the name of the file during any capture or append operations (e.g., /config c:imagingimagexconfig.ini).

    [ExclusionList]ntfs.loghiberfil.syspagefile.sys"System Volume Information"RECYCLERWindowsCSC[CompressionExclusionList]*.mp3*.zip*.cabWINDOWSinf*.pnf 
  6. You could optionally place other files in the ISO folder (e.g., a disk partitioning command list to be used with Diskpart as part of the installation).

  7. Create an image (.iso) file by using the Oscdimg tool. To do so, open a command prompt and type the following:

C:>cd program filesWindows AIKToolsPETools
C:program filesWindows AIKToolsPETools>oscdimg -n -bc:winpe_x86etfsboot.com c:winpe_x86ISO c:winpe_x86winpe_x86.iso

About the Author

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like