工作沾边,准备按照微软官方教程制作一个WinPE启动盘。官方教程链接如下:

WinPE: Create bootable media | Microsoft Docs

但是官方教程有坑。

1. 下载ADK

Download and install the Windows ADK | Microsoft Docs

我是Win10系统,需要下载两部分内容,ADK和WinPE add-on,如下图:

WinPE启动盘制作教程_电脑百科

下载之后的两个文件:

WinPE启动盘制作教程_tips_02

点击安装:

WinPE启动盘制作教程_tips_03

 

2. 执行ADK命令

WinPE启动盘制作教程_tips_04

CopyDandI amd64 C:\WinPE_amd64

WinPE启动盘制作教程_电脑百科_05

MakeWinPEMedia /UFD C:\WinPE_amd64 F:

WinPE启动盘制作教程_电脑百科_06

3. U盘启动

电脑开机,按相应的快捷键执行U盘启动。

WinPE启动盘制作教程_tips_07

 

纯净的微软官方WinPE制作成功。

 

******************************************************

中途遇到的问题:

问题1:指令不识别

'copype' is not recognized as an internal or external command,
operable program or batch file.

'MakeWinPEMedia' is not recognized as an internal or external command,
operable program or batch file.

解决办法:按照正确流程安装合适的ADK。

 

问题2:无法格式化U盘

D:\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment>MakeWinPEMedia.cmd /UFD C:\WinPE_amd64 F:
WARNING, ALL DATA ON DISK DRIVE F: WILL BE LOST!
Proceed with Format [Y,N]?Y
Formatting F:...

ERROR: Failed to format "F:"; DiskPart errorlevel -2147212243.

解决办法:FAT32格式的限制。把U盘中的分区大小控制在30G以下。