安装 WSL2 Ubuntu20.04 报 0xc03a001a

错误:

WslRegisterDistribution failed with error: 0xc03a001a

解决方案:
  1. 找到 C:\Users\你的用户名\AppData\Local\Packages
  2. 找到 CanonicalGroupLimited.Ubuntu20.04onWindows 前缀的文件夹
  3. 在这个文件夹上右键>属性>高级
  4. 取消勾选压缩内容以节省磁盘空间
  5. 确定
  6. 重试安装即可
    安装 WSL2 Ubuntu20.04 报 0xc03a001a
    安装 WSL2 Ubuntu20.04 报 0xc03a001a

https://github.com/microsoft/WSL/issues/4299