Skip to content

Disabled Windows Subsystem for Linux Optional Component after updating to store version #9411

@xudyang1

Description

@xudyang1

Version

Microsoft Windows [Version 10.0.19045.2364]

WSL Version

  • WSL 2
  • WSL 1

Kernel Version

5.4.72

Distro Version

Ubuntu 20.04

Other Software

No response

Repro Steps

  1. Installed in-box version WSL2 (installed 6 months ago), and then update the old Windows component WSL to store version by wsl --update.
  2. disabled the optional feature Windows Subsystem for Linux in Turn Windows features on or off.
  3. restart pc
  4. run wsl --version, and got This application requires the Windows Subsystem for Linux Optional Component. The system may need to be restarted so the changes can take effect.

Expected Behavior

According to the blog, "wsl.exe --install will now automatically install the Store version of WSL, and will no longer enable the “Windows Subsystem for Linux” optional component, or install the WSL kernel or WSLg MSI packages as they are no longer needed (The Virtual machine platform optional component will still be enabled, and by default Ubuntu will still be installed)." Since the optional component is no longer needed in store version, wsl2 should be normally activated even with this feature disabled.

Actual Behavior

The store version of WSL still requires the Windows Subsystem for Linux Optional Component.

Diagnostic Logs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions