bcdedit 启动 win10pe
bcdedit /create {ramdiskoptions} /d "win 10 pe"
bcdedit /set {radiopticons} ramdisksdidevice partition=D:
bcdedit /set {ramdiskoptions} ramdisksdipath \win10\Boot\boot.sdi
Bcdedit /create /d "Boot from Wim" /application osloader
运行完上面会生成guid,替换下面的guid
bcdedit /set {acd191c6-69d3-11ed-80cd-c9ce13ba6396} device ramdisk=[D:]\win10\Sources\boot.wim,{ramdiskoptions}
bcdedit /set {acd191c6-69d3-11ed-80cd-c9ce13ba6396} osdevice ramdisk=[D:]\win10\Sources\boot.wim,{ramdiskoptions}
bcdedit /set {acd191c6-69d3-11ed-80cd-c9ce13ba6396} path \windows\system32\boot\winload.exe
bcdedit /set {acd191c6-69d3-11ed-80cd-c9ce13ba6396} systemroot \windows
bcdedit /set {acd191c6-69d3-11ed-80cd-c9ce13ba6396} winpe yes
bcdedit /set {acd191c6-69d3-11ed-80cd-c9ce13ba6396} detecthal yes
bcdedit /displayorder {acd191c6-69d3-11ed-80cd-c9ce13ba6396} /addlast
评论已关闭