Pro*_*oxy 7 sysprep windows-10
所以我似乎遇到了 Windows 10 和 Windows Store 应用程序(我假设)干扰 Sysprep /oobe /generalize 的问题。
当我尝试运行上述命令时,我在setuperr.log 中收到以下错误:
Error SYSPRP Package Microsoft.NET.Native.Runtime.1.0_1.0.22929.0_x86__8wekyb3d8bbwe was installed for a user, but not provisioned for all users. This package will not function properly in the sysprep image.
Error SYSPRP Failed to remove apps for the current user: 0x80073cf2.
Error SYSPRP Exit code of RemoveAllApps thread was 0x3cf2.
Error [0x0f0082] SYSPRP ActionPlatform::LaunchModule: Failure occurred while executing 'SysprepGeneralizeValidate' from C:\Windows\System32\AppxSysprep.dll; dwRet = 0x3cf2
Error SYSPRP SysprepSession::Validate: Error in validating actions from C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml; dwRet = 0x3cf2
Error SYSPRP RunPlatformActions:Failed while validating SysprepSession actions; dwRet = 0x3cf2
Error [0x0f0070] SYSPRP RunExternalDlls:An error occurred while running registry sysprep DLLs, halting sysprep execution. dwRet = 0x3cf2
Error [0x0f00d8] SYSPRP WinMain:Hit failure while pre-validate sysprep generalize internal providers; hr = 0x80073cf2
Error SYSPRP Package Microsoft.NET.Native.Runtime.1.0_1.0.22929.0_x86__8wekyb3d8bbwe was installed for a user, but not provisioned for all users. This package will not function properly in the sysprep image.
Error SYSPRP Failed to remove apps for the current user: 0x80073cf2.
Error SYSPRP Exit code of RemoveAllApps thread was 0x3cf2.
Error [0x0f0082] SYSPRP ActionPlatform::LaunchModule: Failure occurred while executing 'SysprepGeneralizeValidate' from C:\Windows\System32\AppxSysprep.dll; dwRet = 0x3cf2
Error SYSPRP SysprepSession::Validate: Error in validating actions from C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml; dwRet = 0x3cf2
Error SYSPRP RunPlatformActions:Failed while validating SysprepSession actions; dwRet = 0x3cf2
Error [0x0f0070] SYSPRP RunExternalDlls:An error occurred while running registry sysprep DLLs, halting sysprep execution. dwRet = 0x3cf2
Error [0x0f00d8] SYSPRP WinMain:Hit failure while pre-validate sysprep generalize internal providers; hr = 0x80073cf2
Run Code Online (Sandbox Code Playgroud)
我只在网上看过几篇文章,即:
我在安装系统时所做的唯一事情是:
我通过查看 Powershell 的 AppxPackage cmdlet 主动尝试快速解决此问题,但以下命令没有返回任何结果:
Error SYSPRP Package Microsoft.NET.Native.Runtime.1.0_1.0.22929.0_x86__8wekyb3d8bbwe was installed for a user, but not provisioned for all users. This package will not function properly in the sysprep image.
Error SYSPRP Failed to remove apps for the current user: 0x80073cf2.
Error SYSPRP Exit code of RemoveAllApps thread was 0x3cf2.
Error [0x0f0082] SYSPRP ActionPlatform::LaunchModule: Failure occurred while executing 'SysprepGeneralizeValidate' from C:\Windows\System32\AppxSysprep.dll; dwRet = 0x3cf2
Error SYSPRP SysprepSession::Validate: Error in validating actions from C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml; dwRet = 0x3cf2
Error SYSPRP RunPlatformActions:Failed while validating SysprepSession actions; dwRet = 0x3cf2
Error [0x0f0070] SYSPRP RunExternalDlls:An error occurred while running registry sysprep DLLs, halting sysprep execution. dwRet = 0x3cf2
Error [0x0f00d8] SYSPRP WinMain:Hit failure while pre-validate sysprep generalize internal providers; hr = 0x80073cf2
Error SYSPRP Package Microsoft.NET.Native.Runtime.1.0_1.0.22929.0_x86__8wekyb3d8bbwe was installed for a user, but not provisioned for all users. This package will not function properly in the sysprep image.
Error SYSPRP Failed to remove apps for the current user: 0x80073cf2.
Error SYSPRP Exit code of RemoveAllApps thread was 0x3cf2.
Error [0x0f0082] SYSPRP ActionPlatform::LaunchModule: Failure occurred while executing 'SysprepGeneralizeValidate' from C:\Windows\System32\AppxSysprep.dll; dwRet = 0x3cf2
Error SYSPRP SysprepSession::Validate: Error in validating actions from C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml; dwRet = 0x3cf2
Error SYSPRP RunPlatformActions:Failed while validating SysprepSession actions; dwRet = 0x3cf2
Error [0x0f0070] SYSPRP RunExternalDlls:An error occurred while running registry sysprep DLLs, halting sysprep execution. dwRet = 0x3cf2
Error [0x0f00d8] SYSPRP WinMain:Hit failure while pre-validate sysprep generalize internal providers; hr = 0x80073cf2
Run Code Online (Sandbox Code Playgroud)
我想我的问题是:
我知道对于不同的 Appx 相关问题有答案,但是在进行系统准备时我根本没有接触过 Windows 应用商店/Metro 应用程序。我安装的唯一值得注意的是 .NET 3.5(相关?)
重新定义我的 VM 设置是:
日志文件中列出的错误:
我感谢反馈和答案。希望有人能够更聪明地解决这个 SysPrep 错误。谢谢阅读!
因此,我设法通过对 Appx .NET 包进行一些修改来解决这个问题。我有第二个用户,是在 VMware 上安装期间创建的。系统上有“管理员”和“管理员”。所以我登录“Admin”并运行:
Remove-AppxPackage "Microsoft.NET.Native.Runtime.1.0_1.0.22929.0_x86__8wekyb3d8bbwe"
Run Code Online (Sandbox Code Playgroud)
然后我遇到一个错误,指出“Microsoft.Skype”正在使用此 .NET 运行时,并且无法删除 .NET 包。
我必须通过发出 Powershell 命令来快速搜索此错误所指的正确包:
Get-AppxPackage -AllUsers | Select-String "Microsoft.Skype"
Run Code Online (Sandbox Code Playgroud)
然后它显示了一个 Microsoft.Skype Appx 包!
然后我删除了“Microsoft.Skype”Appx 包并继续运行上述命令,它起作用了!
我的下一步是对“管理员”执行相同的操作。所以我执行了上述操作并再次运行 Sysprep,繁荣!有用。希望这对将来的人有帮助。:)
长话短说:
| 归档时间: |
|
| 查看次数: |
45191 次 |
| 最近记录: |