大网数据广告活动
启动与系统组件

Windows Update hangs and updates are uninstalled

· 52CE 我爱测

Discusses that Windows Update hangs and newly installed updates are uninstalled after a system restart in Windows. Provides a workaround.

This article provides a workaround for an issue where Windows Update hangs and newly installed updates are uninstalled after a system restart.

Original KB number:   3064434

Symptoms

Consider the following scenario:

  • You have a computer that is running Windows.
  • You install updates from Windows Update.
  • You restart Windows when you are prompted to do this.

In this scenario, you see the following message during the restart process:

Working on updates
13% complete
Don't turn off your computer

This is an expected message. However, the system appears to stop responding (hangs) for about 15 minutes. After this time, the system does restart. However, the updates that you installed are now uninstalled.

Additionally, an entry that resembles the following may be logged in the CBS.log file under %SystemRoot%\Logs\CBS:

Shtd: Timed out waiting for shutdown processing to complete - no progress detected in last 900000 milliseconds

Cause

This issue occurs because the Trusted Installer service did not finish the installation process within the default time-out period of 15 minutes.

Workaround

To work around this issue, set the time-out value to a larger value in the registry, and then reapply the hotfix. To do this, follow these steps:

  1. Start Registry Editor.

  2. Locate the following subkey:
    HKLM\System\CurrentControlSet\Services\TrustedInstaller

  3. Right-click the TrustedInstaller key, and then click Permissions.

  4. Grant the Full Control user right to the Administrators group.

  5. Change the BlockTimeIncrement value to 2a30 (Hexadecimal).

    [!NOTE] This change sets the time-out value to three hours. This should be sufficient for most situations. However, you may have to try a larger value in your environment.

  6. Restart the server, and then apply the hotfix again.

Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

Data collection

If you need assistance from Microsoft support, we recommend you collect the information by following the steps mentioned in Gather information by using TSS for deployment-related issues.

Source: Microsoft Learn / IT Pro troubleshooting by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / IT Pro troubleshooting
适用范围
- Supported versions of Windows Client · Source date 02/12/2026
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。