The entire error message says something like this:
This error occurs mainly because of the sudden termination of service due to some internal conflict or change of settings. Almost all the services depend on some other service, and it is called Dependencies of a Windows service. For example, the Windows Update service depends on DCOM Server Process Launcher and RPC Endpoint Mapper. Even if one of them is not running as it should be, you might encounter this error while starting the Windows Update service in the Services panel. This error can occur while starting almost any service included in the Services panel. The solution is to check if all the dependencies are running or not. Apart from that, you need to check if the primary service has the correct setting or not.
System error 1058 has occurred, The service cannot be started
To fix Error 1058, The service cannot be started error, follow these steps: At first, you need to open the Services panel on your computer. For that, click on the Taskbar search box, type services, and click on the individual search result. Next, find out the service that is causing the error and double-click on it. It must be set as Stopped. You need to expand the Startup type drop-down list and select the Automatic option.
Then, click the Start button. It should start immediately. However, if it is not starting, you need to switch to the Dependencies tab, find out all the services mentioned in the box, and click the OK button.
As your primary service depends on these services, you need to open them one after one and click on the Start button. Once done, again open the primary service, choose the Automatic option from the Startup type drop-down menu, and click the Start button. Now, your service will start without any problem. You can change the Startup type of a service using Registry Editor as well. However, you must know the name of the service in REGEDIT. You could use PowerShell to generate the names of Windows Services. For example, the Background Intelligent Transfer Service is called BITS or Windows Search is called WSearch, and so on. If you already know that, you can follow these steps:
Press Win+R to open the Run prompt. Type regedit > press the Enter button > click the Yes option. Navigate to this path: Select the primary service and double-click on the Start DWORD value. Set the Value data as 2 and click the OK button. Double-click on the DependOnService and note down the service code names. Open those dependencies’ keys > double-click on the Start DWORD value. Set the Value data as 2 and click the OK button. Restart your computer.
After that, you won’t have any problem starting a service. Troubleshoot: Windows Services will not start.
How do you fix error 1058 the Service Cannot be started?
You can fix Error 1058: The service cannot be started error by choosing Automatic as the default Startup type in the Services panel. Alternatively, you can change the same using Registry Editor. For that, you need to follow the aforementioned steps.
How do I fix Windows Update service not running?
If the Windows Update service is not running on your computer, you need to check the dependencies one after one. Once you set the correct Startup type in the Services panel, this service will start running. That’s all! Hope this guide helped. Read: The Windows Update service could not be stopped.