ImageXã«ããOSã¤ã¡ã¼ã¸ã®ä½æã¨å±é
åæ¸
ã»ä½æ¥PCã«ã¯Windows AIKãã¤ã³ã¹ãã¼ã«ãã¦ããã
ã»[ PETools> ]ã¨è¡¨è¨ããã¦ããå ´åã¯ã[Windows PE Tools ã³ãã³ã ããã³ãã]ã®ããã³ãããæãã
ã»[ X:\> ]ã¨è¡¨è¨ããã¦ããå ´åã¯ãWindows PEã®ããã³ãããæãã
æé
1.[Windows PE Tools ã³ãã³ã ããã³ãã]ã®å®è¡
[ã¹ã¿ã¼ã]â[ãã¹ã¦ã®ããã°ã©ã ]â[Microsoft Windows AIK]â[Windows PE Tools ã³ãã³ã ããã³ãã]
2.ã¢ã¼ããã¯ãã£ã®æå®
PETools>copype.cmd x86 C:\winpe_x86
3.ã¤ã¡ã¼ã¸ã®å±é
PETools>imagex /apply C:\winpe_x86\winpe.wim 1 C:\winpe_x86\mount
4.å¿
è¦ãªãã¼ã«ãªã©ã®ã³ãã¼
4-1.Imagex
a)Imagex.exeã®ã³ãã¼
PETools>copy "C:\Program Files\Windows AIK\Tools\x86\imagex.exe" "C:\winpe_x86\mount\Windows\System32"
â»Windows AIKã®ã¤ã³ã¹ãã¼ã«ãã©ã«ãããimagex.exeãã³ãã¼ããã
b)wimscript.iniã®ç·¨é
â»Imagexã§ã®ä¾å¤è¨å®
ã¡ã¢å¸³ãªã©ãéãã以ä¸ãè²¼ãä»ããã
[ExclusionList]
ntfs.log
hiberfil.sys
pagefile.sys
"System Volume Information"
RECYCLER
Windows\CSC
[CompressionExclusionList]
*.mp3
*.zip
*.cab
*.lzh
\WINDOWS\inf\*.pnf
ãã¡ã¤ã«åwimscript.iniã§ãã¹C:\winpe_x86\mount\Windows\System32ã«ä¿åããã
â»imagex.exeã¨åä¸ãã©ã«ãå
ã«ä¿åããã
4-2.ãããã¯ã¼ã¯ãã©ã¤ãã®å²ãå½ã¦
ç¹å®ã®ãµã¼ãã§ã¤ã¡ã¼ã¸ã®ä¿åãå±éããããªãã°ãæ¯åã³ãã³ããæããªãã¦ãããããã«ããã
a)mount.batã®ä½æ
net use I: \\192.168.0.1\image Password /user:Username
â ã³ãã³ã解説
net use [ãã¦ã³ãæå]: \\[ã³ã³ãã¥ã¼ã¿å/IPã¢ãã¬ã¹]\[å ±æå] [ãã¹ã¯ã¼ã] /user:[ã¦ã¼ã¶ã¼å]
太æåã®ç®æãå¤æ´å¯¾è±¡ã
ããããã¡ã¤ã«ã«ã¦ã¼ã¶ã¼åã¨ãã¹ã¯ã¼ããç´æ¥æ¸ããããªãå ´åã¯Password以éãåé¤ããããã®å ´åã¯ããããã¡ã¤ã«å®è¡å¾ã«ã¦ã¼ã¶ã¼åã¨ãã¹ã¯ã¼ãã®å ¥åãæ±ããããã
net use i: \\192.168.0.1\image
ãã¡ã¤ã«åmount.batã§ãã¹C:\winpe_x86\mount\Windows\System32ã«ä¿åããã
â»C:\winpe_x86\mounté
ä¸ãªãä»»æã®ãã¹ããã¡ã¤ã«åã§å¯ã
b)static.batã®ä½æ
DHCPã§ãªãåºå®IPã¢ãã¬ã¹ã使ç¨ããå ´åã¯
IPアドレスの設定(Windows PE用)ãåç
§ãã¦ããããã¡ã¤ã«ãä½æããã
ãã¡ã¤ã«åstatic.batã§ãã¹C:\winpe_x86\mount\Windows\System32ã«ä¿åããã
â»C:\winpe_x86\mounté
ä¸ãªãä»»æã®ãã¹ããã¡ã¤ã«åã§å¯ã
4-3.ãã£ã¹ã¯ãã¼ãã£ã·ã§ã³
ãã£ã¹ã¯ãã¼ãã£ã·ã§ã³ãä½æããäºå®ãããå ´åã¯
ディスクパーティションの作成(Windows PE用)ãåç
§ãã¦ããããã¡ã¤ã«ãä½æããã
ãã¡ã¤ã«åpartition.batã§ãã¹C:\winpe_x86\mount\Windows\System32ã«ä¿åããã
toolãã©ã«ãï¼ä¸ä½ãã©ã«ãã»ãã¡ã¤ã«å«ãï¼ãC:\winpe_x86\mountã«ä¿åããã
â»C:\winpe_x86\mounté
ä¸ãªãä»»æã®ãã¹ããã¡ã¤ã«åã§å¯ã
5.ã¤ã¡ã¼ã¸ã®ä½ææºå
PETools>peimg /prep C:\winpe_x86\mount\windows
[ç¶è¡ãã¾ããï¼]ã¨è¡¨ç¤ºãããã®ã§[ yes ]ãå
¥åããã
6.ãã¼ã¿ãã«CDç¨ã®boot.wimã®ä½æ
PETools>imagex /capture C:\winpe_x86\mount C:\winpe_x86\ISO\sources\boot.wim "ImageFile" /boot /compress max
7.ISOã¤ã¡ã¼ã¸ã®ä½æ
PETools>oscdimg -n -bC:\winpe_x86\etfsboot.com C:\winpe_x86\ISO C:\winpe_x86\ImageFile.iso
8.ãã¼ã¿ãã«CDã®ä½æ[WinPE CD]
CDのライティングソフトã使ç¨ãã¦ISOã¤ã¡ã¼ã¸ï¼ImageFile.isoï¼ãç¼ãã
9.ãã£ã¹ã¯ã¤ã¡ã¼ã¸ã®ä½æ
9-1.CDãã¼ã
ã¤ã¡ã¼ã¸ãåå¾ãã対象ã®PCï¼sysprepæ¸ã¿ï¼ã«[WinPE CD]ãå
¥ãã¦CDãã¼ããããã
9-2.ãããã¯ã¼ã¯ãã©ã¤ãã®å²ãå½ã¦
X:\>mount.bat
â»mount.batã使ç¨ãã¦å
±æãã©ã«ãã«æ¥ç¶ãããããã§ã¯I:\imageã¨ããã
9-3.ã¤ã¡ã¼ã¸ã®åå¾
X:\>imagex /capture C:\ I:\image\image.wim "Win" /check /verify
9-4.ã·ã£ãããã¦ã³
X:\>wpeutil shutdown
10.ãã£ã¹ã¯ã¤ã¡ã¼ã¸ã®å±é
10-1.CDãã¼ã
ã¤ã¡ã¼ã¸ãå±éãã対象ã®PCã«[WinPE CD]ãå
¥ãã¦CDãã¼ããããã
10-2.ãããã¯ã¼ã¯ãã©ã¤ãã®å²ãå½ã¦
X:\>mount.bat
â»mount.batã使ç¨ãã¦å
±æãã©ã«ãã«æ¥ç¶ãããããã§ã¯I:\imageã¨ããã
10-3.ã¤ã¡ã¼ã¸ã®å±é
X:\>imagex /apply I:\image\image.wim 1 C:\ /verify
â»å±éãã対象ã®PCã«Cãã©ã¤ããåå¨ãããã®ã¨ããã
â»Cãã©ã¤ãããªãå ´åããµã¤ãºå¤æ´ãããå ´åã¯diskpartã³ãã³ãã¾ãã¯partition.batã使ç¨ããã
10-4.åèµ·å
X:\>wpeutil reboot
11.OSã®èµ·å確èª
ã¤ã¡ã¼ã¸ãå±éããPCã®OSã®èµ·åã確èªããã