Skip to content

Problem installing WSL: Error code: Wsl/WSL_E_DEFAULT_DISTRO_NOT_FOUND #9338

Description

Version

Microsoft Windows [Version 10.0.22621.1028]

WSL Version

  • WSL 2
  • WSL 1

Kernel Version

5.15.79.1

Distro Version

Ubuntu (allegedly)

Other Software

No response

Repro Steps

On new system I ran

wsl --install

It installed wsl and says it installed Ubuntu however running

wsl -l

I get

wsl -l
Windows Subsystem for Linux has no installed distributions.

Use 'wsl.exe --list --online' to list available distributions
and 'wsl.exe --install ' to install.

Distributions can also be installed by visiting the Microsoft Store:
https://aka.ms/wslstore
Error code: Wsl/WSL_E_DEFAULT_DISTRO_NOT_FOUND

Running

wsl --install Ubuntu

I get

Ubuntu is already installed.
Launching Ubuntu...

and then in a new window I get

Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x80370114
Error: 0x80370114 The operation could not be started because a required feature is not installed.

Press any key to continue...

Expected Behavior

WSL and Ubuntu would be installed

Actual Behavior

WSL is installed but Ubuntu is not

Diagnostic Logs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions