Erro 'Elemento não encontrado' ao tentar utilizar ou converter uma distro Linux do WSL 1 para o WSL 2.
WslRegisterDistribution failed with error: 0x80070490
Error: 0x80070490 Elemento não encontrado.
Olá! Eu estive um pouco angustiado com esse problema e como eu não encontrei uma solução, eu resolvi tentar por conta própria. Eu estou usando Windows 10 21H2 e esta tentativa foi realizada em 21/05/2022. Eu segui estes passos e obtive sucesso:
- Eu desinstalei as distros utilizando o comando >
wsl --unregister <Distro>
- Eu desinstalei o Docker
- Eu desinstalei o Hyper-V
- Após reiniciar o computador, eu utilizei o comando >
wsl --set-default-version 2
- Eu reinstalei a distro Ubuntu utilizando o comando >
wsl --install -d Ubuntu
- A instância do Subsistema do Windows para Linux foi terminada com sucesso.
- Eu verifiquei que a distro está executando como WSL 2 com o comando >
wsl -l -v
'Element not found' error when trying to use or convert a Linux distro from WSL 1 to WSL 2.
WslRegisterDistribution failed with error: 0x80070490
Error: 0x80070490 Element not found.
Hi! I've been a little distressed by this problem and as I haven't found a solution, I decided to try it on my own. I'm using Windows 10 21H2 and this attempt was made on 5/21/2022. I followed these steps and was successful:
- I uninstalled the distros using the command >
wsl --unregister <Distro>
- I uninstalled Docker
- I uninstalled Hyper-V
- After restarting the computer, I used the command >
wsl --set-default-version 2
- I reinstalled the Ubuntu distro using the command >
wsl --install -d Ubuntu
- The Windows Subsystem for Linux instance terminated successfully.
- I verified that the distro is running as WSL 2 with the command >
wsl -l -v