Wusa 退出代码“0x00240005 vs 0x00000BC2”

Wusa exit code "0x00240005 vs 0x00000BC2"

我无法区分 wusa.exe 可能 return 的 2 个退出代码:

0x00240005 WU_S_REBOOT_REQUIRED The system must be restarted to complete installation of the update,

0x00000BC2 Error_Success_Reboot_Required

http://inetexplorer.mvps.org/archive/windows_update_codes.htm
https://support.microsoft.com/en-us/help/938205/windows-update-error-code-list

请在Microsoft's own CMTrace tool中查找错误代码的描述;特别参考工具中的Error Lookup (Ctrl + L):

0x00240005: The system must be restarted to complete installation of the update. Source: Windows Update Agent

0x00000BC2: The requested operation is successful. Changes will not be effective until the system is rebooted. Source: Windows

这些错误代码来自不同的来源。第一个专门适用于 Windows 更新,而第二个可以适用于请求操作成功的任何此类基于 Windows 的操作,但更改在重新启动之前不会生效。

希望对您有所帮助。而且,我建议您使用此工具来获取这方面的更多信息。