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: 0x80040202 on trying to convert a distro from wsl1 to wsl2.. #5970

Closed
CosmicSnow opened this issue Sep 22, 2020 · 2 comments
Closed

Comments

@CosmicSnow
Copy link

CosmicSnow commented Sep 22, 2020

Environment

Windows Pro, version 2004, Build 19041.508

Steps to reproduce

WSL logs: https://aka.ms/AA9q3d4

Expected behavior

The distro should convert from wsl v1 to v2.

Actual behavior

It fails to convert to wsl v2, I can't open distro directly through terminal too, neither install it directly using wsl --set-default-version 2
It returns me Error: 0x80040202

I want to use it with docker..
I tried to find a solution everywhere,
Maybe I'll have to install windows.. Again...

@licanhua
Copy link
Collaborator

The error is raised by Hyper-V VmComEvents.h; 930, and it requires Hyper-V to continue the investigation.

@CosmicSnow
Copy link
Author

CosmicSnow commented Sep 24, 2020

strange, I solved the problem disabling wsl and virtual machines on windows features.
Uninstalling all my distros, and wsl.

Then reinstalled everything, but rebooting after every install.
then set wsl default version as 2, and installed the ubuntu distro.
now it's working again, didn't have to enable Hyper-v

I'll close the issue for now, if it happens again, I'll turn Hyper-v on.

@github-actions github-actions bot mentioned this issue Mar 26, 2024
2 tasks
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

2 participants