I was getting this error trying to launch debian: Error: 0x80040326 Error code: Wsl/Service/0x80040326 Press any key to continue...

Dao Yuan Yang 0 Reputation points
2023-03-30T17:53:26.21+00:00

i chatgpt the problem, it asked me a wsl --unregister. Now all my directories before I run this command is gone. Is there a way to get them back, they are extremely important to me!

Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,989 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Limitless Technology 44,121 Reputation points
    2023-03-31T10:37:32.71+00:00

    Hello

    Thank you for your question and reaching out. I can understand you are having query\issues related to WSL.

    This problem can be easily resolved by:

    Open an Administrator PowerShell or Command Prompt window.

    Run the wsl.exe --update command.

    Rebooting your laptop or desktop will resolve the problem if you can access your default WSL distro after running wsl.exe once more.

    Alternatively, you can use the command wsl.exe --update --rollback to rollback the kernel version and create a functioning subsystem.

    --If the reply is helpful, please Upvote and Accept as answer--

    0 comments No comments

  2. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more