WSL 停止工作并出现错误:0x80070003

Neh*_*nia 2 windows-subsystem-for-linux wsl-2

WSL2 停止工作。当我重新安装 Linux 发行版时,单击启动按钮时会抛出以下错误:

Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x80070003
Error: 0x80070003 The system cannot find the path specified.

Press any key to continue...
Run Code Online (Sandbox Code Playgroud)

wsl --help命令工作正常,但是wsl -l命令和其他 wsl 命令会抛出以下错误

The system cannot find the path specified.
Run Code Online (Sandbox Code Playgroud)

Dan*_*uza 10

.wslconfig检查您的个人资料文件夹中是否有任何内容%USERPROFILE%并将其删除!我终于让它工作了

仅供参考:https://github.com/microsoft/WSL/issues/3232#issuecomment-777023885