问题现象
- 您安装了Bootable Media Builder和用于创建WinPE媒体的相应Windows AIK/ADK;
- WinPE媒体创建失败,并出现以下错误:
中文日志: 用户试图挂载到非空目录,不支持此功能。 英文日志: The user attempted to mount to a directory that is not empty. This is not supported.
完整日志示例:
Code: 1.572.897(0x00180021)
LineInfo: 0xA0A7FA0A4449FBC7; File: e:\528\builder\lib\winpe_builder.cpp;
Function: WinPEBuilder::ProceedWithWIM; Line: 1.820;
Module: media_builder_vsa64_14330
Message: Failed to mount the source WIM image.
Code: 65.520(0x0000FFF0)
LineInfo: 0x4676E1DB2164CE5F; File: e:\528\builder\lib\wim_api.cpp;
Function: WIMGAPIMounter::MountWIMImage; Line: 157;
Module: media_builder_vsa64_14330
Fields: code: 0xc1420114
Message: The user attempted to mount to a directory that is not empty. This is not supported.
问题原因
用于存储临时安装的.wim映像的文件夹C:\Users\%username%\AppData\Local\Temp~MntWIM不为空。
解决方法
删除或重命名C:\Users\%username%\AppData\Local\Temp~MntWIM文件夹,然后重新尝试创建WinPE媒体。