English
Appearance
English
Appearance
Before you can use WSL Dashboard, your Windows system must have WSL 2 properly enabled and configured. This document is divided into three main parts:
wsl commands doesn't mean Linux can be installed successfully.This chapter guides you through the necessary basic setup. After completing this chapter, read Chapter 2 to understand the difference between a working command and a successful installation; if you still run into problems, refer to Chapter 3.
WSL 2 has minimum Windows version requirements. Press Win + R and run winver to check your version:
IMPORTANT
If your version is too old, upgrade your system through "Windows Update" first.
WSL 2 runs on virtualization technology, so you must enable Virtualization Technology in the motherboard BIOS/UEFI.
Intel VT-x or AMD-V and set it to Enabled.You need to turn on "Windows Subsystem for Linux" and "Virtual Machine Platform".
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 the 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 package from WSL GitHub Releases for offline installation.To ensure newly installed distributions use WSL 2 by default, run the following in a terminal:
wsl --set-default-version 2wsl --set-version <distro-name> 2.The fact that commands like wsl --version and wsl -l -v run successfully does not mean your system is ready to install Linux. The two are different stages and cannot be equated.
A working command only means:
wsl.exe command-line tool is availableBut installing a Linux distribution successfully requires additional conditions. The common sticking points are:
wsl -l -v only lists installed distributions; when nothing is installed the list is empty, which doesn't mean you can run Ubuntu right away.wsl --install -d <distro> needs to pull images from the Store or the network; corporate networks, proxies, and firewalls can all block it.TIP
In short: a working WSL command ≠ Linux is ready — you've only got the "ticket", not the actual installed system.
After completing the configuration in Chapter 1 (or believing you have), if wsl --install still fails, check the following in order.
Run PowerShell as administrator and execute in order:
wsl --install --no-distribution
wsl --set-default-version 2Then run systeminfo and confirm the output contains Virtualization Enabled In Firmware: Yes. If none of the above report errors, you can generally proceed with wsl --install to install a distribution.
NOTE
No command can 100% guarantee that wsl --install will succeed, but the checks above confirm whether the installation conditions are met.
If the "one-click check" still can't pinpoint the problem, go through the items below:
systeminfo; 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 doesn't exist, the WSL components aren't installed — go back to Chapter 1.wsl --set-default-version 2 should return successfully. Common causes of failure: Virtual Machine Platform not enabled, or VT-x / AMD-V not enabled in the BIOS.| Situation | Description | How to handle |
|---|---|---|
| Virtualization not enabled in BIOS | Will always fail | Restart, enter the BIOS and enable VT-x / AMD-V (see 1.2) |
| Windows 10 below 19041 | wsl --install unsupported | Upgrade the system (see 1.1) |
| Enterprise environment disables Hyper-V / virtualization | May fail | Contact your system administrator |
| Old Home edition | Requires manual installation | Manually install the WSL kernel as in 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 — the Windows VHD/VHDX virtual disk stack is not working properly, so WSL 2 fails when registering a distribution or creating/mounting ext4.vhdx.
Start with a minimal test: Run PowerShell as administrator and execute a New-VHD test (e.g. New-VHD -Path C:\test.vhdx -SizeBytes 1GB). If this command reports the same error, the problem is 100% on the Windows side and unrelated to the distribution.
Troubleshoot and fix in the following order:
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 the Required Windows Features, then restart — this is required. Windows Home doesn't have full Hyper-V, but WSL 2 only needs 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 missing, you can add them manually with hdwwiz.exe (Storage controllers → Microsoft → Microsoft VHD Loopback Controller), and make sure the FsDepends service isn't disabled.
The imported image doesn't meet WSL requirements: When using wsl --import --vhd, the VHDX must be an ext4 file system — not a LUKS-encrypted disk, a plain raw.img, a Live ISO, or an empty NTFS/FAT-formatted disk. .img / .qcow2 / .iso files cannot be used directly with wsl --import --vhd.
Path/permission/file system issues: The target directory must be on an NTFS drive (FAT32/exFAT won't work); avoid Chinese characters, spaces, and special symbols in the path; don't import from network drives, OneDrive, or compressed folders; be sure to use a real administrator PowerShell (not a regular terminal).
Corrupted system components: Run DISM and SFC in order to repair system components, then try again:
DISM.exe /Online /Cleanup-Image /RestoreHealth
sfc /scannowTIP
Third-party virtual machines (VirtualBox, VMware) or security software sandbox/hardening features (such as 360, Huorong) may interfere with virtual disk operations; you can temporarily disable them while troubleshooting.