Windows 10 Fall Patch_SYSPrep Fails_Miracastview问题

时间:2018-01-17 16:50:44

标签: xml windows windows-10 sysprep

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

我在下面的链接中执行了以下步骤,但它不起作用:

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

将miracastview文件夹还原到C:\ Windows位置,但无法解决问题。

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Appx\位置移除了miracastview信息,但未解决问题。

我运行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

2 个答案:

答案 0 :(得分:0)

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

答案 1 :(得分:0)

Here is a Microsoft post关于这个问题。它说

  

要解决此问题,请使用以下任一方法。

     

方法1 在Windows 10版本1709计算机上,复制Windows.MiracastView_6.3.0.0_neutral_neutral_cw5n1h2txyewy.xml   C:\ Windows.old \ ProgramData \ Microsoft \ Windows \ AppRepository \ to   C:\ ProgramData \微软\的Windows \ AppRepository

     

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

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