-2

我知道这是一个已知错误,下面是我得到的,我所做的是:

我执行了以下链接中的步骤,但没有成功:

https://support.microsoft.com/en-us/help/4057974/miracastview-cause-sysprep-error-windows-10-version-1709

将 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
4

2 回答 2

1

我去了 sysprep 文件夹并获得了 generalize.xml 文件的所有权。然后我给了自己修改权限,并从文件中编辑了 appx 信息,现在 sysprep 正在运行。

于 2018-01-17T17:46:40.743 回答
0

这是有关此问题的 Microsoft 帖子。它说

要变通解决此问题,请使用下列方法之一。

方法一在Windows 10 Version 1709电脑上,将C:\Windows.old\ProgramData\Microsoft\Windows\AppRepository\中的Windows.MiracastView_6.3.0.0_neutral_neutral_cw5n1h2txyewy.xml复制到C:\ProgramData\Microsoft\Windows\AppRepository。

方法 2将 C:\Windows\MiracastView 文件夹从 Windows 10 版本 1703 计算机复制到 Windows 10 版本 1709 计算机。然后,重新启动计算机,让 Windows 完成卸载 MiracastView。

这些都不适合我。我想试试你的解决方案。你认为它会在 Windows 10 家庭版上运行吗?如果是这样,我需要采取哪些步骤来修改 generalize.xml 文件?我没有它的权限,也不知道如何获得它。

于 2018-01-18T17:11:42.130 回答