PDA

View Full Version : Serving Stopping after they have been started through command line


Marc
December 14th 03, 01:53 PM
I'm trying to start a service through a command line

net start (service name)

The service starts ok and reports its started, (i even
checked through MMC to see that it did start.

after half a second the service then stops, there is no
report from the net program that the service stopped, it
just stops.

I pipe net start (service name) > output.txt and it only
says the service is starting, the service started
successfully.

For some reason this service is just stopping. I can
start it and it stays running through MMC but I need to
start the service through a batch script so it MUST be
command line.

This service isn't a native service of windows but works
fine if set to auto when windows starts.

Anyone heard of this happening and how to fix this
problem?

Google