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.

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:

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)
I had this problem for a while and was able to resolve it by running below command in cmd as admin
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: