Deploy Windows 7 using WindowsPE and linux as RIS

!!!! Almost as for Vindows Vista !!!
1. Install Windows 7 WAIK ( c:\waik)

cd \waik\tools\petools\
copype.cmd x86 c:\win7pe
cd \win7pe

Dism /Mount-Wim /WimFile:C:\win7pe\winpe.wim /index:1 /MountDir:C:\win7pe\mount

mkdir c:\pxe\Boot
cd \win7pe\mount\windows\boot\pxe
copy * \pxe
cd \win7pe\mount\windows\boot\fonts
copy wgl4_boot.ttf \pxe\Boot
cd \waik\tools\petools\x86\boot
copy boot.sdi \pxe
cd \win7pe
copy winpe.wim \pxe
cd win7pe\mount\windows\system32

bcdedit /store \pxe\bcd /create {ramdiskoptions} /d “Ramdisk options”
bcdedit /store \pxe\bcd /set {ramdiskoptions} ramdisksdidevice boot
bcdedit /store \pxe\BCD /set {ramdiskoptions} ramdisksdipath \Boot\boot.sdi
bcdedit /store \pxe\BCD /create /d “WinPE Boot Image” /application osloader
The entry {179e0477-528d-11e0-b208-000c29acf4a4} was successfully created.

bcdedit /store \pxe\BCD /set {179e0477-528d-11e0-b208-000c29acf4a4} systemroot \Windows
bcdedit /store \pxe\BCD /set {179e0477-528d-11e0-b208-000c29acf4a4} detecthal Yes
bcdedit /store \pxe\BCD /set {179e0477-528d-11e0-b208-000c29acf4a4} winpe Yes
bcdedit /store \pxe\BCD /set {179e0477-528d-11e0-b208-000c29acf4a4} osdevice ramdisk=[boot]\Boot\WinPE.wim,{ramdiskoptions}
bcdedit /store \pxe\BCD /set {179e0477-528d-11e0-b208-000c29acf4a4} device ramdisk=[boot]\Boot\WinPE.wim,{ramdiskoptions}
bcdedit /store \pxe\BCD /create {bootmgr} /d “Windows 7 BootManager”
bcdedit /store \pxe\BCD /set {bootmgr} timeout 30
bcdedit /store \pxe\BCD /displayorder {179e0477-528d-11e0-b208-000c29acf4a4}

!! Add aditional drivers to win7pe image: like network drivers !!
DISM /image:c:\win7pe\mount /Add-Driver /driver:C:\win7pe\DRIVERS1 /recurse

DSIM /image:c:\win7pe\mount /add-package /packagepath:”C:\WAIK\Tools\PETools\x86\WinPE_FPs\”
DSIM /image:c:\win7pe\mount /add-package /packagepath:”C:\WAIK\Tools\PETools\x86\WinPE_FPs\”
DSIM /image:c:\win7pe\mount /add-package /packagepath:”C:\WAIK\Tools\PETools\x86\WinPE_FPs\”
Dism /Unmount-Wim /MountDir:C:\win7pe\mount\ /Commit
copy c:\win7pe\winpe.wim c:\pxe

!! SAMBA setup and TFTPD setup it’s as for Windows Vista !!


<?xml version=”1.0″ encoding=”utf-8″?>
<unattend xmlns=”urn:schemas-microsoft-com:unattend”>
<package action=”configure”>
<assemblyIdentity name=”Microsoft-Windows-Foundation-Package” version=”6.1.7601.17514″ processorArchitecture=”x86″ publicKeyToken=”31bf3856ad364e35″ language=”” />

<selection name=”TelnetClient” state=”true” />

<selection name=”TabletPCOC” state=”false” />

<selection name=”Indexing-Service-Package” state=”false” />

<selection name=”Printing-Foundation-Features” state=”false” />

<selection name=”Printing-XPSServices-Features” state=”true” />

Here is an working copy of win7unatt.xml

P.S : Because of limitation of WordPress I have to rename the original file from win7unatt.xml to win7unatt.xml.doc


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s