microsoft / microsoft/WSL

WSL crashing when trying to install Ubuntu error : 0x80070057

Open
#12,694 13 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
33.7k
Forks
1.8k
Avg merge
3d 17h
Merged PRs (30d)
116

Description

WSL version : `2.4.12`
Windows version : `10 Build 20348`

Getting the following error when doing a `wsl --install -d Ubuntu-22.04`

`WslRegisterDistribution failed with error: 0x80070057
Error: 0x80070057 The parameter is incorrect.`

And when doing `wsl --install` getting the following error

`The parameter is incorrect.
Error code: Wsl/InstallDistro/Service/RegisterDistro/CreateVm/HCS/E_INVALIDARG`

Image

Contributor guide

Open the contributing guide

Research direction

Start by reproducing `wsl --install -d Ubuntu-22.04` and `wsl --install` on WSL 2.4.12 and Windows 10 build 20348, using the reported 0x80070057 and E_INVALIDARG errors as the baseline. Done means the Ubuntu distribution installs without either registration error.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux, ubuntu
Domain
operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.