| Previous | Next |
| ERROR_SERVICE_CANNOT_ACCEPT_CTRL | ERROR_FAILED_SERVICE_CONTROLLER_CONNECT |
ERROR_SERVICE_NOT_ACTIVE
ERROR_SERVICE_NOT_ACTIVE (1062, 0x00000426) means that a control operation was requested for a service that is not currently running.
Typical cause
ControlService can return this code when a caller tries to stop, pause, continue or otherwise control a service whose state is SERVICE_STOPPED. It does not prove that the service could never be started; it only describes the current state.
What to check
- Query the current state before issuing a control request, especially in scripts that may run repeatedly.
- If the service should be running, inspect the reason its most recent start failed. A dependency, logon or application error may have occurred first.
- For a race between a stop and another command, wait until the earlier operation has completed and then decide whether the next action is still needed.
Looking for a different code? Search another status or error code.
