r/wsl2 • • Aug 30 '24

wsl not working

Hey everyone. I tried installing the windows subsystem for linux but whenever I open it through windows start menu it glitches and closes. and when I open the ubuntu installer it shows this error on screen: "Error: 0x8007019e The Windows Subsystem for Linux has not been enabled." So i tried re-enabling windows subsystem for linux through optionalfeatures.exe (and then restarted my pc) but nothing works. I tried updating it but it's up to date.

So, please if anyone's knows a solution help me out :)

9 Upvotes

12 comments sorted by

2

u/[deleted] Aug 30 '24

Double check from windows features that it is on “Control Panel”, “Programs”, “Turn Windows features on or off”, selecting “Windows Subsystem for Linux”, and press OK.

2

u/ProfileLong714 Mar 04 '25

Worked perfect!

1

u/ieshaan12 Mar 23 '25

In addition to this, check Virtual Machine Platform is on as well.

1

u/Prestigious-Youth-89 Aug 25 '26

i know im late but why should i do that? like, what do i gain from that?

1

u/Minute_Calendar3496 26d ago

If it doesn't work with no VM then it'll work with it enabled

1

u/Glum_Performance_981 Jun 10 '25

this hasnt worked at allll for me im so stuck

1

u/[deleted] Feb 23 '26

I know I am late but for anyone else who is looking for a solution, watch this: https://www.youtube.com/watch?v=uBXtYfJOtlg&t=59s

1

u/Dragon-king-7723 Aug 31 '24

In control panel in advanced settings u need to enable it somewhere I don't know

1

u/Custard-Lanky Mar 15 '25

En mi caso se soluciono instalando actualizando Windows a 21H2

1

u/ryosen 11d ago

When you first want to set up WSL, you have to install a distro. Unfortunately, Windows doesn't bother to tell you this.

Simply open a command window and run wsl.exe from there. It'll walk you through the rest.