Wi-Fi disconnected by WSL

Wi-Fi disconnects when starting docker desktop.
Wi-Fi reconnects when vEthernet (WSL) is disabled in changing adapter options
What kind of settings should I do to prevent Wi-Fi from disconnecting?

edition Windows 10 Pro
version 22H2
install date ?2023/?04/?21
OS build 19045.3324
experience Windows Feature Experience Pack 1000.19041.1000.0

Does your WFI really disconnect or do you only lose internet access?

Can you for example run the following command from command line?


I found a similar issue without answer:

If I didn’t know WSL gets its new IP address after every reboot, I would guess that it gets a subnet whih intersects with your wifi network, but that is not likely to happen every time unless your wifi subnet is very wide like but then WSL would detect it and find an IP address like 192.168.x.x

You can still check your IP on the host and in the WSL disribution to confirm the subnets don’t intersect.

Thank you for your response.

I pinged but the request timed out and the destination host was unreachable

And did you check the subnets too?

I checked the subnet by the command of ipconfig.

Ethernet Adapter vEthernet (WSL):

Connection-specific DNS Suffix . . . . .:
IPv4 Address . . . . . . . . . . . . .:
Subnet Mask . . . . . . . . . . . . . .:
Default Gateway . . . . . . . . . . . .:

That is a usual subnet for WSL. Without knowing your LAN subnet, I can’t tell if it should fail or not. You don’t have to share it, just make sure there is no intersection between the LAN and WSL subnets.

My LAN subnet is below.
I assume that there is no intersection between the LAN and WSL subnets.

Wireless LAN adapter Wi-Fi:

Connection-specific DNS Suffix:
IPv4 Address:
Subnet Mask:
Default Gateway:

What happens if you don’t start Docker Desktop, just start a WSL distribution?

If I start a WSL distribution, Wifi is disconnected as well.

Then you can try to ask for help in Microsoft’s forum too: answers.microsoft.com: Windows

I would help if I could, but I don’t have more ideas.

Thank you for thinking about the problem.