-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Description
Windows Version
Windows 11 Insider Preview Build 26100 24H2
WSL Version
2.6.3.0
Are you using WSL 1 or WSL 2?
- WSL 2
- WSL 1
Kernel Version
6.6.87.2-1
Distro Version
No Linux distribution is currently installed, as all attempts to install or register a WSL 2 distribution fail with error 0x80070001. However, WSL 1 distributions (e.g., Ubuntu, Debian) can be installed and run successfully. The issue appears to affect all distributions equally, as it stems from the WSL 2 virtualization layer (HCS), not the distribution itself.
Other Software
No response
Repro Steps
I have successfully enabled and used WSL 2 on multiple machines in the past.
However, on three separate devices running Windows 11 Insider Preview Build 26100.7462, I consistently encounter the same failure:
Enable required Windows features:
powershell
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
Set WSL 2 as default:
powershell
wsl --set-default-version 2
Attempt to install any Linux distribution (e.g., Ubuntu, Debian) via:
powershell
wsl --install -d Ubuntu
→ Fails with:
text
WslRegisterDistribution failed with error: 0x80070001
Error: 0x80070001 ??????
Also tried importing a previously working WSL 2 distribution backup (via wsl --import), which also fails with the same error during registration.
In contrast, installing the same distributions with --version 1 succeeds immediately on all three machines.
Expected Behavior
After enabling the required Windows features (VirtualMachinePlatform and Microsoft-Windows-Subsystem-Linux) and setting WSL 2 as the default version, installing any Linux distribution (e.g., via wsl --install -d Ubuntu) should succeed without error.
The distribution should be registered, initialized, and run in WSL 2 mode, as observed on previous Windows builds (e.g., 22631, 22621) and confirmed working on other machines with stable or earlier Insider builds.
Similarly, importing a previously exported WSL 2 distribution using wsl --import should also succeed when --version 2 is specified.
Actual Behavior
All distributions are affected equally (Ubuntu, Debian, Kali tested).
WSL 1 works perfectly: Installing the same distributions with --version 1 succeeds immediately.
The vmcompute service is running, and no antivirus/firewall interference is present.
Event Viewer shows HCS log: "Failed to create compute system: The function is incorrect. (0x80070001)"
Diagnostic Logs
No response