WslRegisterDistribution failed with error: 0x80070002

WSL-DistroLauncher Wiki1其中提出三个常见错误码,0x80070002, 0x8007007e, 0x80040302.

WslRegisterDistribution2 返回值为 HRESULT_FROM_WIN32(ERROR_ALREADY_EXISTS) 时, 表示 Failed because a distribution with this name has already been registered.

此时可以注销下该Distro. wsl --unregister XXX


Related Posts


Published

WSL

Category

windows

Tags

Contact