3
1
We have a custom service that runs on Windows Server 2008 R2 64 bit. It has startup type of "Automatic". However, after a reboot, the service does not start automatically. It does start if we manually start it from the service control panel. What are some possible causes of this, and how can I debug it? I examined the even log and didn't see anything special.
Could be a dependency problem, the service does not declare it and is therefore started too early and fail. There should be error messages for that case in the event log. Besides declaring the dependency marking:http://stackoverflow.com/questions/11015189/automatic-vs-automatic-delayed-start it as
– eckes – 2017-05-11T04:46:00.410auto (delayed)
may help.1Are there system event log entries related to your service? Are you sure that your service is not started? Are you sure that it is not the case that the service starts, has an error and exits immediately? Does your service depend on something (like networking)? Do you know about ServiceGroupOrder/GroupOrderList? – Werner Henze – 2013-08-07T11:43:55.607