WSL: WSL installation fails with error "0x8007019e" - version 2.0.9.0 and 2.0.12.0

Windows Version

Microsoft Windows [Version 10.0.22621.2715]

WSL Version

2.0.12.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

5.15.133.1-1

Distro Version

No response

Other Software

Docker Desktop

Repro Steps

wsl --install

Expected Behavior

wsl --install should install default distro as Ubuntu, and Docker Desktop should be able to create docket-desktop-data and docker-desktop.

Actual Behavior

Executing wsl --install command returns an error “0x8007019e The Windows Subsystem for Linux has not been enabled.”.

wsl --install Ubuntu is already installed. Launching Ubuntu… Error: 0x8007019e The Windows Subsystem for Linux has not been enabled.

Press any key to continue… The operation completed successfully.

Diagnostic Logs

No response

About this issue

Most upvoted comments

Hello @OneBlue, please let me know in you had any findings.