1. 获取主板密钥
在powershell中执行:
(Get-WmiObject -query 'select * from softwareLicensingService').OA3xOriginalProductKey
2. 获取 wim/esd 映像信息
dism /get-imageinfo /imagefile:i:win8.1sourcesinstall.wim
dism /get-wiminfo /wimfile:F:win10homeinstall.esd
pause
3.1 wim 部署方式
dism /apply-image /imagefile:i:win8.1sourcesinstall.wim /applydir:g: /index:1
bcdboot k:windows /l zh-cn
pause
3.2 esd 部署方式
cd /d D:downloads(esd所在路径)
dism /apply-image /imagefile:(esd文件名) /index:4 /applydir:G:
bcdboot G:Windows /l zh-cn
pause