Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WSL distro fails to start with "Error code: Wsl/Service/CreateInstance/CreateVm/HCS/ERROR_PATH_NOT_FOUND" #11677

Open
1 of 2 tasks
bwilliamsgryphon opened this issue Jun 10, 2024 · 4 comments

Comments

@bwilliamsgryphon
Copy link

Windows Version

Microsoft Windows [Version 10.0.22621.3593]

WSL Version

2.1.5.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

No response

Distro Version

Ubuntu 22.04

Other Software

No response

Repro Steps

  1. Try to start default distribution with by running wsl in PowerShell

Expected Behavior

Distribution starts without error.

Actual Behavior

PowerShell output:

PS C:\> wsl
The system cannot find the path specified.
Error code: Wsl/Service/CreateInstance/CreateVm/HCS/ERROR_PATH_NOT_FOUND

Attempts to install a new distro give a similar error message:

PS C:\> wsl --install Ubuntu-24.04
Ubuntu 24.04 LTS is already installed.
Launching Ubuntu 24.04 LTS...
Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x80070003
Error: 0x80070003 The system cannot find the path specified.

Press any key to continue...
The operation completed successfully.

Diagnostic Logs

WslLogs-2024-06-10_09-54-23.zip

Copy link

View similar issues

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it!

Open similar issues:

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

Diagnostic information
Detected appx version: 2.1.5.0
Detected user visible error: Wsl/InstallDistro/WSL_E_INSTALL_PROCESS_FAILED
Detected user visible error: Wsl/Service/CreateInstance/CreateVm/HCS/ERROR_PATH_NOT_FOUND

@bwilliamsgryphon
Copy link
Author

I've tried disabling and re-enabling Hyper-V and Virtual Machine Platform in Windows Features as described in #10170 with no improvement.

@ghost
Copy link

ghost commented Jun 19, 2024

What files do you have under C:\Program Files\WSL\tools?

@bwilliamsgryphon
Copy link
Author

What files do you have under C:\Program Files\WSL\tools?

@pmartincic Here's the listing:

    Directory: C:\Program Files\WSL\tools


Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
-a----         3/11/2024  10:03 PM        1928824 init
-a----         3/11/2024  10:03 PM        1929216 initrd.img
-a----         1/11/2024   3:27 AM       14284928 kernel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant