On one computer, a Windows service is created.
I have tried to create the same one on another computer, but this seems not to work.
In order to solve my issue, I'm planning to ask for all Windows service related information, and compare those on both computers.
Although this seems logical, it's not that straightforward: there are the commands sc query
, sc qc
, sc qdescription
, ..., which gives me the anxiety that there might be some configuration I might be missing.
Is there a single commandline command, which can show all Windows service related information?
Just to give you an idea of the current situation:
sc qc
Prompt>sc qc Application_Server[SC] QueryServiceConfig SUCCESSSERVICE_NAME: Application_Server TYPE : 10 WIN32_OWN_PROCESS START_TYPE : 3 DEMAND_START ERROR_CONTROL : 1 NORMAL BINARY_PATH_NAME : E:\Application\Server 2\ApplicationServer.exe LOAD_ORDER_GROUP : TAG : 0 DISPLAY_NAME : Application_Server DEPENDENCIES : SERVICE_START_NAME : LocalSystem
sc query
Prompt>sc query Application_ServerSERVICE_NAME: Application_Server TYPE : 10 WIN32_OWN_PROCESS STATE : 1 STOPPED WIN32_EXIT_CODE : 0 (0x0) SERVICE_EXIT_CODE : 0 (0x0) CHECKPOINT : 0x0 WAIT_HINT : 0x0
sc qdescription
Prompt>sc qdescription Application_Server[SC] QueryServiceConfig2 SUCCESSSERVICE_NAME: Application_ServerDESCRIPTION: