How to Customize Windows Images Using Sysprep

BEFORE OOBE

# 套裝機有些新來的預設會是RAID mode,winPE會無法正常載入
Enter the BIOS and set the disk mode to AHCI (instead of RAID).

RESTORE IMAGE ON DEVICE

1. windowsPE > archonis > restore the tib file

or 

2. usb install the new windows

OOBE

enter windows using audit mode
> ctrl + shift + f3(use administrator account)

BEFORE SYSPREP

1. windows update 

# 因為generalize會刪除SID跟重設系統部分資訊,所以只能安裝給全user用的軟體
2. install software for all users(not only for current user)

(if not using admin account)
3. windows + R > sysprep > click the sysprep.exe > oobe and generalize

4. delete user data 

SYSPREP

1. cd C:\Windows\System32\Sysprep

2. sysprep /generalize /oobe /shutdown /unattend:"C:\CSI\System_Prepare\unattend1809.xml"

BACKUP

Boot the system into WinPE, launch Acronis, and back up the disk partition state into a .tib (or .tibx) image file.

This image can later be used to restore the same state on another computer.