WSL icon indicating copy to clipboard operation
WSL copied to clipboard

WSL can't start, throws error 0xc0000022

Open keyduq opened this issue 4 years ago • 1 comments

Version

Microsoft Windows [Version 10.0.22000.978]

WSL Version

  • [X] WSL 2
  • [ ] WSL 1

Kernel Version

Can't run this command, throws the same error

Distro Version

Ubuntu 18.04

Other Software

Docker Desktop v4.12.0 (this one also won't start, it will throw the same error) Visual Studio Code 1.71.1

Repro Steps

  1. Just open bash, wsl or docker it will throw the error

Expected Behavior

  1. It should start without any error

Actual Behavior

This is the alert that I keep getting every time I try to open bash.exe, wsl.exe or docker desktop wsjqmTTsDW

After I hit OK it will show this: WindowsTerminal_TBxtpLynKD

Any parameter I use with wsl.exe throw the same error

Diagnostic Logs

WslLogs-2022-09-20_19-24-11.zip

keyduq avatar Sep 20 '22 22:09 keyduq

I had installed WSL preview, I uninstall it through windows settings and then install this update https://learn.microsoft.com/en-us/windows/wsl/install-manual#step-4---download-the-linux-kernel-update-package

Not sure if this is the best way but fixed my issue 🙂

keyduq avatar Sep 21 '22 17:09 keyduq