WinPE Bootable OS Image

Create Win PE Bootable OS Image


Step by step instruction for implementing a basic image deployment -using WinPE
-Microsoft Operating systems (includes Win XP/Vista/2008/2003). 


We need the following requirements to proceed.


Required:
Microsoft OS product DVD (XP/Vista)
Windows Automated Installation Kit (Windows AIK),
Technician computer -To install the Windows AIK
Master computer -Reference computer
One blank, writable CD-ROM
Network connectivity


Step#1Download the Windows Automated Installation Kit (Windows AIK)


Step#2
Building an Answer File, An answer file stores the custom settings that are applied during Windows installation, We need Windows System Image Manager (Windows SIM).


Step#3 Building a Master Installation, Insallation OS that you want to clone and you can use answer file to create.

From the command prompt, type the following command to reseal (generalize) and shut down the computer:

C:\Windows\System32\Sysprep\Sysprep.exe /oobe /generalize /shutdown

The Sysprep tool command prepares the image for capture by cleaning up various user and machine settings (unique SID) and log files.

The master installation is complete and ready to be imaged.



Step#4 Create a Windows PE CD to capture an image of your master computer
From your technician computer, run command line.
Cd Program Files\Windows AIK\Tools\PETools\
copype.cmd x86 c:\winpe_x86
To add ImageX (a tool for capturing and applying images during deployment)
Copy "C:\Program Files\Windows AIK\Tools\x86\imagex.exe" C:\winpe_x86\iso\

Step#5To created an exclusion list follow the instructions in Step 5 of the Walkthrough:
Create a Bootable Windows PE RAM Disk on a CD-Rom
Copy this to a notepad:
[ExclusionList]
ntfs.log
hiberfil.sys
pagefile.sys
"System Volume Information"
RECYCLER
Windows\CSC
[CompressionExclusionList]
*.mp3
*.zip
*.cab
\WINDOWS\inf\*.pnf
then we need to save it as Wimscript.ini to the winpe_x86\ ISO directory.

Step#6
The command to create a bootable CD Rom type:
oscdimg -n -b c:\winpe_x86\etfsboot.com c:\winpe_x86\ISO c:\winpe_x86\winpe_x86.iso

To capture the image of a C: drive to a specific WIM file written to drive C: or another
target drive, the simplest command-line for ImageX would be similar to:

imagex /capture c: c:\c_drive.wim "My_C_Drive"



ApplyDeploy the image to other computers, which brings us to the /apply function.

imagex /apply d:\images\c_drive.wim 1 c:\



AppendAppend is function of ImageX that will add the contents of a disk volume to an existing WIM file. Let's say you've created an image of a C: drive containing an operating system, preinstalled applications, and desired configuration. You add a D: drive containing a variety of data files and perhaps some additional application packages. Using ImageX with the /append option lets you add the contents of the D: drive to the WIM file of the C: drive--combining two volumes into one ImageX file.

Example command to append images
using ImageX would be:

imagex /append d: c:\data_drive.wim

From the appended WIM file you can then apply either volume 1 (the first drive in the
appended image) or volume 2 (the second drive in the image) in two simple steps without
switching WIM files.



SplitThe split feature of ImageX is as follows:
imagex /split c:\c_drive.wim 650


Once WIM file is split then it cannot be reassembled, nor can it be mounted. Because of this you should retain a copy of the entire, original single WIM file to work with and perform modifications, then split only a working copy of your completed image--into either or both CDs and DVDs. After the split you will then "burn" each of the fragments to individual media.



Thanks for visiting ...