尝试 sysprep 和 windows 10 (1709) 构建时,我收到以下错误:
Package Windows.MiracastView_6.3.0.0_neutral_cw5n1h2txyewy was installed for a
user but not provisioned for all users. This package will not function
properly in the sysprep image.
我尝试使用 powershell 将其删除,但错误消息显示它是 Windows 的一部分,无法删除。
我检查了用户帐户,我只有一个用户帐户(其他帐户是内置的 windows 帐户)。
如何让 sysprep 工作?
经过进一步调查,我发现 miracast 视图是唯一一个 Get-AppxPackage -allusers 处于待处理状态的应用程序:
名称:Windows.MiracastView
出版商 : CN=Microsoft Windows, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
架构:中性
资源 ID:中性
版本:6.3.0.0
包全名:Windows.MiracastView_6.3.0.0_neutral_neutral_cw5n1h2txyewy
安装位置:
是框架:假
PackageFamilyName:Windows.MiracastView_cw5n1h2txyewy
PublisherId : cw5n1h2txyewy
PackageUserInformation:{S-1-5-21-4120236872-3763413694-1479318824-1000 [操作员]:已安装(待删除) }
IsResourcePackage : 假
IsBundle:错误
IsDevelopmentMode:假
IsPartiallyStaged : 假
签名种类:系统
状态:好的