close

http://www.upan.cc/boot/dos/2013/youpan_2792.html

NET Framework的創建。的PowerShell環境的WinPE的引導ISO

核心提示:
一步一步教你創建x64WinPE啟動鏡像,它支持Scripting,WMI,HTA,ADO,.NETFramework4.0,PowerShell和DISMcmdlets。創建 x64 winpe.wim 啟動鏡像

1.下載 AssessmentandDeploymentKit(ADK)
2.安裝ADK,運行adksetup.exe,選擇選項

 

3.創建文件夾C:\WinPE_x64


4. 從C:\Program Files (x86)\Windows Kits\8.0\Assessment and Deployment Kit \Windows Preinstallation Environment\amd64 複製winpe.wim 文件到

C:\WinPE_x64

5.創建文件夾C:\Mount

6.打開Deployment Tools and Imaging Environment, 使用下列命令加載pe引導鏡像
          Imagex /mountrw C:\WinPE_x64\winpe.wim 1 C:\Mount


7.使用下列命令向pe鏡像中添加可選的組件

cd /d "C:\Program Files (x86)\Windows Kits\8.0\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs"

       dism /image:C:\Mount /add-package /packagepath:"WinPE-Scripting.cab"

      dism /image:C:\Mount /add-package /packagepath:"zh-cn\WinPE-Scripting_zh-cn.cab"

      dism /image:C:\Mount /add-package /packagepath:"WinPE-WMI.cab"

      dism /image:C:\Mount /add-package /packagepath:"zh-cn\WinPE-WMI_zh-cn.cab"


      dism /image:C:\Mount /add-package /packagepath:"WinPE-MDAC.cab"

     dism /image:C:\Mount /add-package /packagepath:"zh-cn\WinPE-MDAC_zh-cn.cab"

     dism /image:C:\Mount /add-package /packagepath:"WinPE-HTA.cab"

     dism /image:C:\Mount /add-package /packagepath:"zh-cn\WinPE-HTA_zh-cn.cab"

 
     dism /image:C:\Mount /add-package /packagepath:"WinPE-NetFx4.cab"

     dism /image:C:\Mount /add-package /packagepath:"zh-cn\WinPE-NetFx4_zh-cn.cab"


     dism /image:C:\Mount /add-package /packagepath:"WinPE-PowerShell3.cab"

     dism /image:C:\Mount /add-package /packagepath:"zh-cn\WinPE-PowerShell3_zh-cn.cab"

 
     dism /image:C:\Mount /add-package /packagepath:"WinPE-DismCmdlets.cab"

     dism /image:C:\Mount /add-package /packagepath:"zh-cn\WinPE-DismCmdlets_zh-cn.cab"

 

8.確認更改,卸載鏡像
         Imagex /unmount /commit C:\Mount
9.完成,你可以把鏡像添加到WDS (PXE) 服務器.

 

 

arrow
arrow
    文章標籤
    powershell windows winpe
    全站熱搜
    創作者介紹
    創作者 m1016c 的頭像
    m1016c

    Martin Chang的部落格

    m1016c 發表在 痞客邦 留言(0) 人氣()