What is WAIK?
Windows Automated Installation Kit (WAIK) is a collection of tools and technologies produced by Microsoft designed to help deploy Microsoft Windows operating system images to target computers or to a VHD (Virtual Hard Disk). It was first introduced with Windows Vista. The WAIK is a required component of the Microsoft Deployment Toolkit.
What is Windows PE?
Windows Preinstallation Environment (WinPE) is a lightweight version of Windows, used for the deployment of workstations and servers or troubleshooting an operating system while it is offline. It is intended to replace MS-DOS boot disks and can be booted via PXE LAN, CD-ROM, USB flash drive or hard disk. Traditionally used by large corporations and original equipment manufacturers (OEMs), it is now widely available free of charge via the Windows Automated Installation Kit (WAIK).
Create a Bootable Windows PE Disk
This article will guide you through the steps to creating your own boot able Windows PE disk. You will be able to use this disk to capture a custom WIM file that you will be able to use for deployment.
Step-1: Install the Window Automated Installation Kit (WAIK).
Note: If you will need to download, Please click here.
Now that you have WAIK installed
Step-2: Now open Deployment Tools Command Prompt and Run as Administrator.
click Start button , All Programs, Windows AIK, Deployment Tools Command Prompt.
Step-3: At the prompt we need to run the Copype.cmd script:
Copype.cmd □ <architecture> □ <destination>
Note: Choose the appropriate options for both: <architecture> can be x86, amd64 or ia64. <destination> points to a local directory. I will be using x86 and copying to the C: drive.
Example: copype.cmd □ x86 □ c:\winpe_x86
The script will copy all the necessary files for the architecture specified.
Step-4: Next we need to copy the Windows PE base image (winpe.wim) to the Winpe_x86\ISO\sources folder, renaming it to Boot.wim in the process.
Example: copy □ c:\winpe_x86\winpe.wim □ c:\winpe_x86\ISO\sources\boot.wim
Step-5: We need to copy imagex.exe to our ISO folder:
Copy □ “C:\program files\<version>\Tools\<architecture>\imagex.exe” □ C:\winpe_x86\ISO\
Note: Again, choose the appropriate options for both. <version> (for the sake of this guide) is Windows AIK. <architecture> can be x86, amd64 or ia64.
Example: copy □ c:\Program Files\Windows AIK\Tools\x86\imagex.exe □ c:\winpe_x86\ISO\
Creating the ISO
Now that we have the base image (boot.wim) and our capture app (imagex.exe) added to the ISO folder its time to create the actual ISO file.
Step-6: Run the following command where C:\winpe_x86\ISO is the location of the source files, and C:\winpe_x86\winpex86.iso is the destination .iso file.
Example: Oscdimg □ –n □ -bc:\winpe_x86\etfsboot.com □ c:\winpe_x86\ISO □ c:\winpe_x86\winpex86.iso
Now if you navigate to C:\winpe_x86 (or the destination specified in the previous step) you will see your Windows PE ISO waiting to be burned to a disk.