windows10不能自动更新

windows10不能自动更新

Windows 10 不能自动更新可能是由于多种原因导致的,以下是一些常见的解决方法:

  1. 运行 Windows 更新疑难解答程序:
    • 进入 “设置 - 更新和安全 - 疑难解答”,在 “启动并运行” 区域找到 “Windows 更新” 选项,点击 “运行疑难解答” 按钮,按照提示进行检查与修复。
    • 也可以从微软官网下载独立的 Windows 更新疑难解答程序进行修复。下载运行后,点击 “高级”,选择 “以管理员身份运行”(建议)并保持 “自动应用修复措施” 的默认选中状态,然后点击下一步开始检测并根据结果进行修复。

  2. 重置 Windows Update:
    • 以管理员身份运行命令提示符,依次运行以下命令停止 Windows Update 相关服务:


收起


windows10不能自动更新

plaintext

复制

sc stop wuauserv sc stop bits sc stop appidsvc sc stop cryptsvc sc stop trustedinstaller

  • 依次运行以下命令重新注册 Windows Update 相关 dll 文件(如果觉得逐个运行命令麻烦,可以把这些命令粘贴到记事本中,将后缀扩展名.txt 修改为.bat,然后双击运行该批处理文件):

收起


plaintext

复制

regsvr32.exe /s atl.dll regsvr32.exe /s urlmon.dll regsvr32.exe /s mshtml.dll regsvr32.exe /s shdocvw.dll regsvr32.exe /s browseui.dll regsvr32.exe /s jscript.dll regsvr32.exe /s vbscript.dll regsvr32.exe /s scrrun.dll regsvr32.exe /s msxml3.dll regsvr32.exe /s msxml6.dll regsvr32.exe /s actxprxy.dll regsvr32.exe /s softpub.dll regsvr32.exe /s wintrust.dll regsvr32.exe /s dssenh.dll regsvr32.exe /s rsaenh.dll regsvr32.exe /s cryptdlg.dll regsvr32.exe /s oleaut32.dll regsvr32.exe /s ole32.dll regsvr32.exe /s shell32.dll regsvr32.exe /s wuapi.dll regsvr32.exe /s wuaueng.dll regsvr32.exe /s wups.dll regsvr32.exe /s wups2.dll regsvr32.exe /s qmgr.dll regsvr32.exe /s wudriver.dll

  • 依次运行以下命令重置 Winsock 等网络配置:

收起


plaintext

复制

ipconfig /flushdns netsh winsock reset netsh winsock reset proxy

  • 清理 Windows Update 缓存文件,可通过依次运行以下命令实现:

收起


plaintext

复制

rmdir %systemroot%\softwaredistribution /s /q rmdir %systemroot%\system32\catroot2 /s /q
或者手动删除 c:\windows\softwaredistribution\datastorec:\windows\softwaredistribution\download 路径下的所有文件来清理缓存。

  • 依次运行以下命令重新启动 Windows Update 相关服务:

收起


plaintext

复制

sc start bits sc start wuauserv sc start appidsvc sc start cryptsvc sc start trustedinstaller
最后,重启系统。
3. 修复 Windows 更新注册表:以管理员身份运行命令提示符,依次输入并回车运行以下命令:
收起


plaintext

复制

sc config wuauserv start=auto sc config bits start=auto sc config cryptsvc start=auto sc config trustedinstaller start=auto

  1. 使用 Windows 10 自带的 DISM 工具修复 Windows Update 组件:以管理员身份运行 cmd 命令提示符,依次运行以下命令:

收起


plaintext

复制

dism /online /cleanup-image /scanhealth dism.exe /online /cleanup-image /restorehealth sfc /scannow
该命令可自动修复损坏或丢失的 Windows 系统文件。如果提示需要 Windows 安装源文件,则只需装载 Windows 10 ISO 镜像,然后在上述命令后添加安装文件 install.wim 路径即可。完整命令示例如下(命令中的 h: 为虚拟光驱盘符,install.wim 后面的数字 1 指代 Windows 10 二合一版本 ISO 镜像中的 Windows 10 Pro 系统):
收起


plaintext

复制

dism.exe /online /cleanup-image /restorehealth /source:h:\sources\install.wim:1 /limitaccess
修复完成后会生成日志文件,路径为 %windir%\logs\cbs\cbs.log,可以查看修复的系统文件详情。
另外,有网友提到还可以在运行上述修复命令前清空以下文件:
c:\users\用户名\appdata\roaming\accommodatebytec:\users\用户名\appdata\roaming\boundarylnteeruptc:\users\用户名\appdata\roaming\cautionaddressability
如果 Windows 10 仍然无法自动更新,还可以检查系统是否存在错误代码,根据错误代码进一步查找解决方法,或者考虑是否存在网络问题、第三方安全软件干扰等因素。同时,确保你的系统是正版 Windows 10,并且已经安装了所有必要的驱动程序。

看过该文章的人还看了