求助!Windows11 24H2更新失败,提示0x8007001f

zhengdddddd 0 信誉分
2025-06-15T16:00:15.5633333+00:00

折腾了一天实在解决不了啊,B站上的方法什么清更新缓存都试过了,就是没用😫。希望有大神帮助,电脑有重要资料,最好不要刷机重装屏幕截图 2025-06-15 232906

Windows 11
Windows 11
专为提高工作效率、创造力和易用性而设计的 Microsoft 操作系统。
246 个问题
0 个注释 无注释
{count} 票

3 个答案

排序依据: 非常有帮助
  1. SplashCN 75 信誉分 Volunteer Moderator
    2025-06-16T08:18:32.64+00:00

    您好,建议先检查 Windows 更新服务是否正常?

    按下 Win+S 搜索命令提示符并点击以管理员身份运行(A)→打开后复制粘贴以下内容:

    secedit /configure /cfg %windir%\inf\defltbase.inf /db defltbase.sdb /verbose
    RD /S /Q "%WinDir%\System32\GroupPolicyUsers"
    RD /S /Q "%WinDir%\System32\GroupPolicy"
    gpupdate /force
    reg delete "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies" /f
    reg delete "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies" /f
    reg delete "HKLM\Software\Microsoft\WindowsSelfHost" /f
    reg delete "HKLM\Software\Policies" /f
    reg delete "HKLM\Software\WOW6432Node\Microsoft\Policies" /f
    reg delete "HKLM\Software\WOW6432Node\Microsoft\Windows\CurrentVersion\Policies" /f
    reg delete "HKLM\SOFTWARE\Policies\Microsoft\Windows Defender" /v DisableAntiSpyware
    reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies" /f
    reg delete "HKCU\Software\Microsoft\WindowsSelfHost" /f
    reg delete "HKCU\Software\Policies" /f
    reg delete "HKLM\Software\Microsoft\Policies" /f
    reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsUpdate" /f
    reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender" /v "DisableAntiSpyware" /d 1 /t REG_DWORD /f
    reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender" /v "DisableAntiSpyware" /d 0 /t REG_DWORD /f
    SC config wuauserv start= auto
    SC config bits start= auto
    SC config cryptsvc start= auto
    SC config trustedinstaller start= auto
    SC config wuauserv type=share
    net stop wuauserv
    net stop cryptSvc
    net stop bits
    net stop msiserver
    ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
    net start wuauserv
    net start cryptSvc
    net start bits
    net start msiserver
    USOClient StartInteractiveScan 
    然后回车看看?如果没有效果,请执行升级修复:
    

    打开开始→设置→系统→恢复→使用 Windows 更新修复问题。

    或者前往官方网站下载原版镜像升级修复:https://www.microsoft.com/zh-cn/software-download/windows11


  2. Ling Gao 251 信誉分
    2025-06-16T10:06:16+00:00

    傍晚好,zhengdddddd

    通过 0x8007001f 等错误代码,难以判断 Windows 更新失败的原因。请先尝试通用方案,按下 WIN + X,启动 “终端 (管理员)”,按顺序一个一个地运行以下 10 个命令 (“//” 右侧的是说明,无需运行这一部分):

    net stop wuauserv    // 停止 Windows Update 服务
    net stop cryptSvc    // 停止加密服务
    net stop bits    // 停止后台智能传输 (BITS) 服务
    net stop msiserver    // 停止 Windows Installer 服务
    
    ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
    // 重命名 Windows 更新缓存文件夹,强制重新下载更新数据
    
    ren C:\Windows\System32\catroot2 catroot2.old
    // 重命名 Windows 更新加密签名,解决更新签名验证问题
    
    net start wuauserv    // 启动 Windows Update 服务
    net start cryptSvc    // 启动加密服务
    net start bits    // 启动后台智能传输 (BITS) 服务
    net start msiserver    // 启动 Windows Installer 服务
    

    运行完毕后,重新检查 Windows 更新,看看效果。

    同时,可以前往 下载 Windows 11 网站,点击 “创建 Windows 11 安装媒体” 下面的 “立即下载” 按钮 (如下图),使用 MCT 媒体创建工具创建 ISO 镜像,双击文件中的 setup.exe,覆盖安装 Windows 系统。请注意:此步骤适用于家庭版、专业版系统,但不能是预览体验版本。覆盖安装不会删除电脑中的数据,但建议提前进行备份。

    立即下载


    如果以上两个步骤不起作用,请试着前往以下路径寻找 Windows 更新日志,全部打包在一起后通过 OneDrive 等网盘创建分享链接,也许能对分析失败原因起到帮助。

    • C:\Windows\WindowsUpdate.log
    • C:\Windows\Logs\CBS\CBS.log
    • C:\Windows\Logs\WindowsUpdate

    谢谢!😀

    顺祝时祺,
    - Ling Gao
    2021 Windows Insider 最有价值专家 (MVP)
    Windows Commercial & Cloud Champion


  3. zhengdddddd 0 信誉分
    2025-06-17T14:31:49.49+00:00

    刚刚自己搜Google的攻略解决了,把未知用户配置删了就更新成功了,删之前一定要提前备份windows下用户文件夹的数据!!!!!会一同删除的,具体方法如下:

    开始-设置-系统-系统信息-高级系统设置屏幕截图 2025-06-17 221429

    单击用户配置文件中的设置

    屏幕截图 2025-06-17 221531

    里面如果有未知账户的话删除,此时用户文件夹内的文件可能会丢失,把刚才备份的重新拷回去即可

    屏幕截图 2025-06-17 221700

    然后再重启,重新进行更新,我的电脑就莫名更新成功了(¬_¬")

    希望这个回答能帮助到遇到这个问题的人😂

    0 个注释 无注释

你的答案

问题作者可以将答案标记为“接受的答案”,这有助于用户了解已解决作者问题的答案。