- You can now configure advanced options for Linux distros with the new Settings GUI for WSL.
- Dev Home is getting a new feature to install, uninstall, start, and stop Linux distros using a graphical interface.
Microsoft is preparing to introduce two graphical experiences for the Windows Subsystem for Linux (WSL), including a new Settings app for configuring settings and a new “Environments” experience inside the Dev Home app for managing Linux distributions.
WSL Settings GUI
Although it’s possible to install a Linux distro and start using it without extra steps, WSL includes the “.wslconfig” and “wsl.conf” files to configure advanced settings. The “wsl.conf” file can be used to configure settings for each distribution, while the “.wslconfig” file allows you to configure settings globally for all distros.
The only caveat with these files is that they are text files that can be difficult to configure as you have to input the exact settings you want to use. The new “Settings” app for WSL includes every option available for your computer and is organized into categories, making it easier to configure.
For example, the interface allows you to change the settings for processor, memory allocation, and swap, and you can even configure folder access, network, and other settings.
The new interface works with the “.wslconfig” file, meaning that it can read the current configuration, and you can update your existing settings from the experience. You can think of this new Settings app as a way to read and modify the WSL configuration files without directly modifying them.
Microsoft is still working on this feature, and while there isn’t a release date, the company said it’s coming soon.
WSL Manager from Dev Home
In the Dev Home app, Microsoft is also working on a new “Environment” experience that allows you to manage various aspects of your Linux distros. For example, you can create new WSL environments, and it’s possible to start and stop distros.
It’s important to note that this feature is not only for Linux distributions. It also works to create and manage Hyper-V environments.
This implementation is also coming soon, but the company is making available a preview of the WSL Dev Home extension from GitHub that you can download and install on your computer.
You will also need to install WSL on Windows 11 before setting up Linux distributions using the Environments feature.
Other WSL updates
In addition to these features, Microsoft has also announced a few improvements for WSL, including the ability to release the memory allocation back to the operating system using the default autoMemoryReclaim=dropCache setting, and the default dnsTunneling=true setting has been added to improve networking.
Furthermore, as part of the May 2024 update, WSL ships some additional experimental features, including the wsl --manage distro --set-sparse
true
or false
to enable automatic disk space to reclaim.
Also, you can use the networkingMode=mirrored
setting to support mirrored networking mode, which adds new features, such as IPv6 support.
Finally, for organizations using WSL, Microsoft is also adding the principles of zero trust by adding Microsoft Defender for Endpoints, Intune agent, and Microsoft Entra ID integration.