How to fix Windows error 1058 (ERROR_SERVICE_DISABLED)
This means a service could not start because it is disabled or has no enabled devices. Enabling and starting it fixes it. Jump to your situation below or work through the methods in order.
This means a service could not start because it is disabled or has no enabled devices. Enabling and starting it fixes it. Jump to your situation below or work through the methods in order.
Error 1058 (ERROR_SERVICE_DISABLED) means a service could not start because its Startup type is set to Disabled, or it has no enabled devices associated with it. Something, a misconfiguration, an optimisation tool, malware cleanup, or a policy, set the service to Disabled, so Windows refuses to start it. The fix is to open services.msc, set the service's Startup type to Automatic or Manual, and start it. You can do the same from the command line with sc config. If the service depends on others that are also disabled, those need enabling too, and on a managed PC a Group Policy may be forcing the disabled state. Once the service is enabled and its dependencies are running, it starts and the error clears.
Every Windows service has a Startup type. If it is Disabled, Windows will not start the service at all, by request or automatically. Error 1058 is Windows reporting exactly that: you asked it to start, but it is disabled.
So the cure is to enable it. Setting the Startup type to Automatic or Manual lets it start. The complications are dependencies, a service whose prerequisites are also disabled cannot run, and policy, where a managed machine may keep forcing the service back to Disabled.
“1058 is blunt: the service is switched off, so Windows will not start it. The fix is just as blunt, open services.msc, set it to Automatic or Manual, and hit Start. The two things that trip people up are dependencies, where the service you want needs another one that is also disabled, so you enable that too, and policy, where a work machine keeps flipping it back to Disabled. On a personal PC it is almost always a quick toggle.”
services.msc, double-click the service, and set Startup type to Automatic or Manual.sc config ServiceName start= auto sc start ServiceName
Error 1058 means the service is disabled, so open services.msc, set its Startup type to Automatic or Manual, and start it (or use sc config and sc start). Enable any disabled dependencies too, and on a managed PC check whether a Group Policy keeps forcing the service back to Disabled.
If a service cannot be enabled because its Startup type controls are greyed out, the restriction is usually a Group Policy or a permissions issue on the service registry key. An administrator can adjust the policy or the key's permissions. You can also submit your error to us for a tailored fix.