It’s been a week since the BUILD conference ended, but Microsoft has one last announcement up its sleeve. The Windows Subsystem for Linux (WSL) is gaining some new features, and it will soon offer a dedicated GUI for more convenient settings adjustments.
Two features that were introduced in the WSL September 2023 update—autoMemoryReclaim and dnsTunneling—are now transitioning from experimental status to default, stable settings. The autoMemoryReclaim feature aims to free unused RAM from the clutches of WSL, which may improve system performance while running memory-hogging applications on some systems. And, as the name implies, dnsTunneling improves WSL’s network compatibility by enabling DNS tunneling by default.
This update also introduces an experimental automatic disk space reclaim setting that you can enable using – wsl –manage –set-sparse <true/false>. And Microsoft is taking this opportunity to remind users that the experimental mirrored networking mode, which debuted in the September 2023 update, can be enabled with – wslconfig setting of networkingMode=mirrored. Other experimental features introduced in the September 2023 update, such as sparseVhd, were promoted to default settings earlier this year.
More interestingly, Microsoft is preparing to launch a WSL Settings GUI app. This saves you the trouble of manually editing the contents of the .wslconfig file or fiddling in the command line when adjusting things like memory or disk usage. Any changes made to the .wslconfig file will be immediately reflected in the WSL Settings GUI app, so you can continue doing things the old-fashioned way, if that’s what you’d prefer.
Microsoft has also announced that WSL will support the Dev Home app’s new Environments feature, which makes it easier to manage and launch operating systems for development purposes. The work in progress source code is currently available on GitHub. For enterprise customers, Microsoft Defender for Endpoint’s WSL 2 support is now generally available. WSL management via Intune is also rolling out as a public preview, and Microsoft Entra Id is coming to WSL later this year.
You can read more about the new WSL update at Microsoft’s Command Line blog. Note that you can report technical issues at the WSL GitHub repo.
Source: Microsoft