我知道这是一个已知错误,下面是我得到的,我所做的是:
我执行了以下链接中的步骤,但没有成功:
将 miracastview 文件夹恢复到 C:\Windows 位置,但这并没有解决问题。
从该位置删除了 miracastview 信息HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Appx\
,但这并没有解决问题。
我运行了 DISM 命令来清理映像,但这并没有解决问题。
一种选择是修改 generalize.xml 文件,如果我这样做,如何从 generalize.xml 文件中正确删除以下段?
-<imaging exclude="">
<assemblyIdentity versionScope="NonSxS" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" version="10.0.16299.15" name="Microsoft-Windows-AppX-Sysprep"/>
<sysprepOrder order="0x1A00"/>
<sysprepValidate moduleName="$(runtime.system32)\AppxSysprep.dll" methodName="SysprepGeneralizeValidate"/>
<sysprepModule moduleName="$(runtime.system32)\AppxSysprep.dll" methodName="SysprepGeneralize"/>
</imaging>
PackageFullName : Windows.MiracastView_6.3.0.0_neutral_neutral_cw5n1h2txyewy
PackageUserInformation : {S-1-5-21-3429325520-2175502158-1847730730-1001
[S-1-5-21-3429325520-2175502158-1847730730-1001]: Installed}
Package Windows.MiracastView_6.3.0.0_neutral_neutral_cw5n1h2txyewy was installed for a user, but not provisioned for all users. This package will not function properly in the sysprep image.
2018-01-17 07:54:11, Error SYSPRP Failed to remove apps for the current user: 0x80073cf2.
2018-01-17 07:54:11, Error SYSPRP Exit code of RemoveAllApps thread was 0x3cf2.
2018-01-17 07:54:11, Error SYSPRP ActionPlatform::LaunchModule: Failure occurred while executing 'SysprepGeneralizeValidate' from C:\Windows\System32\AppxSysprep.dll; dwRet = 0x3cf2
2018-01-17 07:54:11, Error SYSPRP SysprepSession::Validate: Error in validating actions from C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml; dwRet = 0x3cf2
2018-01-17 07:54:11, Error SYSPRP RunPlatformActions:Failed while validating Sysprep session actions; dwRet = 0x3cf2
2018-01-17 07:54:11, Error [0x0f0070] SYSPRP RunExternalDlls:An error occurred while running registry sysprep DLLs, halting sysprep execution. dwRet = 0x3cf2
2018-01-17 07:54:11, Error [0x0f00d8] SYSPRP WinMain:Hit failure while pre-validate sysprep generalize internal providers; hr = 0x80073cf2
SYSPRP Package Windows.MiracastView_6.3.0.0_neutral_neutral_cw5n1h2txyewy was installed for a user, but not provisioned for all users. This package will not function properly in the sysprep image.
2018-01-17 08:23:42, Error SYSPRP Failed to remove apps for the current user: 0x80073cf2.
2018-01-17 08:23:42, Error SYSPRP Exit code of RemoveAllApps thread was 0x3cf2.
2018-01-17 08:23:42, Error SYSPRP ActionPlatform::LaunchModule: Failure occurred while executing 'SysprepGeneralizeValidate' from C:\Windows\System32\AppxSysprep.dll; dwRet = 0x3cf2
2018-01-17 08:23:42, Error SYSPRP SysprepSession::Validate: Error in validating actions from C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml; dwRet = 0x3cf2
2018-01-17 08:23:42, Error SYSPRP RunPlatformActions:Failed while validating Sysprep session actions; dwRet = 0x3cf2
2018-01-17 08:23:42, Error [0x0f0070] SYSPRP RunExternalDlls:An error occurred while running registry sysprep DLLs, halting sysprep execution. dwRet = 0x3cf2
2018-01-17 08:23:42, Error [0x0f00d8] SYSPRP WinMain:Hit failure while pre-validate sysprep generalize internal providers; hr = 0x80073cf2