1.創建vhd
create vdisk file=c:\mype.vhd type=expandable maximum=10240attach vdiskcreate partition primary align=1024format fs=ntfs quickactiveassign letter=v
2.釋放映像
DISM.exe /Apply-Image /ImageFile:c:\boot.wim /Index:1 /ApplyDir:v:\
3.啟動引導,{...}數據由bcdedit /copy獲得
bcdeditbcdedit /copy {current} /d "mype"bcdedit /set {d815d98c-4fb2-11ed-8b7b-f0def10fb97c} device vhd=[c:]\mype.vhdbcdedit /set {d815d98c-4fb2-11ed-8b7b-f0def10fb97c} osdevice vhd=[c:]\mype.vhdbcdedit /set {d815d98c-4fb2-11ed-8b7b-f0def10fb97c} winpe yes
reboot
PS.不是所有pe都行,或因缺檔關係,有些進不了系統,要多嘗試
感谢分享