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

Error code: Wsl/Service/CreateInstance/CreateVm/HCS/ERROR_MOD_NOT_FOUND after Windows update #11736

Closed
1 of 2 tasks
emplifiCalvin opened this issue Jul 2, 2024 · 4 comments
Closed
1 of 2 tasks

Comments

@emplifiCalvin
Copy link

Windows Version

Microsoft Windows [Version 10.0.19045.4529]

WSL Version

2.2.4.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

5.15.153.1-2

Distro Version

Ubuntu-22.04

Other Software

Docker Desktop for Windows, Visual Studio Code with WSL extension

Repro Steps

I have used WSL 2 for a few years now, and everything has run great, until now. I'm pretty sure that a recent Windows update KB5039211 has made WSL stop working correctly. Now when I try to open Ubuntu, or run any WSL command, I get the same error: ```
The specified module could not be found.
Error code: Wsl/Service/CreateInstance/CreateVm/HCS/ERROR_MOD_NOT_FOUND



I am up to date on Windows updates, and have tried toggling “Windows Subsystem for Linux” off and back on, as well as “Hyper-V” and “Virtual Machine Platform” Windows features, all separately. In each case, toggling the setting off made me restart, then I would toggle the setting back on, and restart again. None made things work.

I’ve double checked that “Virtualization” is enabled on this machine too.

The “Windows Subsystem for Linux” service is stopped in Windows Services. Every time I try to start it, it stops immediately afterward, probably due to the same problem.

### Expected Behavior

I expect that I can open projects in WSL, or run Ubuntu with a useable terminal.

### Actual Behavior

Anything related to WSL does not work and instead I am presented with an error.

### Diagnostic Logs

[WslLogs-2024-07-01_15-40-14.zip](https://github.com/user-attachments/files/16068222/WslLogs-2024-07-01_15-40-14.zip)
Copy link

github-actions bot commented Jul 2, 2024

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.2.4.0
Detected user visible error: Wsl/Service/CreateInstance/CreateVm/HCS/ERROR_MOD_NOT_FOUND

@OneBlue
Copy link
Collaborator

OneBlue commented Jul 9, 2024

Looking at the logs, this looks like a hyper-V issue:

Microsoft-Windows-Hyper-V-Worker		07-01-2024 12:40:33.849	"	"	"	""TraceData=""""[VirtualMotherboard::CreateVirtualDeviceInstance()@723] CoCreateInstance failed for the VDev (Virtual SMB Device) GUID FEA6E63B-45DA-4E32-8B3D-1873B2CE50E7: The specified module could not be found. (0x8007007e)

Can you try to disable all the hyper-V & Virtual Machine Platform optional component, reboot, and enable them again ?

@emplifiCalvin
Copy link
Author

I tried this at the time, based on similar other errors and it had no effect. Just to double check though, I did this again and things seem to work now. Since then though I've made a bunch of other changes, so maybe some combination of those things caused it to work again.

@arufuss
Copy link

arufuss commented Nov 7, 2024

Looking at the logs, this looks like a hyper-V issue:

Microsoft-Windows-Hyper-V-Worker		07-01-2024 12:40:33.849	"	"	"	""TraceData=""""[VirtualMotherboard::CreateVirtualDeviceInstance()@723] CoCreateInstance failed for the VDev (Virtual SMB Device) GUID FEA6E63B-45DA-4E32-8B3D-1873B2CE50E7: The specified module could not be found. (0x8007007e)

Can you try to disable all the hyper-V & Virtual Machine Platform optional component, reboot, and enable them again ?

How to open the WSL log?

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

3 participants