WSL icon indicating copy to clipboard operation
WSL copied to clipboard

Can't use WSL2 after last update

Open Cyterafle opened this issue 3 years ago • 10 comments

Windows Version

Microsoft Windows [version 10.0.19045.3693]

WSL Version

2.0.9.0

Are you using WSL 1 or WSL 2?

  • [X] WSL 2
  • [ ] WSL 1

Kernel Version

No response

Distro Version

Ubuntu 22.04.2

Other Software

No response

Repro Steps

wsl --update from an elevated terminal

Expected Behavior

Working as intended

Actual Behavior

I can't use WSL anymore image And when I try to open Ubuntu I have this error image

Diagnostic Logs

No response

Cyterafle avatar Nov 18 '23 09:11 Cyterafle

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

github-actions[bot] avatar Nov 18 '23 09:11 github-actions[bot]

I found a temporary fix here : https://github.com/microsoft/WSL/issues/10764#issuecomment-1815485695 And the same issue here : https://github.com/microsoft/WSL/issues/10764

Cyterafle avatar Nov 18 '23 11:11 Cyterafle

Go to the "Turn Windows features on or off" and check whether "Virtual Machine Platform" is enabled. It seemed that the latest Windows update has turned off this option. I faced similar issue and solved it this way.

cnjawi avatar Nov 18 '23 14:11 cnjawi

Accessing to WSL through a PowerShell with administrator privileges seems to fix the issue. I used wsl.exe and not wsl, once you run WSL this way seems that you can access WSL again normally.

It worked for me, can somebody else confirm?

EDIT: I can only access to WSL through a terminal with administrator privileges.

pahar0 avatar Nov 19 '23 03:11 pahar0

Accessing to WSL through a PowerShell with administrator privileges seems to fix the issue. I used wsl.exe and not wsl, once you run WSL this way seems that you can access WSL again normally.

It worked for me, can somebody else confirm?

EDIT: I can only access to WSL through a terminal with administrator privileges.

Same with me but since update GUI is laggy

Cyterafle avatar Nov 19 '23 21:11 Cyterafle

Go to the "Turn Windows features on or off" and check whether "Virtual Machine Platform" is enabled. It seemed that the latest Windows update has turned off this option. I faced similar issue and solved it this way.

I launch as an admin It works

Cyterafle avatar Nov 19 '23 21:11 Cyterafle

Same issue, can only run wsl with admin rights, everything else fails. Have to manually run it on admin. Docker Desktop fails, but when launched with admin rights, succeeds aswell. For now I can work like this but it needs to be fixed..

baiciluigi avatar Nov 20 '23 13:11 baiciluigi

Thanks everyone for reporting this. If you hit the "element not found / ERROR_NOT_FOUND" issue, please follow this post to collect logs to help us root cause it.

OneBlue avatar Nov 20 '23 22:11 OneBlue

Fixed in 2.0.14

OneBlue avatar Dec 01 '23 21:12 OneBlue

The application cannot be started because it is currently updating

waliaryan avatar Nov 17 '24 06:11 waliaryan