English
Appearance
English
Appearance
Before using WSL Dashboard, your Windows system must have WSL 2 properly enabled and configured. This document is divided into the following three main parts:
wsl command being runnable does not mean Linux can be successfully installed.This chapter will guide you through the essential basic setup. After completing this chapter, read Chapter 2 to understand the difference between command availability and a successful installation; if you still run into installation problems, refer to Chapter 3.
WSL 2 has minimum Windows version requirements. Press Win + R, type winver, and check your version:
IMPORTANT
If your version is too old, please upgrade your system through Windows Update first.
WSL 2 runs on virtualization technology, so Virtualization Technology must be enabled in your motherboard's BIOS/UEFI.
Intel VT-x or AMD-V, and set it to Enabled.You need to enable the "Windows Subsystem for Linux" and "Virtual Machine Platform" features on Windows.
Win + S, search for and open "Turn Windows features on or off".Run PowerShell as Administrator and execute the following commands:
# Enable WSL
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
# Enable Virtual Machine Platform
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestartAfter execution, restart your computer manually.
Modern versions of Windows can get WSL updates through the Microsoft Store.
.msixbundle or .msi installer from WSL GitHub Releases for an offline installation.To ensure that newly installed distributions use WSL 2 by default, run the following in your terminal:
wsl --set-default-version 2wsl --set-version <DistroName> 2 to upgrade an existing WSL 1 instance to WSL 2.Commands such as wsl --version and wsl -l -v running normally does not mean the conditions for installing Linux are already in place. The two are at different stages and cannot be equated.
Command availability only means:
wsl.exe command-line tool is availableBut successfully installing a Linux distribution requires additional conditions to be met. Common places where you may get stuck include:
wsl -l -v only lists installed distributions; if nothing is installed, the list is simply empty — it does not mean you can directly run Ubuntu.wsl --install -d <Distro> needs to pull the image from the Store or the network; corporate networks, proxies, and firewalls may all block it.TIP
To put it simply: WSL commands working ≠ Linux is ready — you've only got the "ticket" to the venue, but the system hasn't actually been installed yet.
After completing the configuration following Chapter 1 (or if you believe you have completed it), if wsl --install still fails, check the following in order.
Run PowerShell as Administrator and execute the following in order:
wsl --install --no-distribution
wsl --set-default-version 2Then run systeminfo and confirm that Virtualization Enabled In Firmware: Yes appears in the output. If none of the above reports an error, you can safely run wsl --install to install a distribution.
NOTE
No command can 100% guarantee that wsl --install will succeed, but the checks above can confirm whether the installation requirements are met.
If the "one-click check" still cannot pinpoint the problem, check the items one by one:
systeminfo in an administrator PowerShell; the output must show Virtualization Enabled In Firmware: Yes.Get-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
Get-WindowsOptionalFeature -Online -FeatureName VirtualMachinePlatformEnabled.wsl --version should produce normal output; if it says the command does not exist, the WSL components are not installed — go back to Chapter 1.wsl --set-default-version 2 should return successfully. Common failure causes: the Virtual Machine Platform is not enabled, or VT-x / AMD-V is not enabled in the BIOS.| Situation | Explanation | How to handle |
|---|---|---|
| Virtualization not enabled in BIOS | Always fails | Restart and enable VT-x / AMD-V in the BIOS (see 1.2) |
| Windows 10 below 19041 | wsl --install not supported | Upgrade the system (see 1.1) |
| Hyper-V / virtualization disabled in an enterprise environment | May fail | Contact your system administrator |
| Old Home edition system | Manual installation required | Manually install the WSL kernel following 1.4 |
The error message is Cannot find a virtual disk support provider for the specified file. This is not a problem with the Linux distribution itself, but Windows' VHD/VHDX virtual disk stack is not working properly, causing WSL 2 to fail when registering a distribution or creating/mounting ext4.vhdx.
Run a minimal verification first: Run PowerShell as Administrator and execute a New-VHD test (e.g., New-VHD -Path C:\test.vhdx -SizeBytes 1GB). If this command also reports the same error, the problem is 100% on the Windows side and has nothing to do with the distribution.
Check and fix the issue in the following order:
The Virtual Disk service is not running: Open services.msc, find the Virtual Disk service, set its startup type to "Automatic", and start it.
WSL / Virtual Machine Platform features not enabled (or not in effect): Re-run the commands in 1.3 Enable Windows Features, and then you must restart. Windows Home edition does not have full Hyper-V, but WSL 2 only needs the Virtual Machine Platform, not the Hyper-V management interface.
Virtual disk driver/device missing: Open Device Manager and check whether the following exist under "System devices / Storage controllers":
If they are missing, you can add them manually via hdwwiz.exe (Storage controllers → Microsoft → Microsoft VHD Loopback Controller), and make sure the FsDepends service is not disabled.
The imported image does not meet WSL requirements: When using wsl --import --vhd, the VHDX must be an ext4 file system; it cannot be a LUKS-encrypted disk, a plain raw.img, a Live ISO, or an empty disk formatted with NTFS/FAT. .img / .qcow2 / .iso cannot be directly used with wsl --import --vhd.
Path/permission/file system issues: The target directory must be on an NTFS disk (FAT32/exFAT won't work); avoid Chinese characters, spaces, and special symbols in the path; do not import from network drives, OneDrive, or compressed folders; always use a real administrator PowerShell (not a regular terminal).
System components are corrupted: Run DISM and SFC in order to repair system components, and then try again:
DISM.exe /Online /Cleanup-Image /RestoreHealth
sfc /scannowTIP
Third-party virtual machines (VirtualBox, VMware) or the sandbox/hardening features of security software (such as 360, Huorong) may interfere with virtual disk operations; you can temporarily disable them and try again while troubleshooting.