WinPE制作
来源:Install Windows PE to a USB drive
1.安装Windows ADK中的 Windows PE :包括用于安装 Windows PE 的文件;部署工具:包括“部署和映像工具环境”。
2.以管理员身份启动“部署和映像工具环境”,copype amd64 C:\WinPE_amd64,将PE复制到C:\WinPE_amd64
3.装载Win PE映像
Dism /Mount-Image /ImageFile:"C:\WinPE_amd64\media\sources\boot.wim" /index:1 /MountDir:"C:\WinPE_amd64\mount"
4.自定义 Windows PE
cd /d "c:\Program Files (x86)\Windows Kits\8.0\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\" dism /image:C:\WinPE_amd64\mount /add-package /packagepath:"WinPE-Scripting.cab" dism /image:C:\WinPE_amd64\mount /add-package /packagepath:"zh-cn\WinPE-Scripting_zh-cn.cab" dism /image:C:\WinPE_amd64\mount /add-package /packagepath:"WinPE-WMI.cab" dism /image:C:\WinPE_amd64\mount /add-package /packagepath:"zh-cn\WinPE-WMI_zh-cn.cab" dism /image:C:\WinPE_amd64\mount /add-package /packagepath:"WinPE-MDAC.cab" dism /image:C:\WinPE_amd64\mount /add-package /packagepath:"zh-cn\WinPE-MDAC_zh-cn.cab" dism /image:C:\WinPE_amd64\mount /add-package /packagepath:"WinPE-HTA.cab" dism /image:C:\WinPE_amd64\mount /add-package /packagepath:"zh-cn\WinPE-HTA_zh-cn.cab" dism /image:C:\WinPE_amd64\mount /add-package /packagepath:"WinPE-NetFx4.cab" dism /image:C:\WinPE_amd64\mount /add-package /packagepath:"zh-cn\WinPE-NetFx4_zh-cn.cab" dism /image:C:\WinPE_amd64\mount /add-package /packagepath:"WinPE-PowerShell3.cab" dism /image:C:\WinPE_amd64\mount /add-package /packagepath:"zh-cn\WinPE-PowerShell3_zh-cn.cab" dism /image:C:\WinPE_amd64\mount /add-package /packagepath:"WinPE-DismCmdlets.cab" dism /image:C:\WinPE_amd64\mount /add-package /packagepath:"zh-cn\WinPE-DismCmdlets_zh-cn.cab" 添加语言支持: dism /image:C:\WinPE_amd64\mount /add-package /packagepath:"zh-cn\lp.cab" Dism /image:C:\WinPE_amd64\mount /set-allintl:zh-cn dism /image:C:\WinPE_amd64\mount /add-package /packagepath:"WinPE-FontSupport-ZH-CN.cab"
桌面图片在C:\WinPE_amd64\mount\windows\system32\winpe.jpg,可以替换,不过要修改它的所有者为管理员、再将管理员的权限设为完全控制。
5.卸载Win PE映像
dism /unmount-image /mountdir:c:\WinPE_amd64\mount /commit(此处路径,Technet上为C:\WimPE_amd64,应该是它出错)
6.Install Windows PE
(部署)MakeWinPEMedia /ISO C:\WinPE_amd64 C:\WinPE_amd64\WinPE_amd64.iso
(部署)MakeWinPEMedia /UFD C:\WinPE_amd64 F: