Win PE

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

รู้จักไฟล์ .

wim ก่อนการทา Windows PE


ไฟล์นามสกุล .wim (Windows Imaging Format) เป็น Image File
รูปแบบใหม่ของ Microsoft ซี่งสามารถเก็บได้เปรียบเสมือนการ Clone Harddisk
เก็บไว้เป็น Image Files หรือเก็บได้ทัง้ ข้อมูลรูปแบบ File ที่เป็นโครงสร้างแบบ
XML

ทาความรู้จักกับ Windows Automated Installation Kit Tools !


Windows (AIK) เป็นแผ่นเสริมสาหรับเอาไว้เพิ่มเติม Feature ในการใช้
Deploy ระบบปฏิบัติการได้งา่ ยยิ่งขึ้นโดยสามารถ Download ได้ฟรี ที่เวปไซต์
ของ Microsoft

แผ่น Windows (AIK) นั้นมีเครือ


่ งมือสาคัญที่ควรทาความรู้จก
ั ดังนี้

 เครื่องมือสร้างแผ่น Boot Windows Preinstallation Environment


(Windows PE) 2.0 เป็นแผ่น boot mini Version ของระบบปฏิบต ั ิการ
Windows ครับเราสามารถใช้เครื่องมือ WAIK สร้างแผ่น Windows PE
โดยปรับแต่งให้เหมาะกับการใช้งานส่วนตัวได้ตลอดเวลา เช่น เพิม ่ Menu
ต่าง ๆ เข้าไป หรือสร้าง Windows PE ให้ boot จาก USB หรือ CD / DVD
 คาสั่ง ImageX.exe เป็นคาสั่งที่ช่วย Clone Image ให้อยู่ในรูปแบบไฟล์
.wim โดยใช้ได้ทั้งการสร้าง Image และการ restore image
 Windows SIM = Windows System Image Manager (SIM) เป็น
โปรแกรมที่มากับแผ่น Windows AIK เพื่อเอาไว้สร้างไฟล์ Unattended
เหมือน Answer Files สาหรับ Windows รุ่นก่อน

การสร้าง Windows7 PE
1. ดาวน์โหลดและติดตั้ง Windows Automated Installation Kit (Windows
AIK) ลงบน server1
2. คลิกปุ่ม Start > Microsoft Windows AIK > Windows PE Tools
Command Prompt
3. จะเข้าสู่หน้าต่าง Command Prompt ให้พิมพ์คาสัง่

copype.cmd x86 c:\winpe_x86


4. จะมีการสร้างโฟลเดอร์ดังรูปขึ้นมา

5. ทาการ Copy ImageX.exe ไปไว้ที่ Path \ISO โดยใช้คาสั่ง

copy "C:\Program Files\Windows AIK\Tools\x86\ImageX.exe"


C:\winpe_x86\iso\

6. สร้าง Exclusion List ด้วยโปรแกรม NotePad แล้ว Save เป็นไฟล์


"Wimscript.ini" เอาไว้ที่เดียวกับ ImageX.exe (พิมพ์คาสั่งบรรทัด
ด้านล่างนี้ลงไป)

[ExclusionList]

ntfs.log

hiberfil.sys

pagefile.sys

"System Volume Information"

RECYCLER

Windows\CSC

[CompressionExclusionList]

*.mp3

*.zip

*.cab

\WINDOWS\inf\*.pnf
7. จากนั้นสร้าง Boot Loader ด้วยคาสัง่

copy c:\winpe_x86\winpe.wim c:\winpe_x86\ISO\sources\boot.wim /y

8. สร้างไฟล์ ISO ด้วยคาสั่ง

oscdimg -n -bc:\winpe_x86\etfsboot.com c:\winpe_x86\ISO


c:\winpe_x86\winpe_x86.iso

เท่านี้เราจะได้ไฟล์ iso ของ windows 7 PE แล้วครับ

You might also like