You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Installed in-box version WSL2 (installed 6 months ago), and then update the old Windows component WSL to store version by wsl --update.
disabled the optional feature Windows Subsystem for Linux in Turn Windows features on or off.
restart pc
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
The text was updated successfully, but these errors were encountered:
I have two Windows 10 system and two with Windows 11 (and all with WSL). From what I can tell, the WSL optional feature is still required on Windows 10. On my Windows 11 systems, the App/Store version of WSL2 still functions when the optional feature is disabled.
Thanks for posting. The store version of Windows Subsystem for Linux requires the WSL optional component on Windows 10. On Win11, it's only required for WSL1 support. Closing as by design.
Version
Microsoft Windows [Version 10.0.19045.2364]
WSL Version
Kernel Version
5.4.72
Distro Version
Ubuntu 20.04
Other Software
No response
Repro Steps
wsl --update
.Windows Subsystem for Linux
inTurn Windows features on or off
.wsl --version
, and gotThis 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
The text was updated successfully, but these errors were encountered: