wsl: WSL 安装似乎已损坏 (错误代码: Wsl/CallMsi/Install/0x80070660)。

Xu Gao 0 信誉分
2025-10-29T02:43:45.92+00:00

=== Verbose logging started: 2025/10/29 10:33:34 Build type: SHIP UNICODE 5.00.10011.00 Calling process: C:\Program Files\WindowsApps\MicrosoftCorporationII.WindowsSubsystemForLinux_2.6.1.0_x64__8wekyb3d8bbwe\wsl.exe ===

MSI (c) (98:A0) [10:33:34:111]: Resetting cached policy values

MSI (c) (98:A0) [10:33:34:111]: Machine policy value 'Debug' is 0

MSI (c) (98:A0) [10:33:34:111]: ******* RunEngine:

       ******* Product: C:\Users\****\AppData\Local\Temp\wsl.2.6.1.0.x64 (4).msi

       ******* Action: 

       ******* CommandLine: **********

MSI (c) (98:A0) [10:33:34:111]: Client-side and UI is none or basic: Running entire install on the server.

MSI (c) (98:A0) [10:33:34:111]: Grabbed execution mutex.

MSI (c) (98:A0) [10:33:34:128]: Cloaking enabled.

MSI (c) (98:A0) [10:33:34:128]: Attempting to enable all disabled privileges before calling Install on Server

MSI (c) (98:A0) [10:33:34:134]: Incrementing counter to disable shutdown. Counter after increment: 0

MSI (s) (6C:28) [10:33:34:145]: Running installation inside multi-package transaction C:\Users****\AppData\Local\Temp\wsl.2.6.1.0.x64 (4).msi

MSI (s) (6C:28) [10:33:34:145]: Grabbed execution mutex.

MSI (s) (6C:24) [10:33:34:146]: Resetting cached policy values

MSI (s) (6C:24) [10:33:34:146]: Machine policy value 'Debug' is 0

MSI (s) (6C:24) [10:33:34:147]: ******* RunEngine:

       ******* Product: C:\Users\****\AppData\Local\Temp\wsl.2.6.1.0.x64 (4).msi

       ******* Action: 

       ******* CommandLine: **********

MSI (s) (6C:24) [10:33:34:215]: Machine policy value 'DisableUserInstalls' is 0

MSI (s) (6C:24) [10:33:34:216]: Setting cached product context: User non-assigned for product: 0D7C91534D075F640A9AA311D5372ECE

MSI (s) (6C:24) [10:33:34:216]: Using cached product context: User non-assigned for product: 0D7C91534D075F640A9AA311D5372ECE

MSI (s) (6C:24) [10:33:34:216]: Setting cached product context: User non-assigned for product: 0FF8CF2AA120C13428E64E8BD5F360F4

MSI (s) (6C:24) [10:33:34:267]: Using cached product context: machine assigned for product: FF5EC7F7F18CD1C856C52E10DE2DDF50

MSI (s) (6C:24) [10:33:34:268]: Note: 1: 2203 2: C:\WINDOWS\Installer\inprogressinstallinfo.ipi 3: -2147287037

MSI (s) (6C:24) [10:33:34:342]: SRSetRestorePoint skipped for this transaction.

MSI (s) (6C:24) [10:33:34:342]: Note: 1: 1336 2: 3 3: C:\WINDOWS\Installer\

MSI (s) (6C:24) [10:33:34:342]: MainEngineThread is returning 1632

MSI (s) (6C:28) [10:33:34:342]: No System Restore sequence number for this installation.

MSI (s) (6C:28) [10:33:34:342]: User policy value 'DisableRollback' is 0

MSI (s) (6C:28) [10:33:34:342]: Machine policy value 'DisableRollback' is 0

MSI (s) (6C:28) [10:33:34:342]: Incrementing counter to disable shutdown. Counter after increment: 0

MSI (s) (6C:28) [10:33:34:342]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2

MSI (s) (6C:28) [10:33:34:342]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2

MSI (s) (6C:28) [10:33:34:342]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1

MSI (c) (98:A0) [10:33:34:347]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1

MSI (c) (98:A0) [10:33:34:347]: MainEngineThread is returning 1632

=== Verbose logging stopped: 2025/10/29 10:33:34 ===

Windows 家庭版 | Windows 11 | 性能和系统故障
0 个注释 无注释
{count} 票

1 个答案

排序依据: 非常有帮助
  1. Lychee-Ng 9,045 信誉分 Microsoft 外部员工 仲裁人
    2025-10-29T12:24:19.2666667+00:00

    此答案为自动翻译,因此可能存在语法错误或措辞不当。


    您好Xu Gao

    欢迎来到 Microsoft Q&A!

    错误代码 Wsl/CallMsi/Install/0x80070660(底层 MSI 错误代码为 1632)通常表示 Windows Installer 无法访问安装文件,导致安装失败。这通常是由于下载文件损坏或权限问题引起的。

    1 - 检查 Windows Installer 服务

    • Win + R > 输入 services.msc > 按 Enter 键。
    • 找到 Windows Installer > 启动类型设置为 手动
    • 确保它正在运行。如果已停止,请右键单击并选择 启动

    2 - 清除临时下载缓存

    错误信息显示它正在尝试使用临时文件夹中的文件 (C:\Users\****\AppData\Local\Temp\wsl.2.6.1.0.x64 (4).msi)。此文件可能已损坏。

    • 打开文件资源管理器 > 导航至以下路径中的 Temp 文件夹:
      • C:\Users\****\AppData\Local\Temp\
      • 或者按 Win + R > 输入 %temp% > 按 Enter 键。
    • 删除 Temp 文件夹中的所有文件(跳过显示 正在使用 的文件)。
    • 尝试从 Microsoft Store 重新安装 WSL。

    3 - 如果 Microsoft Store 无法正常工作,请手动下载并安装 WSL:

    免责声明: 本网站并非微软官方网站。该页面看似提供准确、安全的信息。请注意网站上的广告,并在下载前进行充分的研究。微软不提供任何明示或暗示的保证和/或担保,并且不对您从第三方链接网站获取的信息或任何相关的技术支持负责。

    4 - 修复 Windows 安装程序

    • 以管理员身份打开命令提示符并输入:
      • DISM /Online /Cleanup-Image /RestoreHealth
      • sfc /scannow
    • 运行命令并尝试修复任何损坏的数据。

    如果此答案对您有帮助,请点击“接受答案”并点赞。如果您对此答案还有其他疑问,请点击“评论”。

    注意:如果您想接收此主题的相关电子邮件通知,请按照我们文档中的步骤启用电子邮件通知。


你的答案

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