-
Notifications
You must be signed in to change notification settings - Fork 822
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
WSL2 fails to start with Error code: Wsl/Service/CreateInstance/CreateVm/MountVhd/HCS/0x800706bf #11033
Comments
Hi I'm an AI powered bot that finds similar issues based off the issue title. 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. Thank you! Open similar issues:
Closed similar issues:
|
Thank you @ilyaradko. It looks like something is failing inside the storage stack. Can you collect storage logs of repro ? You can do this via (powershell):
|
Sure. Here it is. |
I am encountering the same issue, and here are the additional steps I've tried. -I unregistered my installed Distributions by running the following
Upon trying to reinstall, I get the same error code with a different message
After getting this error, my computer will fail with a bluescreen within a few minutes with the following message:
I've also tried with ubuntu and get the same error. |
Yes, it seems that the problem is not in WSL itself, but in an RPC that is called to mount the .vhdx image of the Linux. Just trying to mount it ( |
This error appears to have resolved itself with the most recent Windows Update for me; unfortunately I'm not knowledgeable enough about Windows update process to better inform which update specifically resolved it, and my only Windows device is my work machine so I can't experiment to find out. |
@manofsticks, if you press Win+R (run window) end execute appwiz.cpl, you will see a window with installed apps. In that window, click "View installed updates" in the upper left corner. Then sort updates by the last column (Installed On) and scroll down till "Microsoft Windows". You will see the recently installed Windows updates. I would very much appreciate if you post here the updates that were installed recently. For me the problem still persists and I can try manually installing the same updates to fix it. Thank you! |
Thank you @manofsticks for posting it. I have exactly the same last three updates, but the problem is still there. |
I started receiving this same error today. The only update I see today is the KB5034466. I believe this could be causing this error. |
I found the issue on my system. It was Avecto Trust Center that was updated as a company wide push that broke it. Upon downgrading Avecto, WSL erro was gone. So, my advice is, look for other apps/av/sec software that may be have been installed recently. |
@lcrok, thanks a lot for the hint! Indeed, the problem was caused by Avecto. I disabled the Avecto's kernel-level driver PGDriver.sys to test it, and WSL started. Avecto is known to be a problem for a lot of software to the extent that they introduced a registry key for exclusions. However, I tried adding wsl.exe into |
Thank you for the conclusion @ilyaradko. Closing since the issue is caused by a third party driver. |
It's 2 of the dependencies that need hook exclusions set, yeah. C:\Windows\system32\vmcompute.exe ... Need to be set in the 64 & 32 bit locations for ManagedHookExclusions. You'll still see PGHook.dll get injected with them set in ManagedHookExclusions but it won't do anything. Mitigates the issue. |
Windows Version
Microsoft Windows [Version 10.0.19045.3930]
WSL Version
2.0.14.0
Are you using WSL 1 or WSL 2?
Kernel Version
5.15.133.1-1
Distro Version
Ubuntu 20.04
Other Software
No response
Repro Steps
Try to start WSL from command line:
wsl
.Expected Behavior
WSL starts.
Actual Behavior
WSL throws an error:
This happens after a recent Windows updates (KB5034122 and KB5033909). I tried to rollback the updates, but they are pushed again by the group policies, so can't roll them back.
Diagnostic Logs
WslLogs-2024-01-16_12-42-26.zip
The text was updated successfully, but these errors were encountered: