Windows 更新在安装之前将所有内容下载到 C:\Windows\SoftwareDistribution\Download 中。如果下载中断或文件损坏,更新并不总是注意到 - 它重试相同的损坏的包,或者再次重新下载整个内容。解决方法是停止更新服务,将旧的缓存放在一边,然后让 Windows 构建一个新的缓存。通过这种方式,安装的任何内容都不会被删除 - 仅重建下载暂存区域。
Administrator Command Prompt — the cache reset, example session
C:\Windows\System32> net stop wuauserv
The Windows Update service was stopped successfully.
C:\Windows\System32> net stop bits
The Background Intelligent Transfer Service was stopped successfully.
C:\Windows\System32> ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
C:\Windows\System32> net start wuauserv
C:\Windows\System32> net start bits
Four commands do the whole reset. The folder is renamed, never deleted — your rollback stays in place until the new cache proves itself.
累积更新是一个大包,其下载可能会因关机、睡眠、连接丢失或磁盘已满而中断。 Windows 保留部分结果,安装程序的修复尝试通常会重新验证相同的损坏部分。重新启动电脑不会清除它,因为缓存设计为可以在重新启动后继续存在。这种设计有利于恢复下载,但不利于原谅因检查器错过的方式损坏的包。重置为更新提供了一张空桌子来工作。