How to resolve Wsl/Service/CreateInstance/0x80040326

vishnu saravanan 145 Reputation points
2023-03-30T04:20:11.47+00:00

I had my wsl1 ubuntu running smoothly and recently i have installed kali-linux on wsl2.

Both the distro was working fine till yesterday and now both are failing with same error

Windows for business Windows Client for IT Pros User experience Other
{count} votes

6 answers

Sort by: Most helpful
  1. Rodrigo Schneider 125 Reputation points
    2023-03-30T11:20:22.88+00:00

    Woke up to this error. Updating WSL also worked for me.

    wsl --update
    
    25 people found this answer helpful.
    0 comments No comments

  2. RafalK 30 Reputation points
    2023-05-09T08:49:35.1333333+00:00

    Me too, I get tht a lot recently on windows11. If you're already on latest version of WSL, what works for me is to restart the vm.

    Using Powershell as Admin user run: "Restart-Service vmcompute"

    6 people found this answer helpful.

  3. Johnny Serup 25 Reputation points
    2023-03-30T14:16:31.6+00:00

    Tried all suggestions related online for this type of issue - seen it before, however this time the only thing that worked was the "wsl --update". Too bad I did not see this post first :-)

    5 people found this answer helpful.
    0 comments No comments

  4. Menatombo 20 Reputation points
    2023-03-31T16:53:28.37+00:00

    wsl --update

    worked for me too. Something had to have changed with this error appearing yesterday...

    The fix is easy enough, but I would love if MS would provide more patch notes when it updates things... If they want devs to keep using Windows with a Linux subsystem... They need to provide more than they are used to. I don't want projects I am working on to fail not because of me... But because MS in their infinite wisdom is doing something to try to save end users from themselves and telling no one else about it.

    4 people found this answer helpful.
    0 comments No comments

  5. 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

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.