How to list a service start mode

A

Another Brian

I'm working with a service called MVFS. For reasons that I don't
understand, it does not appear in the Control Panel Services applet.
I'm trying to find some way to list its start mode. I've tried looking
through the options of the sc command, but the only thing I can see is
how to set the start mode of the service.

Is that any command that will tell me what the start mode is?

Brian
 
P

Pegasus \(MVP\)

Another Brian said:
I'm working with a service called MVFS. For reasons that I don't
understand, it does not appear in the Control Panel Services applet. I'm
trying to find some way to list its start mode. I've tried looking through
the options of the sc command, but the only thing I can see is how to set
the start mode of the service.

Is that any command that will tell me what the start mode is?

Brian

sc.exe will happily do it:
=============
D:\Logs>sc qc w32time
[SC] GetServiceConfig SUCCESS

SERVICE_NAME: w32time
TYPE : 20 WIN32_SHARE_PROCESS
START_TYPE : 2 AUTO_START
ERROR_CONTROL : 1 NORMAL
BINARY_PATH_NAME : C:\WINDOWS\System32\svc
LOAD_ORDER_GROUP :
TAG : 0
DISPLAY_NAME : Windows Time
DEPENDENCIES :
SERVICE_START_NAME : LocalSystem
================
D:\Logs>sc qc dduservice
[SC] GetServiceConfig SUCCESS

SERVICE_NAME: dduservice
TYPE : 10 WIN32_OWN_PROCESS
START_TYPE : 3 DEMAND_START
ERROR_CONTROL : 1 NORMAL
BINARY_PATH_NAME : C:\Program Files\Nord-V
exe
LOAD_ORDER_GROUP :
TAG : 0
DISPLAY_NAME : DynDNS-Updater
DEPENDENCIES :
SERVICE_START_NAME : LocalSystem
==============
 
A

Another Brian

Thank you. Somehow I just read right over that sc subcommand. That
will do me just fine.

Have a great week
Brian

Pegasus (MVP) said:
Another Brian said:
I'm working with a service called MVFS. For reasons that I don't
understand, it does not appear in the Control Panel Services
applet. I'm trying to find some way to list its start mode. I've
tried looking through the options of the sc command, but the only
thing I can see is how to set the start mode of the service.

Is that any command that will tell me what the start mode is?

Brian

sc.exe will happily do it:
=============
D:\Logs>sc qc w32time
[SC] GetServiceConfig SUCCESS

SERVICE_NAME: w32time
TYPE : 20 WIN32_SHARE_PROCESS
START_TYPE : 2 AUTO_START
ERROR_CONTROL : 1 NORMAL
BINARY_PATH_NAME : C:\WINDOWS\System32\svc
LOAD_ORDER_GROUP :
TAG : 0
DISPLAY_NAME : Windows Time
DEPENDENCIES :
SERVICE_START_NAME : LocalSystem
================
D:\Logs>sc qc dduservice
[SC] GetServiceConfig SUCCESS

SERVICE_NAME: dduservice
TYPE : 10 WIN32_OWN_PROCESS
START_TYPE : 3 DEMAND_START
ERROR_CONTROL : 1 NORMAL
BINARY_PATH_NAME : C:\Program Files\Nord-V
exe
LOAD_ORDER_GROUP :
TAG : 0
DISPLAY_NAME : DynDNS-Updater
DEPENDENCIES :
SERVICE_START_NAME : LocalSystem
==============
 
P

Pegasus \(MVP\)

Thanks for the feedback.

Another Brian said:
Thank you. Somehow I just read right over that sc subcommand. That will do
me just fine.

Have a great week
Brian

Pegasus (MVP) said:
Another Brian said:
I'm working with a service called MVFS. For reasons that I don't
understand, it does not appear in the Control Panel Services applet. I'm
trying to find some way to list its start mode. I've tried looking
through the options of the sc command, but the only thing I can see is
how to set the start mode of the service.

Is that any command that will tell me what the start mode is?

Brian

sc.exe will happily do it:
=============
D:\Logs>sc qc w32time
[SC] GetServiceConfig SUCCESS

SERVICE_NAME: w32time
TYPE : 20 WIN32_SHARE_PROCESS
START_TYPE : 2 AUTO_START
ERROR_CONTROL : 1 NORMAL
BINARY_PATH_NAME : C:\WINDOWS\System32\svc
LOAD_ORDER_GROUP :
TAG : 0
DISPLAY_NAME : Windows Time
DEPENDENCIES :
SERVICE_START_NAME : LocalSystem
================
D:\Logs>sc qc dduservice
[SC] GetServiceConfig SUCCESS

SERVICE_NAME: dduservice
TYPE : 10 WIN32_OWN_PROCESS
START_TYPE : 3 DEMAND_START
ERROR_CONTROL : 1 NORMAL
BINARY_PATH_NAME : C:\Program Files\Nord-V
exe
LOAD_ORDER_GROUP :
TAG : 0
DISPLAY_NAME : DynDNS-Updater
DEPENDENCIES :
SERVICE_START_NAME : LocalSystem
==============
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top