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
- 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
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 LinuxinTurn 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