-
Notifications
You must be signed in to change notification settings - Fork 842
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
Cant change Ubuntu from WSL1 to 2 in windows 10 #10004
Comments
Is Control Flow Guard (CFG) disabled in your system? If yes, try to enable it first. |
It is on. I tried as well with with it off but still same issue. It is a weird error I havent found it anywhere online |
The error code 0xc0000606 is defined in Windows SDK as STATUS_STRICT_CFG_VIOLATION. That means "The specified image file was blocked from loading because it does not enable a feature required by the process: Control Flow Guard." |
No idea then. How comes it can work in WSL 1 and not 2? Shouldnt the same error be raised? |
I got the same issue, even after I upgraded to win11. CFG was enabled when this error occured. After I disabled CFG, the error didnt show up but wsl --list hang forever. |
I finally made it work. Disabling/Enabling CFG globally did not work. I had to follow these steps but for both of these programs. |
and you, my bro, you are the real hero. |
You are my Hero!!!!, |
Windows Version
Microsoft Windows [Version 10.0.19045.2604]
WSL Version
1.2.0.0
Are you using WSL 1 or WSL 2?
Kernel Version
4.4.0-19041-Microsoft
Distro Version
Ubuntu 22.04
Other Software
No response
Repro Steps
wsl --set-version Ubuntu 2
Expected Behavior
Should smoothly change from WSL1 to WSL2
Actual Behavior
Diagnostic Logs
WslLogs-2023-04-20_18-49-34.zip
The text was updated successfully, but these errors were encountered: