
c:\Windows\System32\sysprep\sysprep.exe
Select "Enter System Out Of Box Experience (OOBE)"
Select "Generalize"
Select "Shutdown"
Start the reference computer with PE CD
imagex /capture c: c:\win7.wim "Win7 Install" /compress fast /verify
net use n: \\distributionServer\share\
copy c:\win7.wim n:\
Start the target computer with PE CD
diskpart
select disk 0
clean
create partition primary size=300
select partition 1
format fs=ntfs label="System"
assign letter=S active
create partition primary
select partition 2
format fs=ntfs label="Windows"
assign letter=C
exit
Copy the image from Distribution Server to the local drive of the target computer
net use n: \\distributionServer\share
copy n:\win7.wim c:
Imagex.exe /apply c:\win7.wim 1 c:
BCDBoot utility to initialize the Boot configuration Data (BCD) store
c:\windows\system32\bcdboot c:\windows