When I launch a cmd file with "net start ..." I see "service could not be started". In logs I see that the server actually was started without any errors and then stopped. It looks like "net start" stops service if it can't be started within some timeout.
Everything works fine when I start the same service from services.msc
What can I do?