Skip to content

[Store APP] Check/Install Virtual Machine platform #7578

@nunix

Description

@nunix

Is your feature request related to a problem? Please describe.
After a clean Windows 11 install, I tried to install "only" the Windows Subsystem for Linux store app.
While the installation worked perfectly, once I installed a distro, also from the store, then I got the error that a feature was missing.

Running wsl --status confirms the feature missing:
image

Describe the solution you'd like
When installing WSL from the Store App, it leverages the wsl --install command for checking and installing the Virtual Machine Platform feature if not installed.
This will enhance the end-user experience by handling the WSL install entirely.

Describe alternatives you've considered
I tried running afterwards wsl install, and as the Store app takes precedence, then I got the same error:
image

Finally, the solution is to enable "manually" the feature, either via the UI or with Powershell

Additional context
As stated above, this feature will help more the fresh installs.

Thanks a lot for your support.
WSL Corsair

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