WSL: Installation Failed with Error 0x8007019e

  • Your Windows build number: Microsoft Windows [版本 10.0.17107.1000]

  • What you’re doing and what’s happening:

D:\>ubuntu
Installing, this may take a few minutes...
Installation Failed!
Error: 0x8007019e
Press any key to continue...
  • What’s wrong / what should be happening instead: Cannot run ubuntu and opensuse

I have tried Repair, Reset and reinstall these two apps, but the problem is still there. Is there anything I can do to check the detail of the problem?

About this issue

  • Original URL
  • State: closed
  • Created 9 years ago
  • Reactions: 41
  • Comments: 54 (2 by maintainers)

Most upvoted comments

@0NG Make sure Windows Subsystem for Linux is checked. image

In case it helps someone, I had the same error despite having WSL checked. Unchecking it, rebooting, checking it, rebooting again, and running Ubuntu install worked for me.

I have tried everything suggested here and nothing works. I reset my PC due to terrible performance and webpages not loading anymore and now I can no longer use WSL.

This really can not be closed until this is fixed as this is a level I would call OS BREAKING.

However, I found one solution.

Download the latest RELEASE version of WSL from GitHub github.com/microsoft/WSL/releases/tag/2.2.4

I used the MSI installer x64. And lo and behold it immediately started working without restarting the PC.

I am not so happy with this having been closed without any changes. Can’t we add a more descriptive error message which points the user into the right direction?

Rebooting only after enabling worked for me:

  1. Run as administrator:

    disable-windowsoptionalfeature -featurename 'microsoft-windows-subsystem-linux' -online -norestart
    enable-windowsoptionalfeature -featurename 'microsoft-windows-subsystem-linux' -online 
    
  2. Reboot.

Or as a script:

#requires -runasadministrator
disable-windowsoptionalfeature -featurename 'microsoft-windows-subsystem-linux' -online -norestart
enable-windowsoptionalfeature -featurename 'microsoft-windows-subsystem-linux' -online -norestart
restart-computer -force

Yep somehow the WSL feature was disabled, that’s what error 0x8007019e means.

@AnthonySteele this reminds me of The IT Crowd: “Have you tried turning it off and on again?” But I must say… It worked! 👍

The happened to me today. I have been using WSL daily, suddenly it does not work. The Windows feature is checked.

to: fix: uncheck the feature, reboot, check the feature, reboot.

Windows 11. All of the suggestions above didn’t help -_- still error.

I have seen a similar error a few more times, usually right after the machine was started up. In those cases, I tried again 5 minutes later and it worked then. Without a re-install.

In case this helps anyone else, I had this problem show up today after using WSL for months with no problems. I recently changed my startup to automatically open ConEmu on system boot. All I did to rectify this was to close all open terminals. I reopened ConEmu and now it seems to be working fine. Perhaps trying to open WSL too early in the boot process can cause this error.

@slyfox1186 ahhh its worked

@slyfox1186 I’ve been trying to fix the issue after the complete PC reset for about an hour and nothing had helped, until I found your solution and it worked. Liked the comment, lifesaver

@SalamiArmy This didn’t work for me, too. But after a while (and many windows updates) it works now without doing anything.

I think I’m the first person in this thread for whom unchecking and re-checking didn’t work. I’ve tried Ubuntu 18, OpenSuse and Debian

I think this should to the common troubleshooting on: https://docs.microsoft.com/en-us/windows/wsl/install-win10

I get the same error, but my linux subsystem is already installed and enabled.

It appears hbflt.sys is a BitDefender file-system filter, and there have been a couple of other reports (#1750, #2323) involving BitDefender. Those were usability issues instead of crashes, but possibly all related.