所以我似乎遇到了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
我只看了几篇文章,即 :
我在安装系统时做的唯一事情就是 :
我主动尝试通过检查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 Store / Metro应用程序,而sysprepping。 我安装的唯一值得注意的事情是.NET 3.5(相关?
重新设置我的虚拟机设置是:
日志文件中列出的错误:
我很欣赏反馈和答案。 希望有人能胜过这个SysPrep错误。 谢谢阅读!
所以我设法通过修改Appx .NET软件包来解决这个问题。 我有一个在VMware上安装时创build的第二个用户。 “pipe理员”和“pipe理员”在系统上。 所以我login到“pipe理员”并跑:
Remove-AppxPackage "Microsoft.NET.Native.Runtime.1.0_1.0.22929.0_x86__8wekyb3d8bbwe"
然后,我遇到了一个错误,指出“Microsoft.Skype”正在使用这个.NET运行时,并删除.NET包是不可能的。
我不得不通过发布Powershell命令来快速search错误所指的正确包:
Get-AppxPackage -AllUsers | Select-String "Microsoft.Skype"
然后,它显示了一个单一的Microsoft.Skype Appx包!
然后,我删除了“Microsoft.Skype”Appx包,并继续运行上面的命令,它的工作!
我的下一步是在“pipe理员”上做同样的事情。 所以我做了上面的,再次运行Sysprep,繁荣! 有用。 希望这有助于未来的人。 🙂
TL; DR: