What does Windows error code 1077 (ERROR_SERVICE_NEVER_STARTED) mean?

 
Previous Next
ERROR_BOOT_ALREADY_ACCEPTED ERROR_DUPLICATE_SERVICE_NAME

ERROR_SERVICE_NEVER_STARTED

The service has not been started or attempted since boot

MS-SCMR specifies that when no attempt to start a service record has been made since the last boot, the server sets the service status Win32 exit code to ERROR_SERVICE_NEVER_STARTED. This is a status-history condition, not evidence that ServiceMain ran and returned a failure.

Check the configured start type, triggers, dependencies, and the controller expected to issue StartService. For an automatic service, determine whether startup ordering or an earlier prerequisite prevented the SCM from reaching it. For a demand-start service, confirm that the responsible application actually issued a start request. Do not debug service initialization code until there is evidence that an attempt occurred; first establish why the start path was never entered.

What to inspect

  • Query the service configuration and current status record.
  • Determine whether automatic startup, a trigger, or an explicit controller should start it.
  • Separate "never attempted" from a recorded failed start.

References


Looking for a different code? Search another status or error code.