Symptom
在尝试更新 Windows 时,您可能偶尔会在安装更新过程中遇到问题,并且不会收到错误代码。此外,一些错误代码可能不会提供太多有关导致更新失败的原因的信息,从而难以进行故障处理。本文详细介绍了一些供您尝试的 Windows 选项,通过这些选项可以使更新按预期进行。
Orsak
不适用
Upplösning
- 搜索 Windows PowerShell 或终端,然后通过右键单击它并选择 以管理员身份运行 来打开它。
- 停止 通过 键入
net stop wuauserv
Windows Update Service Type ,然后按 Enter 键。
- 通过键入
net stop bits
后台智能传输服务停止,然后按Enter 键。
- 通过键入
remove-item -Path $env:temp*pending.xml-force
删除临时文件,然后按 Enter 键。然后 键入remove-item -Path C:\Windows\WinSxS*pending.xml -force
,然后按 Enter 键。
- 类型
get-childItem C:\Windows\SoftwareDistribution\Download -recurse | remove-item -force -recurse
然后按 Enter 键。
- 通过键入
net start wuauserv
重新启动服务,然后按Enter 键。然后 键入net start bits
,然后按 Enter 键。
Berörda produkter
Desktops & All-in-Ones, Laptops