Error upgrading to WSL 2 : There are no more endpoints available from the endpoint mapper

2

There was no problem with WSL1. I wanted to upgrade to WSL 2.

Command line fails when I try to upgrade to wsl2. I tried to remove Ubuntu and reinstall it, no difference.

Virtual Machine Platform is active.

Windows build number: 19041.208

wsl --set-version Ubuntu 2

The output:

PS C:\WINDOWS\system32> wsl --set-version Ubuntu 2
Conversion in progress, this may take a few minutes...
For information on key differences with WSL 2 please visit https://aka.ms/wsl2
There are no more endpoints available from the endpoint mapper.

I tried to remove the ubuntu and run the following command first:

wsl --set-default-version 2

after installing ubuntu again it keeps stuck on:

Installing, this may take a few minutes...

when I CTRL+C and relaunch it again it gives me this error:

WslRegisterDistribution failed with error: 0x8000000d An illegal state change was requested.

I don't know what to do now. Any help is highly appreciated.

windows
powershell
ubuntu
windows-subsystem-for-linux
asked on Stack Overflow Apr 28, 2020 by Kashan

1 Answer

0

Sometimes shows this because wsl 2 is already installed and set to version 2.

answered on Stack Overflow Dec 17, 2020 by Ameen Ame

User contributions licensed under CC BY-SA 3.0