windows - Ubuntu应用程序: WslRegisterDistribution failed with error 0x80070057 (incorrect parameter)

标签 windows ubuntu-20.04

我从 Microsoft Store 下载了 Ubuntu 20.04 LTS。
当我在 Windows 10(版本 2004)中启动该应用程序时,出现以下神秘错误:

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

(“Falscher Parameter”就像英语中的错误参数一样。)

我搜索了网络和 StackOverflow,但找不到解决方案,甚至找不到此错误的解释。如果有任何提示,我将不胜感激。

最佳答案

我是否读过 installation instructions早些时候,我会发现这个:

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

我使用 PowerShell 提示符并能够立即启动 Ubuntu 应用程序,无需重新启动。

关于windows - Ubuntu应用程序: WslRegisterDistribution failed with error 0x80070057 (incorrect parameter),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/63247889/

相关文章:

windows - 如何本地化 Windows 商店应用程序中的通知和组合框? (C#/XAML,多语言应用工具包)

java - 在 Windows 上绑定(bind) IPv6 服务器套接字

Java - String.contains() 行为异常

node.js - 在 WSL2 : Ubuntu 20. 04 for Windows 10 nodejs 中安装但 npm 不工作

imagemagick - 将 Ubuntu 升级到 20.04 后 Imagemagick 出现问题

c# - 如何从静态资源为 UWP 中的依赖属性添加默认值

windows - 在一个终端中启动多个工具,如 grunt 和 http-server

sql-server - 如何修复 Microsoft ODBC Driver 17 for SQL Server : SSL Provider ssl_choose_client_version:unsupported protocol

ubuntu 20.04 上的 Fish shell 的 git 配置完成困惑

ubuntu - 为什么 pip3 软件包没有安装在特定网络上?