Python微信订餐小程序课程视频

https://blog.csdn.net/m0_56069948/article/details/122285951

Python实战量化交易理财系统

https://blog.csdn.net/m0_56069948/article/details/122285941
最近升级了老电脑的windows10的系统,发现wsl2里面安装的ubuntu20.04不能在windows terminal正常启动了(我之前是把ubuntu20.04作为默认启动终端的。)

涉及报错:

WslRegisterDistribution failed with error: 0x80070050

我的思考:

报错是说wsl的distribution注册不了,所以需要在注册表里面编辑distribution相关配置项来解决问题。

解决办法:

Please backup (using the steps I mention in my previous answer) before trying this.
wsl --shutdown (from PowerShell or CMD)
In Windows, run the Registry Editor
Find \HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Lxss
Find the key in there that has DistributionName of Ubuntu20.04LTS. Change the Ubuntu20.04LTS to Ubuntu-20.04.
In theory, that may fix the problem by changing the distribution name back to what it should be.

按照这个步骤能顺利解决问题,最终能在windows terminal里面成功运行ubuntu20.04.看来windows10的注册表有自己的一套命名规范,大家只能去follow它的要求。

参考了很多资料,有的说是dns的问题,有的是说虚拟机配置的问题,其实都是文不对题,没有找到根本原因,记录这篇文章也是想给在苦苦google+bing解决办法的同学节约一点时间,所有问题最终都要回到报错信息本身去找突破。说的distribution那么一定要往distribution的register相关配置去想。当然能早点脱离windows是最好的,这样会少一些折腾环境的事儿。

毕竟时间真的宝贵,用在刀刃上吧。
参考资料
https://askubuntu.com/questions/1401830/wsl-not-working-after-update-from-microsoft-store

解决windows下WslRegisterDistribution failed with error: 0x80070050的问题相关推荐

  1. win10下运行Ubuntu20.04.4 LTS 报错:WslRegisterDistribution failed with error: 0x80070050

    解决方法: 1. 运行powershell 2.在powershell中执行:wsl --shutdown 3.win键+r键,执行regedit 4.在Registry Editor 中找到\HKE ...

  2. WslRegisterDistribution failed with error: 0x80070050

    Ubuntu 启动的时候报错 首先就是重启 linux 子系统 1.cmd 管理员身份打开,先是用了 net stop LxssManager ,显示无法停止, net stop LxssManage ...

  3. 已解决WslRegisterDistribution failed with error: 0x800701bc

    已解决WslRegisterDistribution failed with error: 0x800701bc 文章目录 报错问题 解决方法 福利 报错问题 粉丝群里面的一个小伙伴敲代码时发生了报错 ...

  4. Windows Subsystem for Linux——[WslRegisterDistribution failed with error: 0x8007019e]解决方案

    基本概念 Windows Subsystem for Linux:The Windows Subsystem for Linux lets developers run a GNU/Linux env ...

  5. windows下 cl: 命令行 error D8021 :无效的数值参数“/Wno-cpp”的解决办法

    Mask R-CNN学习(三):windows下 cl: 命令行 error D8021 :无效的数值参数"/Wno-cpp"的解决办法 2018年07月20日 11:11:06 ...

  6. Installing, this may take a few minutes... WslRegisterDistribution failed with error: 0x8007019e

    在Windows下安装Linux系统时,安装成功后,点击启用,命令行窗口中报错: Installing, this may take a few minutes... WslRegisterDistr ...

  7. win10启动内置Linux系统时,报错:WslRegisterDistribution failed with error: 0x800703fa

    安装和启动 旧版本的 win10 需要在"控制面板->程序->启用或关闭Windows功能"勾选"适用于Linux的Windows子系统(Beta)" ...

  8. 解决Windows下运行php Composer出现SSL报错的问题

    解决Windows下运行php Composer出现SSL报错的问题 2015-01-14 20:05 在windows下运行composer却出现SSL报错: E:\www>php -f co ...

  9. Win11安装Ubuntu子系统报错WslRegisterDistribution failed with error: 0x800701bc

    系统信息 报错信息 在网上找,得到解决方案:下载安装适用于 x64 计算机的最新 WSL2 Linux 内核更新包 下载链接:https://wslstorestorage.blob.core.win ...

最新文章

  1. 汪劲:生命系统中的非平衡物理学
  2. C# 把特定数字移动到数字前面,其他顺序不变。
  3. Visual Studio 中指定自定义生成事件
  4. leetcode700. 二叉搜索树中的搜索
  5. 格式化字符串,不足补零
  6. 卡诺模型案例分析_AMOS案例分析 | 结构方程模型(二)
  7. python 遍历矩阵_Python3算法之十:矩阵旋转
  8. VS运行时错误 CRT detected that the application wrote to memory after end of heap buffer
  9. 数据仓库入门(实验9)查询多维数据集
  10. JavaScript 学习笔记一 (入门篇)
  11. ambari 2.7 下安装httpfs
  12. windows下安装informix数据库服务端
  13. InputBox接收数字,并将该数字转成int型
  14. c# winform 无边框窗体 移动办法
  15. 打印时出现“错误!未找到引用源”“未定义书签”怎么办?
  16. mysql dlz驱动,bind dlz mysql的配备
  17. Unusual Competitions
  18. hg110路由器那位大神给编译一个挂3070网卡固件
  19. 针织厂计算机社会实践报告,大学生寒假针织厂打工实践报告
  20. 如何解决win7资源管理器不断重启和停止工作

热门文章

  1. 再次给力分享一对一直播脚本直播伴侣松鼠直播管家后台协议发送xp框架安卓原生hook源码
  2. 【递推】任何一个自然数的立方都可以写成一串连续奇数之和问题 C
  3. 机器学习之九(读书笔记)
  4. 读 Thinking in Java 笔记(1)
  5. 【跨层注意力:多层次融合】
  6. Beyond歌曲背景
  7. 冬天是个冻手冻脚的流氓
  8. scrollY,scrollTo
  9. 电子专利“对外服务”进不了难题也解决了
  10. 运动加速新冠症状恶化,“阳康”恢复期避免高强度运动