因此,我似乎遇到了一个问题:Windows10和Windows应用程序(我假设)正在干扰Sysprep /oobe /generalize。
中收到以下错误
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
我主动尝试通过查看Powershell的AppxPackage cmdlet来快速修复这个问题,但是下面的命令没有返回结果:
Get-AppxPackage -AllUser | Where PublisherId -eq 8wekyb3d8bbwe | Format-List -Property PackageFullName,PackageUserInformation | Select-String "Microsoft.NET.Native.Runtime.1.0_1.0.22929.0_x86__8wekyb3d8bbwe"
我知道不同的Appx相关问题都有答案,但我在系统开发过程中根本没有接触过Windows /Metro应用程序。我安装的唯一值得注意的东西是.NET 3.5 (相关的?)
要重新限制我的VM设置是:
日志文件中列出的
我很感谢你的反馈和回答。希望有人能够超越这个SysPrep错误。感谢您的阅读!
发布于 2016-02-24 17:05:58
因此,我通过稍微修改Appx .NET包来修复这个问题。我有第二个用户是在VMware安装过程中创建的。“行政”和“署长”都在该系统内。于是我登录了“管理”并运行了:
Remove-AppxPackage "Microsoft.NET.Native.Runtime.1.0_1.0.22929.0_x86__8wekyb3d8bbwe"
然后,我遇到了一个错误,说明"Microsoft.Skype“正在使用这个.NET运行时,而删除.NET包是不可能的。
我必须通过发出Powershell命令快速搜索此错误所指的正确包:
Get-AppxPackage -AllUsers | Select-String "Microsoft.Skype"
然后,它展示了一个Microsoft.Skype应用程序包!
然后我删除了"Microsoft.Skype“Appx包,然后继续运行上面的命令,它成功了!
我的下一步是在“管理员”上做同样的事情。所以我做了上面的事,再次运行Sysprep,砰!它起作用了。希望这能对未来的人有所帮助。:)
https://serverfault.com/questions/758095
复制相似问题