参考的对象类型不支持尝试的操作

WSL Version

  •  WSL 2

Distro Version

Ubuntu 20.04

Repro Steps

Start Ubuntu 20.04 installed from the Microsoft Store and notice the following error being reported upon startup:

参考的对象类型不支持尝试的操作
Error code: Wsl/Service/0x8007273d 
Press any key to continue...

How to fix(By @qzmlgfj)

  • In Add or remove programs: uninstall first “Windows Subsystem for Linux Update” and then “Windows Subsystem for Linux”
  • try to start your distribution again and it will point you to: https://aka.ms/wsl2kernel
  • from there download the wsl_update_x64.msi file and run it, install the WSL kernel
  • start your distribution again

Another funciton that I didn’t try

netsh winsock reset

其他可能原因

开启了其他VPN工具,例如各种游戏加速器