前言

今天将win10的server重启之后,wsl无法正常运行,提示:

Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x800700b7
The distribution installation has become corrupted.
Please select Reset from App Settings or uninstall and reinstall the app.
Error: 0x800700b7 Cannot create a file when that file already exists.

Press any key to continue...

解决方案

百度无解,google了一下,在github上找到了答案。

点击查看原文。

sc query LxssManager
sc stop LxssManager
sc start LxssManager