无法以编程方式更新Windows 10

想以编程方式将 Windows 10 November升级应用于我的Windows 10 Pro计算机.由于这是在大量机器上完成的,因此必须以编程方式完成.

为此,使用以下脚本执行升级https://msdn.microsoft.com/en-us/library/aa387102(VS.85).aspx

输出

Installation Result: 3
Reboot required: True
Listing of updates installed and individual installation results:
1> Update for Windows 10 for x64-based Systems (KB3106932): 2
2> Upgrade to Windows 10 Pro,version 1511,10586: 4
3> Cumulative Update for Windows 10 for x64-based Systems (KB3116869): 2
4> Windows MalicIoUs Software Removal Tool for Windows 8,8.1,10 and Windows Server 2012,2012 R2 x64 Edition - December 2015 (KB890830): 2
5> DeFinition Update for Windows Defender - KB2267602 (DeFinition 1.213.77.0): 2

Windows 10,版本1511的安装结果代码4表示它失败.所以我运行了shutdown / r / t 1并再次运行脚本.

第二输出

Installation Result: 2
Reboot required: True
Listing of updates installed and individual installation results:
1> Upgrade to Windows 10 Pro,10586: 2
The installation result code 2 means that it was successful.

我重新启动了,但Windows 10 Pro没有更新.

任何人都可以告诉我,我错过了什么?

我没有尝试使用您用来自动执行Windows更新的脚本.以前(当我有一份工作需要我做这样的事情时),我使用了 here的WSUS离线工具.这就像Windows 7和其他人的魅力一样(没有尝试使用Windows 10,但我想它会没事的).基本上,该工具允许您下载它支持的操作系统的所有可用更新.然后,它会生成一个可在所需的所有计算机上运行的更新脚本.它受社区支持,并且有不少人提交修复和改进,使其成为一个非常可靠的工具.

我不知道你是否能够在这一点上改变曲目并尝试使用这个工具,但我绝对可以推荐它来完成你想要完成的任务.

希望能帮助到你 :-)

相关文章

Windows2012R2备用域控搭建 前置操作 域控主域控的主dns:自...
主域控角色迁移和夺取(转载) 转载自:http://yupeizhi.blo...
Windows2012R2 NTP时间同步 Windows2012R2里没有了internet时...
Windows注册表操作基础代码 Windows下对注册表进行操作使用的...
黑客常用WinAPI函数整理之前的博客写了很多关于Windows编程的...
一个简单的Windows Socket可复用框架说起网络编程,无非是建...