Microsoft has rolled out WSL 2.4.8, delivering enhancements to improve modern Linux distribution handling under WSL1 and streamline system operations across both versions of the Windows Subsystem for Linux.
The update resolves critical issues, such as resource allocation and missing terminal profiles during distribution conversions, while introducing changes that make Linux workflows smoother for developers.
The Windows Subsystem for Linux allows users to run a Linux environment natively on Windows without dual-booting or using virtual machines. WSL1 translates Linux system calls into Windows API calls, while WSL2 runs a full Linux kernel for better performance, compatibility, and resource management.
Key Enhancements for Modern Distributions
One of the notable changes in WSL 2.4.8 ensures that terminal profiles and Start menu shortcuts are no longer deleted when converting a distribution between WSL1 and WSL2. Previously, users encountered disruptions as these shortcuts, which facilitate quick access to Linux environments, would disappear during the conversion process.
In addition, Microsoft introduced improvements to the wsl --install
command. Modern Linux distributions can now be installed without case sensitivity, reducing common errors during installation. This update improves command consistency, especially in environments where case handling can lead to confusion.
Fixes for System Resource Allocation
A logic error that caused wsl2.processors
to default to the maximum number of logical processors has also been addressed. Previously, this issue led to inefficient resource allocation, forcing developers to manually adjust their system settings. The corrected logic ensures users can allocate processors more effectively, balancing performance between Windows and Linux environments.
The WSL 2.4.8 update also brings improvements to the Microsoft Remote Desktop Client, with the version upgraded to 1.2.5716. This enhancement ensures better performance and stability for developers who use remote connections alongside their WSL environments.
Kernel updates were introduced in earlier WSL releases to align WSL2 with upstream Linux kernel versions. Notably, version 2.3.26 updated the WSL kernel to 5.15.167.4, fixing bugs within the XSAVES subsystem—a critical feature for managing virtualized processes and saving CPU state data.
Improvements Leading Up to 2.4.8
WSL’s recent development history includes a series of refinements that contribute to a more stable and efficient experience.
- Gzip Compression for Export Operations: Users can now compress Linux distributions with gzip when using the
wsl --export
command, saving space and improving transfer speeds. - Progress Tracking: File size-based progress indicators provide better visibility for lengthy export operations.
- Block Device Logic: Improvements ensure filesystem tools like
mkfs
work seamlessly by waiting for block devices to become available.
Earlier versions also introduced double-click installation for modern distributions and improved default user management with the wsl --manage --set-default-user
command.
In a step toward future-proofing WSL networking, Microsoft included a warning about the planned deprecation of bridged networking. Instead, users will rely on newer connectivity models, such as virito proxy networking, which provides an alternative if NAT configurations fail.