Closing all bash terminals will force init to be run on the open of any subsequent terminals. The service, on the other hand, will continue to run for some time after the last terminal is closed. To check if the service is running use the following CMD command in an console: sc query ...
Get-Service lxssmanager 该命令将返回该服务的详细信息,包括名称、状态、启动类型等。 总结 通过在Shell/Bash中使用net命令,你可以轻松地停止、启动或重启Lxssmanager服务来解决Windows 10上的Linux子系统运行问题。记得在重启前先停止服务,以避免发生冲突。