WSL2 installing issue

Tier1-Kamisetty, Kumar 0 Reputation points
2024-05-15T06:43:54.9266667+00:00

I am facing issue while installing wsl2 in our visual studio code.

WslRegisterDistribution failed with error

0x80041002Error: 0x80041002 (null)

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,910 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. akinbade abiola 3,890 Reputation points
    2024-05-15T08:41:24.6966667+00:00

    Hello Tier1-Kamisetty, Kumar,

    Thanks for your question.

    While further detailed logs may be required, it does look like the issue may come from your Hyper V.

    do u have any VM software installed? Please check your control panel for your network Adapters. Generally, if you have this error code it means one of your virtual adapters may be blocking hyper-v from starting up a new network for this.

    I will also advise you to check any VM software installed and your network driver as well.

    Please also take a look at this github documentation referencing a similar issue: https://github.com/microsoft/WSL/issues/11044#issuecomment-2010455939

    Please let me know if you have further questions

    You can mark it 'Accept Answer' if this helped.

    0 comments No comments