How to create WinPE 5.1

WinPE說明


Windows Preinstallation Environment ( Windows PE / WinPE ) 會因為不同的作業系統,並對應到不同的Win PE版本,製作WinPE在Windows 7之前的作業系統,都是使用Windows Automated Installation Kit ( WAIK / AIK ),在Windows 8之後改名稱Windows Assessment and Deployment Kit ( WADK / ADK )。

目前最新版本是WinPE 5.1搭配的是Windows 8.1 with Update作業系統,目前最新下載的WADK只有包含WinPE 5.0,所以必須透過手動更新WinPE的方式,讓WinPE從5.0升級到5.1,後續下一版作業系統Windows 10發表後,也會釋出新一版的WinPE 6.0,就不用這麼麻煩跑以下步驟。


下載最新版Windows ADK


Windows Assessment and Deployment Kit (Windows ADK) for Windows 8.1 Update

 

下載KB2919355和KB2919442



  • 64-bit versions: KB2919355 and KB2919442.

  • 32-bit versions: KB2919355 and KB2919442.

  • KB2919355包含6個更新KB2919355, KB2932046, KB2934018, KB2937592, KB2938439, and KB2959977,必須全部下載。


 

操作步驟


1. 以系統管理員身分執行Deployment and Imaging Tools Environment

2. 輸入指令將64位元的WinPE複製到C:\WinPE_amd64資料夾
copype amd64 C:\WinPE_amd64

3. 掛載WinPE
Dism /Mount-Image /ImageFile:"C:\WinPE_amd64\media\sources\boot.wim" /index:1 /MountDir:"C:\WinPE_amd64\mount"

4. 安裝KB2919355和KB2919442的七個更新
Dism /Add-Package /PackagePath:C:\MSU\Windows8.1-KB2919442-x64.msu /Image:C:\WinPE_amd64\mount /LogPath:AddPackage.log
Dism /Add-Package /PackagePath:C:\MSU\Windows8.1-KB2919355-x64.msu /Image:C:\WinPE_amd64\mount /LogPath:AddPackage.log
Dism /Add-Package /PackagePath:C:\MSU\Windows8.1-KB2932046-x64.msu /Image:C:\WinPE_amd64\mount /LogPath:AddPackage.log
Dism /Add-Package /PackagePath:C:\MSU\Windows8.1-KB2934018-x64.msu /Image:C:\WinPE_amd64\mount /LogPath:AddPackage.log
Dism /Add-Package /PackagePath:C:\MSU\Windows8.1-KB2937592-x64.msu /Image:C:\WinPE_amd64\mount /LogPath:AddPackage.log
Dism /Add-Package /PackagePath:C:\MSU\Windows8.1-KB2938439-x64.msu /Image:C:\WinPE_amd64\mount /LogPath:AddPackage.log
Dism /Add-Package /PackagePath:C:\MSU\Windows8.1-KB2959977-x64.msu /Image:C:\WinPE_amd64\mount /LogPath:AddPackage.log

5. 優化映像檔
Dism /image:c:\WinPE_amd64\mount /Cleanup-Image /StartComponentCleanup /ResetBase

6. 卸載WinPE
Dism /Unmount-Image /MountDir:"C:\WinPE_amd64\mount" /commit

7.製作成ISO檔案
MakeWinPEMedia /ISO C:\WinPE_amd64 C:\WinPE_amd64\WinPE_amd64.iso

 

參考資料:

What's New in Windows PE

留言

這個網誌中的熱門文章

Create WIMBoot Images

Android 5.1 無痛升級和Root教學