Usually, I get this error: (The \"service name\" service on Local Computer started and then stopped. Some services stop automatically if they are not in use by other service
I came across the same issue. My service is uploading/receiving XMLS and write the errors to the Event Log.
When I went to the Event Log, I tried to filter it. It prompt me that the Event Log was corrupted.
I cleared the Event Log and all OK.