1.根据报错提供的路径,找到最硬的日志文件
2.查看文件报错,里面ERROR信息有相关打印:
SYSPRP Package Microsoft.LanguageExperiencePackzh-CN_17763.9.27.0_neutral__8wekyb3d8bbwe was installed for a user, but not provisioned for all users. This package will not function properly in the sysprep image.
2019-04-14 12:21:10, Error SYSPRP Failed to remove apps for the current user: 0x80073cf2.
2019-04-14 12:21:10, Error SYSPRP Exit code of RemoveAllApps thread was 0x3cf2.
3.VNC登录虚拟机,通过get-appxpackage |findstr Experience,找到这个软件包的路径和对应的名称
4.尝试卸载这个软件包,get-appxpackage *Microsoft.LanguageExperiencePackzh-CN*|remove-appxpackage,可以删除这个app软件包
5.之后重新尝试封装,进入sysperp清理流程,之后封装成功