การทำแผ่น XP การลง XP และการโคลน XP ไปเครื่องอื่น

Post Reply
tong
Site Admin
Posts: 2387
Joined: Fri 01 May 2009 8:55 pm

การทำแผ่น XP การลง XP และการโคลน XP ไปเครื่องอื่น

Post by tong »

การทำแผ่นรวมมิตร XP

จะต้องทำตามลำดับ

1. nLite (http://nliteos.com/download.html) ใช้สำหรับปรับแต่ง XP จากแผ่นต้นฉบับ สามารถใส่ add-on ได้ด้วย แต่ห้ามใส่ hotfix เองเพราะมันใช้ไม่ได้จริง มีความซับซ้อน ให้ใช้ add-on post-sp3 ที่ทำสำเร็จแล้วเท่านั้น 2. RyanVM (http://www.ryanvm.net/msfn/) ใช้สำหรับใส่ add-on

3. DriverPacks (http://driverpacks.net/downloads) ใช้รวม driver เข้าไปในแผ่น สามารถเลือกได้ว่าจะให้ติดตั้ง driver ทุกชนิดลง HDD หรือไม่ เหมาะสำหรับคนที่จะโคลน HDD เก็บไว้ใช้งาน universal restore

References:
http://www.wincert.net/forum/index.php? ... vm-addons/
http://www.ryanvm.net/forum/viewforum.php?f=25

เทคนิค

1. ใน nLite ถ้าตัด Active Directory Services และ MDAC ออกไปจะลดขนาดได้มากทีเดียว

2. เมื่อทำ nLite ถึงขั้นตอนที่สร้าง ISO แล้ว ให้หยุดไว้ก่อนและอย่าปิดโปรแกรม

3. จากนั้นจึงทำ RyanVM และ DriverPacks ตามลำดับ

4. แก้ไข WINNT.SIF ให้ใช้คีย์บอร์ดอังกฤษและไทยได้

5. กลับมาที่ nLite แล้วคลิกสร้าง ISO

6. ถ้าโหลด nLite preset อีกครั้งในขณะที่ Windows Installation Source Folder ยังเป็นของเก่า ต้องระวังอย่าไป save preset เพราะจะทำให้ค่า config ตรงส่วน Components ถูกลบหายไป
tong
Site Admin
Posts: 2387
Joined: Fri 01 May 2009 8:55 pm

Re: การทำแผ่น XP การลง XP และการโคลน XP ไปเครื่องอื่น

Post by tong »

การใช้ nLite ทำคีย์บอร์ดภาษาไทย (Thai Keyboard)

จะต้องแก้ไขไฟล์ WINNT.SIF ดังนี้

Code: Select all

[RegionalSettings]
LanguageGroup=1,11
Language="0409"
UserLocale="0409" 
UserLocale_DefaultUser="0409"
SystemLocale="041e"
InputLocale="0409:00000409,041e:0000041e"
InputLocale_DefaultUser="0409:00000409,041e:0000041e"

; UserLocale specifies the per-user settings used for formatting dates, times, currency, and numbers in a Windows installation.
; SystemLocale specifies the default language to use for non-Unicode programs.
; InputLocale specifies the input language and the method for input devices, such as the keyboard layout.
snap2399.jpg
tong
Site Admin
Posts: 2387
Joined: Fri 01 May 2009 8:55 pm

Re: การทำแผ่น XP การลง XP และการโคลน XP ไปเครื่องอื่น

Post by tong »

How to copy DriverPacks to an already installed Windows

This method is the same as Stand Alone Driver (S.A.D. / SAD) + Method 1 (M1) + Keep The Driver (K.T.D. / KTD).

1. Extract the DriverPacks to your PC, for example to %SystemRoot%\DriverPacks

2. This step can omit. It will popup about unsigned drivers too many.

Code: Select all

makePNF.exe %SystemRoot%\DriverPacks
3. Update DevicePath in registry. The DevicePath store at HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion

Code: Select all

DevPath.exe %SystemRoot%\DriverPacks


How to reset DevicePath back to %SystemRoot%\Inf

Run the following command:

Code: Select all

DevPath.exe %SystemRoot%\Inf
tong
Site Admin
Posts: 2387
Joined: Fri 01 May 2009 8:55 pm

Re: การทำแผ่น XP การลง XP และการโคลน XP ไปเครื่องอื่น

Post by tong »

ข้อควรทราบ

ถ้าใช้ nLite และตามด้วย DriverPacks จะไม่สามารถ Prompt repair ได้ถึงแม้เลือกดังภาพแล้วก็ตาม
repair.png เป็นเพราะ DriverPacks ดันไปใส่ข้อมูลเพิ่มใน WINNT.SIF เราจะต้องใส่ comment ไว้ทั้งหมดดังภาพ
snap2417.jpg เพียงเท่านี้เราก็จะสามารถใช้แผ่นสำหรับ repair XP ได้แล้ว
snap2415.jpg snap2416.jpg ในขั้นตอนแรกให้กด Enter อย่าไปกด R
ในขั้นตอนที่สองจึงค่อยเลือกกด R
Post Reply