Skip to content

WSL2 fails to mount C:\Program Files\WSL\system.vhd with HCS/ERROR_NOT_FOUND when converting distro to version 2 #14489

@SwordOnline1

Description

@SwordOnline1

Windows Version

Windows 11 23H2 OS Build 22631.4169

WSL Version

2.6.3.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

6.6.87.2-1

Distro Version

Ubuntu 24.04.4

Other Software

No response

Repro Steps

  1. wsl --set-default-version 1
  2. wsl --install -d Ubuntu
  3. Ubuntu installs successfully as WSL1
  4. Run wsl --set-version Ubuntu 2

Expected Behavior

Ubuntu should convert from WSL1 to WSL2 successfully.

Actual Behavior

Conversion fails with:

无法将磁盘“C:\Program Files\WSL\system.vhd”附加到 WSL2: 找不到元素。
错误代码: Wsl/Service/CreateVm/MountDisk/HCS/ERROR_NOT_FOUND

Additional Notes

  • wsl --version works normally
  • wsl --install -d Ubuntu fails under WSL2 path, but succeeds under WSL1
  • Microsoft-Windows-Subsystem-Linux is Enabled
  • VirtualMachinePlatform is Enabled
  • DISM /Online /Cleanup-Image /RestoreHealth completed successfully
  • sfc /scannow found no integrity violations
  • C:\Program Files\WSL\system.vhd exists
  • net start vds was tried, but the issue remained

Diagnostic Logs

I collected logs with collect-wsl-logs.ps1.

WslLogs-2026-03-20_21-00-35.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions