SysPrep

Creating WinPE Boot Disk
1st Download Win AIK Microsoft

Open command prompt as an Admin

C:\Windows AIK\Tools\PETools\copype.cmd x86 c:\winpe_x86 C:\winpe_x86\winpe.wim C:\winpe_x86\iso\sources\boot.wim (renaming)
Copy Imagex.exe from Windows AIK\Tools inside C:\winpe_x86\iso\

Create an Iso using Oscdimg
C:\winpe_x86>oscdimg -n -bC:\winpe_x86\etfsboot.com c:\winpe_x86\iso C:\winpe_x86\winpex86.iso Burn the Iso to CD

System Preparation
C:\Windows\system32\sysprep>sysprep ESOOBE+Generalize

Capturing image using ImageX

C:\>e:\imagex /capture d:\ e:\myimage.wim
E: Location of ImageX (WinPE Disk) D: Source E: Destination

Installing Wim

Diskpart> select disk 0
Diskpart> clean
Diskpart> create partition primary size=100 (Windows may create its own partition)
Diskpart> select partition 1
Diskpart> format fs=ntfs quick label=system
Diskpart> active

Diskpart> create partition primary
Diskpart> select partition 2
Diskpart> format fs=ntfs quick label=windows
Diskpart> assign letter=c
Diskpart> exit

net use e: \\yournetshare\shared
E:\>imagex /apply myimage.wim 1 c:

E:\>c:\windows\system32\bcdboot c:\windows


Popular Posts