【问题标题】:Windows 10 Fall Patch_SYSPrep Fails_Miracastview issueWindows 10 秋季补丁 SYSPrep 失败 Miracastview 问题
【发布时间】:2018-01-17 16:50:44
【问题描述】:

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

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

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

【问题讨论】:

    标签: xml windows windows-10 sysprep


    【解决方案1】:

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

    【讨论】:

      【解决方案2】:

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

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

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

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

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

      【讨论】:

      • 从 generalize.xml 中删除以下内容 -
      • 转到 C:\Windows\System32\sysprep\actionfiles 位置并获取 generalize.xml 文件的所有权。然后授予您的帐户修改权限。
      • 是的,但我如何获得所有权并赋予我的帐户修改权限?
      • 非常感谢@JediAdministrator,这是许多真正有效的解决方案。
      猜你喜欢
      • 1970-01-01
      • 2019-02-24
      • 2022-11-10
      • 2015-12-23
      • 2015-09-15
      • 2017-11-19
      • 2011-12-29
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多