WSL2报错:参考对象类型不支持尝试的操作


转载:Ryan(版权属于)

本文链接:https://kkp.disk.st/4608.html

突然发现WSL无法使用,Ubuntu无法启动

PS C:\WINDOWS\system32> wsl.exe --shutdown
PS C:\WINDOWS\system32> wsl.exe
The attempted operation is not supported for the type of object referenced.

根据Github issue可知是WSL2目前不兼容VPN类应用(我安装了EasyConnect),复位 winsock 配置并重启计算机就可以了

PS C:\WINDOWS\system32> netsh winsock reset

Sucessfully reset the Winsock Catalog.
You must restart the computer in order to complete the reset.

PS C:\WINDOWS\system32> wsl.exe
root@TIGERHOMEPC /mnt/c/Windows/System32
# exit

文章作者: wulling1024
版权声明: 本博客所有文章除特別声明外,均采用 CC BY 4.0 许可协议。转载请注明来源 wulling1024 !
评论
  目录