Skip to content

Correct messages that appear when installing WSL without or with WSL1 #10867

Closed
@manelrodero

Description

@manelrodero

Windows Version

Microsoft Windows [Version 10.0.22631.2428]

WSL Version

2.0.9.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

5.15.133.1-1

Distro Version

Does not apply

Other Software

No response

Repro Steps

  • Clean Windows 11 installation
  • Open new Administrator prompt
  • Install WSL2 from Microsoft Store using wsl.exe --install --no-distribution (and/or enable WSL1 adding --enable-wsl1)

Expected Behavior

In case a) no message about Windows Subsystem for Linux should appear because default installation don't enable this Feature as we can see in this screenshot:

image

In case b) the message should appear once we're enabling this feature as we can see in this screenshot:

image

Actual Behavior

  • Case a) Execute wsl.exe --install --no-distribution

A message about "Installing: Windows Subsystem for Linux" appear as in this screenshot:

image

  • Case b) Execute wsl.exe --install --enable-wsl1 --no-distribution

The message about Windows Subsystem for Linux appears twice:

image

Diagnostic Logs

No response

Metadata

Metadata

Assignees

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