Fix it now
The 1058 half of this is a documented Windows error: ERROR_SERVICE_DISABLED, the service cannot be started either because it is disabled or because it has no enabled devices associated with it. The service in question is the Office Click-to-Run service, which Office installs, repairs and updates through. Re-enable it and setup can proceed.
Get-Service *ClickToRun* | Format-List Name,DisplayName,Status,StartType
Set-Service -Name ClickToRunSvc -StartupType Automatic
Start-Service -Name ClickToRunSvc
- Read the first line’s output. It gives the service name Windows actually uses on this build – use that name in the two commands below it if it differs from
ClickToRunSvc. - If you prefer the Command Prompt, the equivalents are
sc qc ClickToRunSvcto read the configuration,sc config ClickToRunSvc start= autoto set it, andnet start ClickToRunSvcto start it. The space afterstart=is required. - Confirm it is running, then run the Office installation or repair again.
- If the start type reverts to disabled after a restart or a policy refresh, a Group Policy object, a management baseline or a tuning tool is setting it, and it has to be corrected there.
- If the service is enabled and still will not start, read the Service Control Manager entry in Event Viewer, under Windows Logs then System, before changing anything else.
Set-Service requires elevation. Automatic is what Office ships with; leaving it on Manual appears to work and then fails the next time an update runs unattended.
If the service is running and Office installs or repairs, you can stop here. If it will not start, or will not stay enabled, the next section covers why.
Why it happens
Read the two halves of this code separately, because only one of them is documented and it happens to be the useful one. 1058 is a general Windows service error – ERROR_SERVICE_DISABLED – and Microsoft’s system error code list gives it as: the service cannot be started, either because it is disabled or because it has no enabled devices associated with it. The Service Control Manager was asked to start something configured as disabled. The -13 suffix is Office’s own stage identifier and Microsoft publishes no mapping for it.
That reading saves time straight away. Nothing about Office is broken yet, and reinstalling Office cannot help while the service it installs through is switched off. Click-to-Run installs Office as a managed, streamed product, and the service is the component that manages it: it fetches content, applies updates, services the installation and handles repair. Applications will sometimes start without it, but every operation that changes the installation depends on it, which is why the failure appears during setup and repair rather than during use.
The companion codes are a mixed set and none of them says anything about services. 30029-4 has a Microsoft page titled for trying to uninstall Office, with the uninstall troubleshooter as the remedy. 30029-1011 has one saying that restarting the device and reinstalling might fix it, and noting that it can appear with Office Deployment Tool version 16.0.7118.5775, for which the fix is a newer version of the tool. 30033 has a page with remedies – offline installer, Online Repair, uninstall and reinstall, temporarily turning off antivirus and firewall – and no stated cause. 30016-4 is not published at all.
The service is simply set to disabled
You have this one if The start type reads DISABLED and the machine is not centrally managed.
- Confirm the service name with
Get-Service *ClickToRun*. - Set it to start automatically:
Set-Service -Name ClickToRunSvc -StartupType Automatic, orsc config ClickToRunSvc start= autofrom an elevated Command Prompt. - Start it, confirm it reports Running, and retry the Office operation.
Automatic is the configuration Office ships with. Manual will appear to work and then fail the next time an unattended update needs the service.
Policy or a management baseline keeps disabling it
You have this one if You re-enable it, it works, and after a restart or a policy refresh it is disabled again.
- Capture what is in force:
gpresult /h report.htmlfrom an elevated prompt, then open the report. - Look for a System Services setting covering the Click-to-Run service, and check any security baseline or endpoint management profile applied to the machine.
- Correct it at the source. A local change is reverted at the next refresh and you will be back where you started, without knowing why.
A tuning or optimiser tool switched it off
You have this one if Several Microsoft services are disabled together, on a machine where somebody has run a performance utility.
- Compare the service configuration against a known-good machine of the same Windows build.
- Re-enable the Click-to-Run service, and check what else was disabled at the same time – update and installer services are frequently turned off together.
- Remove the tuning tool if it re-applies its settings on a schedule.
The service is enabled but will not start
You have this one if The configuration change succeeds, the start fails with a different error, and the System log records it.
- Open Event Viewer, go to Windows Logs then System, and read the Service Control Manager entry for the failed start.
- In
services.msc, open the service and confirm the Log On tab is set to Local System rather than a named account. - Repair the installation: right-click Start, select Apps and Features, select the Office product, select Modify, then Online Repair and Repair.
- If repair fails, remove Office with Microsoft’s uninstall troubleshooter and install again.
Windows is running in Safe Mode
You have this one if You are troubleshooting in Safe Mode, where only essential services start.
- Restart into normal mode before attempting any Office installation or repair.
- If the machine only boots into Safe Mode, that is a Windows problem to solve first – Office setup will not work until it is fixed.
Full reference
The commands, and the syntax that trips people up
| Command | What it does |
|---|---|
Get-Service *ClickToRun* |
Lists the service with its real name, display name, status and start type |
Set-Service -Name <name> -StartupType Automatic |
Sets it to start at boot. Requires elevation. Valid values include Automatic, AutomaticDelayedStart, Manual and Disabled |
Start-Service -Name <name> |
Starts it now |
sc qc <name> |
Command Prompt equivalent: shows the configured start type |
sc config <name> start= auto |
Sets it to Automatic. A space is required between the option and its value, or the operation fails |
net start <name> |
Starts it, and reports why if it cannot |
The space after start= is not a typographical accident. Microsoft’s documentation states that a space is required between an option and its value, and that the operation fails if the space is omitted. Valid start= values are boot, system, auto, demand, disabled and delayed-auto.
How each of these codes is documented
| Code | What Microsoft publishes |
|---|---|
1058-13 |
1058 is ERROR_SERVICE_DISABLED: the service cannot be started, either because it is disabled or because it has no enabled devices associated with it. The composite with -13 is not published |
30016-4 |
Nothing |
30029-4 |
A page titled for trying to uninstall Office; the documented remedy is the uninstall troubleshooter |
30029-1011 |
Restarting the device and reinstalling might fix it. Can appear with Office Deployment Tool version 16.0.7118.5775, for which a newer version of the tool is the fix |
30033 |
A page with remedies – offline installer, Online Repair, uninstall and reinstall, temporarily turning antivirus and firewall off – and no stated cause |
If the service keeps being disabled
- Run
gpresult /h report.htmlelevated and open the report in a browser. - Look under Computer Configuration for Security Settings, then System Services, and find any entry naming the Click-to-Run service.
- Check your endpoint management platform for a configuration profile doing the same thing.
- Check whether a scheduled task or a third-party tuning agent re-applies a service configuration on a schedule.
- Fix whichever of those is responsible, then re-enable the service locally one final time and confirm it survives a restart.
If you change the service start type by editing the registry rather than with sc or Set-Service, export the key first with reg export from an elevated prompt. Editing service keys by hand can leave a service that neither starts nor can be reconfigured, and the export is what lets you put it back.
When the code is really one of the others
Two of the companions have documented remedies that have nothing to do with services, and applying the service fix to them wastes an afternoon. If the code is 30029-4, Microsoft’s page is about uninstalling Office and points at the uninstall troubleshooter. If it is 30029-1011, restart and reinstall – and if you are deploying with the Office Deployment Tool, check its version, because Microsoft names 16.0.7118.5775 specifically and says a newer build resolves the failure. Neither is helped by re-enabling a service that was never disabled.
Checks worth making before you rebuild anything
- Confirm the service really is disabled rather than merely stopped. A stopped service that starts on demand is not the same problem.
- Confirm the Log On account is Local System. A service reconfigured to run as a named account will fail to start once that account’s password changes.
- Check whether the machine is in Safe Mode, which explains the symptom entirely and needs no Office work at all.
- Compare against a working machine of the same Windows build rather than against what you remember the defaults being.
- If you are deploying with the Office Deployment Tool, download a current version before assuming the machine is at fault.
Why leaving it running is the right answer
The Click-to-Run service is how Office is designed to install and update itself, and disabling it stops security updates from reaching Office as well as blocking setup. If it was switched off to save resources, that was a poor trade: the service is idle most of the time, and the cost of turning it off is an Office installation that quietly stops being patched.
Every code this article covers
| Code | What it points at | Source |
|---|---|---|
1058-13 |
Windows error 1058 is ERROR_SERVICE_DISABLED: the service cannot be started, either because it is disabled or because it has no enabled devices associated with it. Microsoft does not publish the composite code | Microsoft Learn |
30016-4 |
Seen during Office setup. Microsoft publishes no page for this suffix | not published by the vendor |
30029-4 |
Microsoft’s page is titled for trying to uninstall Office; the documented remedy is the uninstall troubleshooter | Microsoft Support |
30029-1011 |
Microsoft: restarting the device and reinstalling might fix it. It can appear with Office Deployment Tool version 16.0.7118.5775, for which a newer version of the tool is the fix | Microsoft Support |
30033 |
Microsoft publishes a page of remedies for this code – offline installer, Online Repair, uninstall and reinstall, temporarily turning off antivirus and firewall – without stating a cause | Microsoft Support |
Confirm the fix worked
Get-Service *ClickToRun*reports the service as Running with a StartType of Automatic.- The Office installation or repair you were trying to run completes.
- Restart and check the service again, to prove no policy has reverted the change.
- Open Word, go to File, Account, Update Options, and run an update check to confirm the service is doing its job.
- If a policy was the cause, confirm a second machine in the same group now behaves correctly too.
Questions people ask about this
What does the 1058 part mean?
It is the Windows error ERROR_SERVICE_DISABLED: the service cannot be started, either because it is disabled or because it has no enabled devices associated with it. That is documented. The -13 suffix is Office’s own stage identifier and Microsoft publishes no mapping for it.
Is it safe to leave the service running?
Yes. It is how Office is designed to install and update itself, and disabling it stops security updates reaching Office as well as blocking setup. If it was disabled to save resources, that was a poor trade.
Why does it keep going back to disabled?
Something is setting it: Group Policy, an endpoint management profile, a security baseline, or a tuning tool. Run gpresult and check your management console, because local edits will not survive the next refresh.
Can I install Office without the service?
No. Click-to-Run installation, repair and updating all depend on it, and there is no supported way round it.
Does this need a new licence?
No. A disabled Windows service has nothing to do with entitlement, and re-enabling it costs nothing.
