Ubuntu app: WslRegisterDistribution failed with error 0x80070057 (incorrect parameter)

1

I downloaded the Ubuntu 20.04 LTS from the Microsoft Store.
When I start the app in my Windows 10 (version 2004), I get this cryptic error:

Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x80070057
Error: 0x80070057 Falscher Parameter.

("Falscher Parameter" would be sth like incorrect parameter in English.)

I searched the web and StackOverflow but could not find a solution or even an explanation for this error. I'd appreciate any hint.

windows
ubuntu-20.04
asked on Stack Overflow Aug 4, 2020 by jasie

3 Answers

1

Had I read the installation instructions earlier, I would have found this:

To use this feature, one first needs to use "Turn Windows features on or off" and select "Windows Subsystem for Linux", click OK, reboot, and use this app.

The above step can also be performed using Administrator PowerShell prompt:
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux

I used the PowerShell prompt and was able to start the Ubuntu app right away, without reboot.

answered on Stack Overflow Aug 4, 2020 by jasie
0

I've tried all the solutions, all of them. From restarting LXSS to new installation. Nothing worked, what worked was a simple rename. If your previous folder with linux subsystem was named something like ubuntu and you want to install it again, change the name to something else.

powershell command:

ren ubuntu xxd`

Basic folder/zip renaming solved the problem

answered on Stack Overflow Aug 13, 2020 by Mujeeb Ishaque
0

Try running the following command from an MS-DOS console as an administrator:

bcdedit /set hypervisorlaunchtype auto

reboot Windows 10 and start the UBUNTU app again.

Warning: if you have an Ubuntu virtual machine in Oracle VM VirtualBox, that virtual machine will stop working. To make it work again you will have to put just the opposite instruction:

bcdedit /set hypervisorlaunchtype off

answered on Stack Overflow Feb 2, 2021 by Javier

User contributions licensed under CC BY-SA 3.0