Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't launch wsl after the update #8859

Closed
1 of 2 tasks
innoseon opened this issue Sep 23, 2022 · 1 comment
Closed
1 of 2 tasks

Can't launch wsl after the update #8859

innoseon opened this issue Sep 23, 2022 · 1 comment

Comments

@innoseon
Copy link

Version

Microsoft Windows [版本 10.0.22621.521]

WSL Version

  • WSL 2
  • WSL 1

Kernel Version

5.15.62.1

Distro Version

Ubuntu(default)

Other Software

No response

Repro Steps

1.wsl --update
2.wsl.exe(then the error happens)

Expected Behavior

wsl.exe
(enter the linux bash)

Actual Behavior

wsl.exe
can not find VmSwitch 'ex'。
Error code: Wsl/Service/CreateInstance/CreateVm/ConfigureNetworking/WSL_E_VMSWITCH_NOT_FOUND

Diagnostic Logs

No response

@hugorosario
Copy link

hugorosario commented Nov 20, 2022

This issue was driving me nuts after upgrading WSL to 1.0.0 via "wsl --update".

I was having the error :
O VmSwitch 'Bridge' não foi encontrado. Error code: Wsl/Service/CreateInstance/CreateVm/ConfigureNetworking/WSL_E_VMSWITCH_NOT_FOUND

Google brought me here without a solution, which is quite easy.

For anyone finding their way here, just go into the Hyper-V manager and create the missing internal switch with the same name specified in the error or run the command with admin privileges:

New-VMSwitch -Name "Bridge" -SwitchType "Private"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants