已禁用并卸载WSL后事件查看器仍报WSLService服务错误(Event ID:7023)求助
已禁用并卸载WSL后事件查看器仍报WSLService服务错误(Event ID:7023)求助
各位大佬好,我最近碰到个棘手的问题,想请大家帮忙出出主意:
我已经把WSL(Windows Subsystem for Linux)禁用并卸载了,但事件查看器里还是反复弹出Event ID: 7023的错误,具体错误内容如下:
The WSLService service terminated with the following error:
The service cannot be started, either because it is disabled or because no enabled devices are associated with it.
我确认WSL确实已经处于关闭状态——从系统功能选项里能看到它是未启用的状态(对应截图显示“WSL is off”)。
另外我用Autoruns工具查看服务标签页时,发现还有一个残留的WslInstaller条目,相关信息如下:
- 描述:Windows Subsystem for Linux: Windows Subsystem for Linux lets developers run a GNU/Linux environment -- including most command-line tools, utilities, and applications -- directly on Windows, unmodified, without the overhead of a traditional virtual machine or dualboot setup. (Verified)
- 发布者:Microsoft Corporation
- 文件路径:C:\Program Files\WindowsApps\MicrosoftCorporationII.Windows...(路径显示不完整)
想请教下各位,这种情况下该怎么彻底清理WSL的相关残留,让这个错误不再弹出呢?
备注:内容来源于stack exchange,提问作者fmotion1




