Sub topic 9
Services that fail to start and slow startup
This chapter assumes you can open Task Manager, Event Viewer and an elevated Command Prompt or PowerShell window. It also assumes you know the CompTIA troubleshooting steps from the first chapter. Here they are applied to two related symptoms: a service that will not start, and a PC that takes too long to become usable after sign-in.
What a service is
A service is a program that runs in the background without a signed-in user. Examples are the print spooler, Windows Update, DHCP Client and Windows Time. The Service Control Manager (SCM) starts them, stops them and records their failures in the System log.
Each service has these properties, all visible in services.msc:
- Startup type. Automatic, Automatic (Delayed Start), Manual, or Disabled. Some Manual services are trigger-started, so Windows starts them only when an event occurs, such as a device arriving.
- Log On As account. Local System, Local Service, Network Service, or a named user account.
- Dependencies. The services that must be running first.
- Recovery actions. What Windows does after a first, second and later failure, for example restart the service.
Why a service fails to start
| Cause | Typical sign | First fix |
|---|---|---|
| A dependency is stopped or disabled | Error 1068, event 7001 | Start or enable the dependency, then the service |
| Wrong or expired logon credentials | Error 1069, event 7038 or 7000 | Reset the password on the Log On tab |
| Service is set to Disabled | "Cannot start service... disabled" | Change the startup type, then start it |
| Damaged or missing executable | Error 2 or 193, event 7000 | Run `sfc /scannow`, reinstall the application |
| Startup takes too long | Error 1053, event 7009 (30-second default timeout) | Check disk and CPU load, then retry |
| Corrupt file system or failing disk | Several unrelated services fail | `chkdsk`, check drive health |
| Malware changed or replaced it | Unknown service name, security tools disabled | See the malware chapter |
The error number and the event ID are your best evidence. Read them before you change anything.
Gather evidence first
Open Event Viewer and go to Windows Logs > System. Filter by the source Service Control Manager. These events matter most for the exam:
- 7000: a service failed to start, with the reason.
- 7001: a service failed because a dependency failed.
- 7009: a timeout occurred while waiting for the service to connect.
- 7023 and 7024: the service terminated with an error.
- 7031 and 7034: the service terminated unexpectedly.
- 7045: a new service was installed. An unfamiliar entry here deserves suspicion.
You can also find stopped automatic services from PowerShell:
Get-Service | Where-Object { $_.StartType -eq 'Automatic' -and $_.Status -ne 'Running' } | Select-Object Name, DisplayName, StatusSome automatic services stop on their own after finishing their work, such as the Software Protection or Google Update helpers. A stopped automatic service is not always a fault, so match it to a symptom or a 70xx event before acting.
Fixing a failed service
Work from the least destructive step.
- Try to start the service in
services.msc. Read the exact error text. - Open Properties > Dependencies. Start any parent service first.
- Open Properties > Log On. If the service uses a named account, confirm the password has not changed or expired.
- Check the startup type. A Disabled service must be changed to Manual or Automatic before it will start.
- If the executable is damaged, run
sfc /scannow, then DISM if sfc cannot repair it. - Set Recovery actions to restart the service after a failure. This hides a repeated crash but does not fix the cause.
From an elevated prompt, the same actions are:
Get-Service -Name Spooler
Start-Service -Name Spooler
Restart-Service -Name Spooler
Set-Service -Name Spooler -StartupType AutomaticThe older commands net start Spooler, net stop Spooler and sc query Spooler also work and still appear on the exam.
Slow startup
Slow startup is a performance problem with a specific cause: too much is trying to load at once. Common sources are:
- Startup apps that launch at sign-in.
- Automatic services started by installed software.
- A slow or failing hard disk. A mechanical drive at 100% usage during boot is a strong clue.
- Large profiles or network logon scripts, covered in the profile chapter.
- Malware or unwanted software, such as adware.
Measure before changing
Use these tools in order:
- Task Manager > Startup apps tab. The Startup impact column rates each item High, Medium or Low. The Status column shows Enabled or Disabled. Right-click an item and choose Disable. This does not uninstall the app.
- Task Manager > Performance and Processes tabs right after sign-in. See whether CPU, memory or disk is saturated, and which process is responsible.
- Event Viewer > Applications and Services Logs > Microsoft > Windows > Diagnostics-Performance > Operational. Event 100 records total boot time. Warning events after it name apps, drivers or services that slowed the boot.
- Resource Monitor (
resmon), Disk tab, to see which process is generating the disk activity.
Isolate with a clean boot
When no single item stands out, use msconfig to run a clean boot:
- On the Services tab, check Hide all Microsoft services, then choose Disable all.
- Open Task Manager and disable all startup apps.
- Restart and test.
- Re-enable items in small groups, restarting each time, until the problem returns.
Always check Hide all Microsoft services first. Disabling Windows' own services can leave the system unbootable or break features such as restore points. When you finish, return msconfig to Normal startup.
Fast Startup and other gotchas
- Fast Startup (hybrid shutdown) saves part of the kernel state to disk on shutdown. A full Restart does not use it, but Shut down does. A fault that survives a shutdown but disappears after a restart often points to this feature. This is also why a service may need a restart rather than a shutdown to recover.
- A service that starts manually but not at boot often has a timing or dependency problem. Automatic (Delayed Start) lets it wait until the system settles.
- A new unknown service, many startup entries you did not install, or a security service that keeps stopping suggests malware. Scan before you remove anything.
- Document your changes. If you disable an item, note which one, so you can reverse it.
Applying the methodology
Say a user reports that printing fails after every reboot. You gather evidence and find event 7001 for Print Spooler, because its dependency, Remote Procedure Call (RPC), is fine, but a third-party printer service it relies on is disabled. You form the theory that the dependency is disabled, test by enabling it, and confirm that printing works after another restart. You document the change.
Exercise
A technician sees error 1068 when starting a service. What does it mean, and what should the technician check first?
Show answer
Error 1068 means the dependency service or group failed to start. The technician should open the service's Dependencies tab, start or enable the parent service, and then start the original service.
Exercise
A PC takes ten minutes to become usable after sign-in. Task Manager shows 100% disk usage and many High-impact startup items. What are two least-destructive steps to take?
Show answer
Disable unneeded High-impact items on the Task Manager Startup tab, and use Resource Monitor to find the process causing disk activity. If the cause is still unclear, run a clean boot with msconfig. Also check the drive's health with chkdsk or the manufacturer's tool.
Exercise
Why should you check "Hide all Microsoft services" before disabling services in msconfig?
Show answer
It prevents you from disabling Windows' own services, which can break features or stop the system from booting normally. It limits the test to third-party services, which are the likely cause.