如何停止 Dism.exe /online /Cleanup-Image /StartComponentCleanup?

如何停止 Dism.exe /online /Cleanup-Image /StartComponentCleanup?

我有一个 Windows Server 2026,Dism.exe /online /Cleanup-Image /StartComponentCleanup现在已经执行了一天多。

此任务由 TiWorker.exe 执行。我读到终止 TiWorker.exe 并不安全,并且可能使系统处于不稳定状态。

  • dism 命令现在运行已超过 48 小时并停留在 10%。
  • 这是一台虚拟服务器。1 个 CPU 一直在运行 TiWorker.exe,使用了 4GB 的内存。该机器目前有 10GB 可用内存。(目前已使用 6.8GB,因此内存足够)。
  • 网络连接快速且稳定。
  • cbs.log 仍在增长,数据已写入其中。大小现在为 257MB
  • sfc /scannow首先执行,并且成功,没有任何错误消息。
  • 最新更新已安装。
  • 该机器几个小时前刚刚重新启动。
  • Dism显示AnalyzeComponentstore大小为 15GB,并表示执行StartComponentCleanup

我遇到过类似的情况,在终止此 TiWorker 后,一台类似的机器没有重新启动,重新启动后显示我应该等到 Windows 完成“Windows 准备就绪,请勿关闭计算机”。我不得不从备份中恢复此服务器。即使在安全模式下启动也是不可能的。

知道该怎么做吗?

4天后编辑: 我可以在 CBS.LOG 中看到每个 KB 修复都已应用并检查。当前正在检查 KB4598243(BS-Build 14393.4169)的文件。需要将近 1.5 小时才能完全检查和验证操作系统更新。由于还剩下 35 个 KB,因此大约还需要 3 天。CBS.log 刚刚增长到近 400MB。Dism 为每个操作系统更新创建了近 35000 行...

7天后编辑:仍在运行。现在为 70.7%。现在我几乎在 3 小时后才看到条目。我再次每 3 小时在 CBS 日志中看到条目。始终显示 Server 2016 的新版本号。当我将其与当前列表进行比较时,我还剩下 75 个版本。每个版本 3 小时。这意味着还有 9 天……内存仍然相同。

2023-04-23 21:36:42, Info                  CBS    Reporting package change for package: Package_for_RollupFix~31bf3856ad364e35~amd64~~14393.2848.1.6, curre
2023-04-23 21:36:42, Info                  CBS    SQM: Package change report datapoints not populated because SQM is not initialized or not running online.
2023-04-23 21:36:42, Info                  CBS    Reporting package change completion for package: Package_for_RollupFix~31bf3856ad364e35~amd64~~14393.2848
2023-04-23 21:36:42, Info                  CBS    Overall time performance datapoint is invalid. [HRESULT = 0x80070490 - ERROR_NOT_FOUND]
2023-04-23 21:36:42, Info                  CBS    SQM: Package change report datapoints not populated because SQM is not initialized or not running online.
2023-04-24 00:33:20, Info                  CBS    Reporting package change for package: Package_for_RollupFix~31bf3856ad364e35~amd64~~14393.2879.1.6, curre
2023-04-24 00:33:20, Info                  CBS    SQM: Package change report datapoints not populated because SQM is not initialized or not running online.
2023-04-24 00:33:20, Info                  CBS    Reporting package change completion for package: Package_for_RollupFix~31bf3856ad364e35~amd64~~14393.2879
2023-04-24 00:33:20, Info                  CBS    Overall time performance datapoint is invalid. [HRESULT = 0x80070490 - ERROR_NOT_FOUND]
2023-04-24 00:33:20, Info                  CBS    SQM: Package change report datapoints not populated because SQM is not initialized or not running online.
2023-04-24 03:32:00, Info                  CBS    Reporting package change for package: Package_for_RollupFix~31bf3856ad364e35~amd64~~14393.2906.1.5, curre
2023-04-24 03:32:00, Info                  CBS    SQM: Package change report datapoints not populated because SQM is not initialized or not running online.
2023-04-24 03:32:00, Info                  CBS    Reporting package change completion for package: Package_for_RollupFix~31bf3856ad364e35~amd64~~14393.2906
2023-04-24 03:32:00, Info                  CBS    Overall time performance datapoint is invalid. [HRESULT = 0x80070490 - ERROR_NOT_FOUND]
2023-04-24 03:32:00, Info                  CBS    SQM: Package change report datapoints not populated because SQM is not initialized or not running online.
2023-04-24 06:27:31, Info                  CBS    Reporting package change for package: Package_for_RollupFix~31bf3856ad364e35~amd64~~14393.2941.1.10, curr
2023-04-24 06:27:31, Info                  CBS    SQM: Package change report datapoints not populated because SQM is not initialized or not running online.
2023-04-24 06:27:31, Info                  CBS    Reporting package change completion for package: Package_for_RollupFix~31bf3856ad364e35~amd64~~14393.2941
2023-04-24 06:27:31, Info                  CBS    Overall time performance datapoint is invalid. [HRESULT = 0x80070490 - ERROR_NOT_FOUND]
2023-04-24 06:27:31, Info                  CBS    SQM: Package change report datapoints not populated because SQM is not initialized or not running online.

14天后编辑: 似乎没有答案。最终,行动在 12 天后结束。

:(

相关内容