当我尝试运行上面的命令时,我在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,halting sysprep execution. dwRet = 0x3cf2 Error [0x0f00d8] SYSPRP WinMain:Hit failure while pre-validate sysprep generalize internal providers; hr = 0x80073cf2
我在网上看过几篇文章,分别是:
> KB2769827
> TechNet Article “How to delete or remove “white” blank shortcut in shell:appsFolder”
> Restore Microsoft Store application in Windows 10
我在安装系统时所做的唯一事情就是:
>在EFI VM上使用来自MSDN的“windows_multiple_editions”ISO安装Windows 10 Pro;
>在初始OOBE期间创建用户“Admin”,登录并运行compmgmt.msc并启用内置“Administrator”;
>以“管理员”身份登录,登录网络共享,运行安装一堆程序的安装脚本;
>在Sysprepping之前删除了“Admin”并执行了VMware Snapshot;和
> Ran Sysprep.exe / oobe / generalize并收到上述错误.
我主动试图通过查看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"
我想我的问题是:
>这可以修复吗?
>是什么导致了这一点,以便未来陷入困境的管理员会知道如何避免这种情况?
>删除“管理员”,我以某种方式搞砸了什么(参考TechNet文章)?
我知道有不同Appx相关问题的答案,但我在sysprepping时根本没有涉及Windows Store / Metro Apps.我安装的唯一值得注意的东西是.NET 3.5(相关?)
重新封顶我的VM设置是:
> Windows 10 Pro x64(Build 10240);
> 2GB RAM,60 GB硬盘;
> EFI;
>未加入域名.目前在WORKGROUP上;和
> Internet与VM主机进行NAT连接.
> 0x0F0070
> 0x0F0082
> 0x0F00D8
我很感激反馈和答案.希望有人能够超越这个SysPrep错误.谢谢阅读!
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 Appx包!
然后我删除了“Microsoft.Skype”Appx包并继续运行上面的命令,它工作了!
我的下一步是在“管理员”上执行相同的操作.所以我做了上面的事情并再次运行Sysprep,繁荣!有用.希望这可以帮助将来的某个人. 原文链接:https://www.f2er.com/windows/369362.html