ERROR_SERVICE_DISABLED - 1058 (0x422)
The service cannot be started, either because it is disabled or because it has no enabled devices associated with it.
Updated: Feb 21, 2026
Technical Meaning
The ERROR_SERVICE_DISABLED error code indicates that a requested operation to start a service has failed because the service is disabled or lacks any enabled devices associated with it. This error typically arises when attempting to manually start a service from the Services Management Console, through command-line tools like sc, or programmatically using the Windows API.
Error Details
The numeric value of this error code is 1058 (0x422) and is returned by various system APIs such as StartServiceCtrlDispatcher when a service control manager fails to start a disabled service. The error message provided with this code is: 'The service cannot be started, either because it is disabled or because it has no enabled devices associated with it.'
Usage Context
This error can occur in several scenarios:
- When attempting to manually start a service via the Services Management Console.
- When using command-line tools like
scto start a service. - When programmatically starting a service through APIs such as
StartServiceCtrlDispatcherorControlService.
Developer Interpretation
Developers should interpret this error code as an indication that the requested operation cannot proceed because the service is in a disabled state. This could be due to explicit user actions, policy settings, or other administrative configurations. Developers are advised to check the status of the service and ensure it is enabled before attempting to start it.
Related Errors
ERROR_SERVICE_DOES_NOT_EXIST(1060): The requested service does not exist on this computer.ERROR_SERVICE_DISABLED(1058): The service cannot be started because it is disabled or has no enabled devices associated with it.ERROR_ACCESS_DENIED(5): Access to the service is denied due to insufficient permissions.
FAQ
Q: Why am I receiving this error when trying to start a service?
A: This error typically indicates that the service is either disabled or lacks any enabled devices. Ensure the service is enabled and has the necessary configurations before attempting to start it again.
Q: Can this error occur due to insufficient permissions?
A: No, ERROR_SERVICE_DISABLED specifically refers to a service being in a disabled state. However, permission issues can be related; if you encounter ERROR_ACCESS_DENIED, check your user rights and privileges.
Summary
The ERROR_SERVICE_DISABLED (1058) error code is returned when attempting to start a service that is either disabled or lacks any enabled devices. Developers should ensure the service is properly configured before retrying the operation.