WSL: WSL2 - Windows 19041.264 - WslRegisterDistribution fails with error 0x80070057 - Incorrect parameter
-
Microsoft Windows [version 10.0.19041.264]
-
What you’re doing and what’s happening: I updated to this version of Windows. I already have docker on this machine, that detected WSL2 possibility. I followed https://docs.microsoft.com/fr-fr/windows/wsl/install-win10 to the letter, with an apparent success.
-
What’s wrong / what should be happening instead: When installing Debian, then ubuntu I get the same result at the initial lauch

Also docker is having a similar issue when trying to register its distribution :
[Engines ][Error] Start failed with Failed to deploy distro docker-desktop to [...]\AppData\Local\Docker\wsl\distro: exit code: -1
stdout: Paramètre incorrect.
i tried to uninstall WSL et install it again, I tried to reset, delete and reinstall images, reinstall docker, etc. Always stops here. Also not an issue of legacy console. I tried to stop, start, restart, and tried in between LxssManager.
Thank you for your attention !
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Reactions: 9
- Comments: 33 (3 by maintainers)
(replacing my last comment) Success!: Here is what worked for me: On an Administrative command line:
> wsl --set-default-version 1Then install the distribution of your choice (e.g.> wsl --install -d kali-linux)Error is gone, and distribution is installed successfully (takes a while)
I got the insider update to 21364 and was looking to try out the new GUI feature for WSl, but both my Debian and Ubuntu installations would not start with the message “The parameter is incorrect”.
Tied uninstalled both and reinstalling but both still report: WslRegisterDistibution: failed with error: 0x80070057 Error: 0x80070057 The parameter is incorrect.
At least I’m not the only one…
the latest update of Windows is suck, tried to rollback then it works now.
I have the same problem, tried a couple different options but no luck.
I solved this problem by returning to the previous version of windows thereby removing the Windows 10 Insider Preview Dev Build 21364.1 version.
Happens to me as well with latest build
21364betachannel and WSL2 working finevirtual platform/hyper-v is installed (as you see
wsl --statusdo not complain)I created a new Virtual Switch in Hyper-V Manager. Then it works well. 0x80070057 error did not occurred.
But the error returns if I switch to wsl version 2
WSL2 distro not starting since 21364 build #6839 Apparently solves this problem as well.
I finally find a solution. Change back to WSL 1 works for me.
Amusingly, this only was fixed for me after I turned hyper-v on. I figured it was somehow essential to the operation of WSL2, so it’s funny hearing that turning it off worked.
I solved a similar problem for myself (#5660) by uninstalling HyperV under “Turn Windows features on and off”. Does this happen to work for you, @devsuitup, as well?
@benhillis FYI, after your answer I uninstalled NordVPN, Hamachi, FortiClient and restarted the machine – and got the same issue.
Here is the trace : https://aka.ms/AA8lxay
Please, I really need some help people, i re-installed everything (wsl, wsl2, windows components, etc…) Same result :