|
:: 系统环境windows 8 X64 enterprise
:: 安装Windows ADK 8
:: 自行准备total commander 8.01 X64(一定要是64位的!)
:: 本方法制作的windows 8 pe可以启动uefi和BIOS,在vmplayer中测试通过efi、bios启动;在thinkpad X200s、surface pro上实机启动成功
:: 本制作方法基本使用微软原版工具,除了添加了total commander外。
使用管理员权限运行"部署和映像工具环境",运行如下命令:
copype.cmd amd64 D:\MyPE
Dism /mount-image /imagefile:D:\MyPE\media\sources\boot.wim /index:1 /mountdir:D:\MyPE\mount
Dism /image:D:\MyPE\mount /add-package /packagepath:"C:\Program Files (x86)\Windows Kits\8.0\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\zh-cn\lp.cab"
Dism /image:D:\MyPE\mount /add-package /packagepath:"C:\Program Files (x86)\Windows Kits\8.0\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\WinPE-FontSupport-ZH-CN.cab"
Dism /image:d:\MyPE\mount /get-intl
Dism /image:d:\MyPE\mount /set-SKUIntlDefaults:zh-cn
Dism /image:d:\MyPE\mount /set-uilang:zh-cn
Dism /image:d:\MyPE\mount /set-syslocale:zh-cn
Dism /image:d:\MyPE\mount /set-userlocale:zh-cn
Dism /image:d:\MyPE\mount /set-inputlocale:0804:00000804
Dism /image:d:\MyPE\mount /set-timezone:"China Standard Time"
Dism /image:d:\MyPE\mount /gen-langini /distribution:D:\MyPE\media
Dism /image:d:\MyPE\mount /Set-SetupUILang:zh-cn /distribution:D:\MyPE\media
copy "C:\Program Files (x86)\Windows Kits\8.0\Assessment and Deployment Kit\Deployment Tools\amd64\DISM\imagex.exe" "D:\MyPE\mount\Windows\System32"
[如果不使用total commander,则该项不需要修改]将D:\MyPE\mount\Windows\System32\startnet.cmd内容更改为:
start /wait wpeinit.exe
[如果不使用total commander,则不需要winpeshl.ini]在D:\MyPE\mount\Windows\System32下建立winpeshl.ini文件notepad D:\MyPE\mount\Windows\System32\winpeshl.ini,内容如下:
[LaunchApps]
"cmd.exe /c startnet.cmd"
"%systemdrive%\Program Files\totalcmd8.01 X64\TOTALCMD64.exe"
将totalcmd80文件夹拷贝至"D:\MyPE\mount\Program Files"下
xcopy "D:\totalcmd8.01 X64" "D:\MyPE\mount\Program Files\totalcmd8.01 X64\" /E /Q /R /Y
Dism /unmount-image /mountdir:D:\MyPE\mount /commit
oscdimg -m -o -u2 -udfver102 -bootdata:2#p00,e,bD:\MyPE\fwfiles\etfsboot.com#pEF,e,bD:\MyPE\fwfiles\efisys.bin D:\MyPE\media "D:\win8pex64.iso" -lwin8pex64
启动surface pro:
1 用UltraISO制作win 8 pe X64(必须X64,上述win8pex64即可)启动U盘,格式为usb-hdd、USB-ZIP、USB-HDD+、USB-ZIP+
2 按音量-键
3 再按电源键
4 surface出现时松开电源键
5 大约5秒后松开音量-键,然后进入windows 8 pe X64 |
|