WSL: WSL2 distro not starting since 21364 build

Windows Build Number

Microsoft Windows [Version 10.0.21364.1]

WSL Version

  • WSL 2
  • WSL 1

Kernel Version

5.10.16

Distro Version

Ubuntu 20.04

Other Software

No response

Repro Steps

Start ubuntu. After the new insider release it doesn’t work with following error.

Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x80070057
Error: 0x80070057 The parameter is incorrect.

Press any key to continue...

Expected Behavior

Doesn’t work.

Actual Behavior

Should work.

Diagnostic Logs

wsl.zip

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Reactions: 13
  • Comments: 43 (2 by maintainers)

Most upvoted comments

Same issue here. After update to Windows 10 Insider Preview Build 21364 WSL does start any more.

[wsl2] guiapplications=false

fixes the problem.

Thank you! Wasted so much time on this…

One more note, as I had to look this up to: the “.wslconfig” file goes is in your %UserProfile% folder (ie. c:/users/[name] ). The file may not exist, you may have to create it.

This issue is well-understood. Unless something unexpected happens this should be fixed with next week’s Insider Dev build.

Build 21376 releases today. We encourage you to turn GUI applications back on, as that should now be fixed (you can remove guiapplications=false from .wslconfig).

Confirmed, GUI is now working

We’ve identified an issue with some CPUs and a fix is inbound.

Same issue here. After update to Windows 10 Insider Preview Build 21364 WSL does start any more.

[wsl2] guiapplications=false

fixes the problem.

@github348’s fix worked for me, too.

For what it’s worth, the fix here didn’t work for me, nor did any of the other suggestions on that issue. I couldn’t install any more distros; they all failed with error 0x80070057.

I have enabled wslg and wsl stopped working I have reported this issue to wslg repository you can fix wsl by adding this to your .wslconfig file [wsl2] guiapplications=false

I was having the same issue and this fixed it for me.

Thanks!

The fix mentioned here didn’t work for me. After putting [wsl2] guiapplications=false

into %userprofile%\.wslconfig I get another error:

{Application Error} The exception s (0xPress any key to continue…

On a german Windows Version it’s simply Falscher Paramter, on might think it’s a different problem, but this fix does the trick.

And it does not hinder any previous settings that let me use gui apps through X410.

Though i just notice, that gitkraken now can display it’s icon (rather than the one of X410, that was used before the newest updates). May be unrelated, since i updated the WSL-Kernel as part of finding a solution.

I have the same issue. After update to Windows 10 Insider Preview Build 21364 WSL does start any more. In terminal appears “The parameter is incorrect.”

Build 21376 releases today. We encourage you to turn GUI applications back on, as that should now be fixed (you can remove guiapplications=false from .wslconfig).

Confirmed, GUI is now working

Can u give me a link or the way to enable GUI?

https://github.com/microsoft/wslg

The fix for this issue (not a workaround) is in build 21376.

@P4R4DiSi4C To know if it’s related just use this wslconfig option to disable GUI support. Also remember to run wsl.exe --shutdown to make the changes effective.

Okay, then it’s not related thanks 😃