Windows 8.1 更新失败

Windows 8.1 更新失败

我无法使用 Windows 更新成功执行系统上的完整扫描。扫描无休止地运行,没有错误,也没有超时。

我已使用过三次微软修复工具 WindowsUpdateDiagnostic.diagcab,每次它都会修复以下两点:

  • 注册服务缺失或损坏
  • 上次更新安装问题

我不确定修复是否真的有效,因为它每次都会检测到相同的错误。

我尝试使用 powershell 脚本进行更新,但它似乎也无休止地运行。最后我手动停止它,没有任何消息。

这是我的 Windows 更新日志:

2015-06-02  10:48:00:597     932    7b0 Misc    ===========  Logging initialized (build: 7.9.9600.16422, tz: +0200)  ===========
2015-06-02  10:48:00:597     932    7b0 Misc      = Process: C:\Windows\system32\svchost.exe
2015-06-02  10:48:00:597     932    7b0 Misc      = Module: c:\windows\system32\wuaueng.dll
2015-06-02  10:48:00:597     932    7b0 Service *************
2015-06-02  10:48:00:597     932    7b0 Service ** START **  Service: Service startup
2015-06-02  10:48:00:597     932    7b0 Service *********
2015-06-02  10:48:02:602     932    7b0 Agent     * WU client version 7.9.9600.16422
2015-06-02  10:48:02:602     932    7b0 Agent     * Base directory: C:\Windows\SoftwareDistribution
2015-06-02  10:48:02:602     932    7b0 Agent     * Access type: No proxy
2015-06-02  10:48:02:602     932    7b0 Service UpdateNetworkState Ipv6, cNetworkInterfaces = 2.
2015-06-02  10:48:02:602     932    7b0 Service UpdateNetworkState Ipv4, cNetworkInterfaces = 2.
2015-06-02  10:48:02:602     932    7b0 Agent     * Network state: Connected
2015-06-02  10:48:02:633     932    7b0 Service UpdateNetworkState Ipv6, cNetworkInterfaces = 2.
2015-06-02  10:48:02:633     932    7b0 Service UpdateNetworkState Ipv4, cNetworkInterfaces = 2.
2015-06-02  10:48:04:118     932    7b0 Agent   ***********  Agent: Initializing global settings cache  ***********
2015-06-02  10:48:04:118     932    7b0 Agent     * Endpoint Provider: 00000000-0000-0000-0000-000000000000
2015-06-02  10:48:04:118     932    7b0 Agent     * WSUS server: <NULL>
2015-06-02  10:48:04:118     932    7b0 Agent     * WSUS status server: <NULL>
2015-06-02  10:48:04:118     932    7b0 Agent     * Target group: (Unassigned Computers)
2015-06-02  10:48:04:118     932    7b0 Agent     * Windows Update access disabled: No
2015-06-02  10:48:04:165     932    7b0 WuTask  WuTaskManager delay initialize completed successfully..
2015-06-02  10:48:04:633     932    7b0 Report  WARNING: Failed to initialize event uploader for new server {9482F4B4-E343-43B6-B170-9A65BC822C77} with hr = 8024043d.
2015-06-02  10:48:04:633     932    7b0 Report  CWERReporter::Init succeeded
2015-06-02  10:48:04:649     932    7b0 Agent   ***********  Agent: Initializing Windows Update Agent  ***********
2015-06-02  10:48:04:649     932    7b0 DnldMgr Download manager restoring 0 downloads
2015-06-02  10:48:04:649     932    7b0 AU  ###########  AU: Initializing Automatic Updates  ###########
2015-06-02  10:48:04:649     932    7b0 AU  Additional Service {117CAB2D-82B1-4B5A-A08C-4D62DBEE7782} with Approval type {Scheduled} added to AU services list
2015-06-02  10:48:04:649     932    7b0 AU  AIR Mode is disabled
2015-06-02  10:48:04:649     932    7b0 AU    # Approval type: Scheduled (User preference)
2015-06-02  10:48:04:649     932    7b0 AU    # Auto-install minor updates: Yes (User preference)
2015-06-02  10:48:04:665     932    7b0 AU    # ServiceTypeDefault: Service 117CAB2D-82B1-4B5A-A08C-4D62DBEE7782 Approval type: (Scheduled)
2015-06-02  10:48:04:665     932    7b0 AU    # Will interact with non-admins (Non-admins are elevated (User preference))
2015-06-02  10:48:04:665     932    7b0 AU  WARNING: Failed to get Wu Exemption info from NLM, assuming not exempt, error = 0x80070032
2015-06-02  10:48:04:680     932    7b0 AU  AU finished delayed initialization
2015-06-02  10:48:04:680     932    7b0 AU  OOBE is in progress, so cannot perform Accelerated Install
2015-06-02  10:48:05:227     932    bec DnldMgr Asking handlers to reconcile their sandboxes
2015-06-02  10:48:05:727     932    7b0 Service UpdateNetworkState Ipv6, cNetworkInterfaces = 3.
2015-06-02  10:48:06:775     932    7b0 Service UpdateNetworkState Ipv6, cNetworkInterfaces = 4.
2015-06-02  10:48:09:197     932    7b0 Service UpdateNetworkState Ipv6, cNetworkInterfaces = 3.
2015-06-02  10:48:09:275     932    7b0 Service UpdateNetworkState Ipv6, cNetworkInterfaces = 4.
2015-06-02  10:48:26:995     932    7b0 Service UpdateNetworkState Ipv6, cNetworkInterfaces = 3.
2015-06-02  10:48:26:995     932    7b0 Service UpdateNetworkState Ipv6, cNetworkInterfaces = 2.
2015-06-02  10:48:27:136     932    7b0 Service UpdateNetworkState Ipv6, cNetworkInterfaces = 3.
2015-06-02  10:48:27:277     932    7b0 Service UpdateNetworkState Ipv6, cNetworkInterfaces = 4.
2015-06-02  10:50:48:108     932    50c IdleTmr Incremented idle timer priority operation counter to 1
2015-06-02  10:50:55:328     932    974 AU  Triggering AU detection through DetectNow API
2015-06-02  10:50:55:328     932    974 AU  Additional Service {117CAB2D-82B1-4B5A-A08C-4D62DBEE7782} with Approval type {Scheduled} added to AU services list
2015-06-02  10:50:55:328     932    974 AU  Triggering Online detection (interactive)
2015-06-02  10:50:55:344     932    7b0 AU  Windows OOBE is still in progress. AU deferring detection
2015-06-02  10:50:55:344     932    7b0 AU  WARNING: BeginDetection failed, hr:0x8024a008
2015-06-02  10:50:55:344     932    7b0 AU  All AU searches complete.
2015-06-02  10:50:55:344     932    7b0 AU    # WARNING: Failed to find updates with error code 8024a008
2015-06-02  10:50:55:344     932    7b0 AU  AU setting next detection timeout to 2015-06-02 09:20:55
2015-06-02  10:50:55:359     932    7b0 AU  OOBE is in progress, so cannot perform Accelerated Install
2015-06-02  11:01:18:339     932    7b0 AU  ###########  AU: Uninitializing Automatic Updates  ###########
2015-06-02  11:01:18:340     932    7b0 WuTask  Uninit WU Task Manager
2015-06-02  11:01:18:478     932    7b0 Agent   Sending shutdown notification to client
2015-06-02  11:01:18:479    2456    16cc    Misc    ===========  Logging initialized (build: 7.9.9600.16384, tz: +0200)  ===========
2015-06-02  11:01:18:479    2456    16cc    Misc      = Process: C:\Windows\SysWOW64\sdiagnhost.exe
2015-06-02  11:01:18:479    2456    16cc    Misc      = Module: C:\Windows\SYSTEM32\wuapi.dll
2015-06-02  11:01:18:479    2456    16cc    COMAPI  WARNING: Received service shutdown/self-update notification.
2015-06-02  11:01:18:707     932    7b0 Service *********
2015-06-02  11:01:18:708     932    7b0 Service **  END  **  Service: Service exit [Exit code = 0x240001]
2015-06-02  11:01:18:708     932    7b0 Service *************
2015-06-02  11:01:19:709     932    78c Service *************
2015-06-02  11:01:19:709     932    78c Service ** START **  Service: Service startup
2015-06-02  11:01:19:709     932    78c Service *********
2015-06-02  11:01:19:719     932    78c Agent     * WU client version 7.9.9600.16422
2015-06-02  11:01:19:720     932    78c Agent     * Base directory: C:\Windows\SoftwareDistribution
2015-06-02  11:01:19:720     932    78c Agent     * Access type: No proxy
2015-06-02  11:01:19:720     932    78c Service UpdateNetworkState Ipv6, cNetworkInterfaces = 4.
2015-06-02  11:01:19:720     932    78c Service UpdateNetworkState Ipv4, cNetworkInterfaces = 2.
2015-06-02  11:01:19:720     932    78c Agent     * Network state: Connected
2015-06-02  11:01:19:726     932    78c Service UpdateNetworkState Ipv6, cNetworkInterfaces = 4.
2015-06-02  11:01:19:726     932    78c Service UpdateNetworkState Ipv4, cNetworkInterfaces = 2.
2015-06-02  11:01:19:753     932    7a4 Agent   ***********  Agent: Initializing global settings cache  ***********
2015-06-02  11:01:19:753     932    7a4 Agent     * Endpoint Provider: 00000000-0000-0000-0000-000000000000
2015-06-02  11:01:19:753     932    7a4 Agent     * WSUS server: <NULL>
2015-06-02  11:01:19:753     932    7a4 Agent     * WSUS status server: <NULL>
2015-06-02  11:01:19:753     932    7a4 Agent     * Target group: (Unassigned Computers)
2015-06-02  11:01:19:753     932    7a4 Agent     * Windows Update access disabled: No
2015-06-02  11:01:19:762     932    7a4 WuTask  WuTaskManager delay initialize completed successfully..
2015-06-02  11:01:19:766     932    7a4 Report  WARNING: Failed to initialize event uploader for new server {9482F4B4-E343-43B6-B170-9A65BC822C77} with hr = 8024043d.
2015-06-02  11:01:19:766     932    7a4 Report  CWERReporter::Init succeeded
2015-06-02  11:01:19:766     932    7a4 Agent   ***********  Agent: Initializing Windows Update Agent  ***********
2015-06-02  11:01:19:766     932    7a4 DnldMgr Download manager restoring 0 downloads
2015-06-02  11:01:19:767     932    7a4 AU  ###########  AU: Initializing Automatic Updates  ###########
2015-06-02  11:01:19:767     932    81c DnldMgr Asking handlers to reconcile their sandboxes
2015-06-02  11:01:19:767     932    7a4 AU  Additional Service {117CAB2D-82B1-4B5A-A08C-4D62DBEE7782} with Approval type {Scheduled} added to AU services list
2015-06-02  11:01:19:804     932    7a4 AU  AIR Mode is disabled
2015-06-02  11:01:19:804     932    7a4 AU    # Approval type: Scheduled (User preference)
2015-06-02  11:01:19:804     932    7a4 AU    # Auto-install minor updates: Yes (User preference)
2015-06-02  11:01:19:804     932    7a4 AU    # ServiceTypeDefault: Service 117CAB2D-82B1-4B5A-A08C-4D62DBEE7782 Approval type: (Scheduled)
2015-06-02  11:01:19:804     932    7a4 AU    # Will interact with non-admins (Non-admins are elevated (User preference))
2015-06-02  11:01:19:814     932    7a4 AU  WARNING: Failed to get Wu Exemption info from NLM, assuming not exempt, error = 0x80070032
2015-06-02  11:01:19:833     932    7a4 AU  AU finished delayed initialization
2015-06-02  11:01:19:834     932    7a4 AU  OOBE is in progress, so cannot perform Accelerated Install
2015-06-02  11:01:19:852     932    7a4 IdleTmr Incremented idle timer priority operation counter to 1

我可以在不恢复 Windows 安装的情况下修复此问题吗?

答案1

看来您正在尝试在审核模式下运行 Windows 更新,或者 OOBE 尚未完成,这就是它失败的原因。

我在你的日志中发现以下内容

Windows OOBE 仍在进行中。AU 推迟检测。

警告:无法找到更新,错误代码为 8024a008

OOBE 正在进行中,因此无法执行加速安装。

“操作系统尚未完成 OOBE”

来源

此线程中提供了一些修复此问题的可能性,因为我们不知道为什么您的电脑处于审核模式,所以解决方案可能有很多种。

答案2

我回来告诉你我解决 OOBE 问题的方法:

1) 当我尝试在控制台中使用 sysprep 实用程序时,该命令无法识别,但我成功直接从其文件夹“c:\Windows\System32\Sysprep\Sysprep.exe \OOBE \reboot”中使用它。

2) 重新启动时,我的计算机运行 OOBE 配置(我创建一个临时的本地用户帐户来完成它)并最后在完成屏幕上阻止最后一步。

3)当计算机被阻止在完成脚本上时,我必须使用“Ctrl + F10”命令快捷方式来访问终端。

4 ) 输入“tasklist”命令列出所有使用 PID 运行的进程。必须有 2 个 cmd.exe 进程,一个与当前使用的终端有关,另一个与 OOBE 进程有关。记下这两个 cmd.exe 进程(PID1 和 PID2)的 PI​​D(4 位数字),然后输入此命令“taskkill \PID PID1 \PID PID2”,将 PID1 和 PID2 替换为实际值。OOBE 必须终止,并且必须出现登录屏幕。

5)此时一切都已修复,检查 Windows 更新过程和日志,如果没问题,您可以删除临时本地帐户。

附言:我的电脑上还存在其他一些问题,我并不想修复它,因为它没有阻塞或干扰。我无法自定义我的帐户头像或自定义登录屏幕上的图片。这些问题也已通过 OOBE 修复得到解决。

相关内容