'WSL Stopped working with error: 0x80070003

WSL2 stopped working. When, I do a new installation of linux distro, it throws the following error on click of the launch button:

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

Press any key to continue...

the wsl --help command works fine however wsl -l command and other wsl commands throw the following error

The system cannot find the path specified.


Solution 1:[1]

Check if you have any .wslconfig inside your profile in %USERPROFILE% folder and delete it! I finally got it working

FIY: https://github.com/microsoft/WSL/issues/3232#issuecomment-777023885

Solution 2:[2]

I was getting the same issue and it was due to my bad attempt at deleting the installed Distro. If yours is the same case, this should be pretty easy to fix, use the wsl --unregister <DISTRO_NAME> which in my case was debian so wsl --unregister debian unregistered the old path for the Debian executable and then I installed Debian again. This worked for my personal case but I thought it might help someone on the internet.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1
Solution 2 Ishaan Pathak