How to fix Error code: Wsl/Service/CreateInstance/MountVhd/ERROR_FILE_NOT_FOUND
Here are the steps you can take to resolve the error:
- Step 1 – List the distributions installed by running the following in PowerShell:
- Step 2 – Unregister the distribution. Replace “Ubuntu” with your distribution name found in Step 1:
wsl --unregister Ubuntu
- Step 3 – Launch the Ubuntu (or other distribution) which was installed using Microsoft Store1.
Please note that the
wsl --unregister Ubuntu command will completely uninstall your WSL distro. If you have any important data or settings in your WSL environment, make sure to back them up before proceeding.