WSL icon indicating copy to clipboard operation
WSL copied to clipboard

WSL 2 - WslRegisterDistribution failed with error 0x80070040

Open kgrishchenyuk opened this issue 6 years ago • 6 comments

WSL 1 installation is OK, WSL 2 - see above. This was after 20H1 update today.

kgrishchenyuk avatar May 28 '20 09:05 kgrishchenyuk

Same here, on a fresh installation of WSL2 on windows version 2004 build 9041.264 It's crashing Docker when it tries to install the distro, and with debian and ubuntu when first lauching them after installation.

devsuitup avatar May 29 '20 16:05 devsuitup

@devsuitup Managed to install after removing WSL 1 folder(C:\Users<User>\AppData\Local\Packages\CanonicalGroupLimited...). Then I installed WSL 1 again, removed it, again removed its folder manually. Finally I got WSL 2 installed and working. Absolutely not sure what step from those above exactly helped me but it is what it is. Off topic: also there are problems with network, it's working 50/50, approximately every second launch of the system. Maybe it's smh connected with dynamic IP of the new virtual network adapter for WSL 2.

kgrishchenyuk avatar May 29 '20 16:05 kgrishchenyuk

Thank you for your answer @KoPIIIyH

devsuitup avatar May 29 '20 16:05 devsuitup

I actually had a different error code, I'm sorry for the noise. Posted another issue for the error code I've got, even though the behavior looks the same.

devsuitup avatar May 29 '20 17:05 devsuitup

Please collect WSL logs and post the backlink to the feedback item here. Also please identify any third-party networking software that has been installed on Windows.

therealkenc avatar Feb 11 '21 22:02 therealkenc

This issue has been automatically closed since it has not had any activity for the past year. If you're still experiencing this issue please re-file this as a new issue or feature request.

Thank you!