日期:2014-05-17  浏览次数:21667 次

如何在CMD下查询服务?
windows下进入CMD窗口,如何查询计算机的服务列表?我想启动某个服务,但记不住该服务全名。NET   START   *

------解决方案--------------------
windows xp and up
可用sc命令查询系统状态
sc query 语法

sc query - Enumerates status for active services & drivers
sc query messenger - Displays status for the messenger service
sc queryex messenger - Displays extended status for the messenger service
sc query type= driver - Enumerates only active drivers
sc query type= service - Enumerates only Win32 services
sc query state= all - Enumerates all services & drivers
sc query bufsize= 50 - Enumerates with a 50 byte buffer.
sc query ri= 14 - Enumerates with resume index = 14
sc queryex group= " " - Enumerates active services not in a group
sc query type= service type= interact - Enumerates all interactive services
sc query type= driver group= NDIS - Enumerates all NDIS drivers