[Solved] Win10 Install wsl2 unbuntu Error: WslRegisterDistribution failed with error: 0x80070002

Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x80070002
Error: 0x80070002 The system cannot find the file specified.

Press any key to continue...

Solution: don’t use wsl2 by default, use wsl1 by default (input WSL — set default version 1 after PowerShell opens)

Then install Ubuntu again.

Read More: