Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
1053: The service did not respond to the start or control request in a timely fashion.
It looks like starting in 2005B, we added support for an additional "state" to SvcSetState:
Value Service state Meaning ----- ------------- ------- 2 SERVICE_START_PENDING The service is startingMade a change to the way WinBatch behaves when it runs as a service. Instead of launching with a state of SERVICE_RUNNING, it now launches with a state of SERVICE_START_PENDING. You can use SvcSetState to change the state to SERVICE_RUNNING, and if SvcSetState is not called within 3 seconds from the time the service launches, the state will automatically be changed to SERVICE_RUNNING.
Looks like all you will need to do is add the following line to the beginning of all of your scripts...
SvcSetstate (4) ;SERVICE_RUNNINGThis should resolve the issue with the Service control manager returning that error.
Article ID: W17263
File Created: 2007:07:03:14:29:04
Last Updated: 2007:07:03:14:29:04