WSL: wsl command doesn't work and Ubuntu process in WT exits with 3221226505

Version

Microsoft Windows [Version 10.0.19043.1288]

WSL Version

  • WSL 2
  • WSL 1

Kernel Version

4.4.0

Distro Version

Ubuntu 20.04

Other Software

No response

Repro Steps

First, wsl --list command doesn’t output anything. Neither do other commands.

image

Second, I installed Ubuntu 20.04 from the distro download (not the store, since I don’t have access to it). I can launch Ubuntu from start menu. But from Windows Terminal I get this error: [process exited with code 3221226505]. Here are my WT profile settings: image

Expected Behavior

I should be able to successfully launch Ubuntu from WT.

Actual Behavior

In WT I get this: [process exited with code 3221226505]

Diagnostic Logs

ETL file here: https://drive.google.com/file/d/1gaHHQpsewccTq8VFT0LjzzJyIFaJxfpU/view?usp=sharing

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Reactions: 4
  • Comments: 15 (2 by maintainers)

Most upvoted comments

I had this problem for a while and was able to resolve it by running below command in cmd as admin

sc config LxssManager start=auto

Alternatively click Start -> Services -> find LxssManager service and make sure Startup type is set to Automatic and the service is running.

Note, every now and again, WSL will stop working and throw [wsl process exited with code 3221226505] error again. Just run above command again and you’re good to go.

Guys, I have solved this problem. Roll back the ads in PowerShell or the command line. Instruction manual:

  1. open PowerShell
  2. write: wmic qfe list brief /format:table image
  3. Deleting the latest update. If it didn’t help, we delete another earlier one.
  4. To delete a specific update, write: wusa /uninstall /code: Update ID (for example, KV:3156421); image
  5. Restarting the PC.
  6. Done! Who helped please like my git.