TechBuzzPro

Windows Service Dependency Issues: How to Fix

· 6 min read · Windows & PC

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

To resolve dependency issues with Windows services, open Services (services.msc), check the service's Dependencies tab, and ensure each dependent service is running and set to start automatically. If a dependency is missing or disabled, enable it or adjust the service's startup type. You can also use the `sc qc` and `sc enumdepend` commands to inspect dependencies from an elevated Command Prompt. This guide walks you through the exact steps, common pitfalls, and troubleshooting when a service refuses to start because of a dependency.

What You'll Need

  • Administrative rights on the Windows PC (you'll need to open Services and Command Prompt as administrator).
  • Windows 10 or Windows 11 (steps are similar on Windows 8.1 and 7, but labels may differ slightly).
  • The name of the service that is failing (you can find it in Event Viewer or the Services list).

Step-by-Step

  1. Open Services. Press Win + R, type services.msc, and press Enter. If prompted by User Account Control, click Yes. You can also search for "Services" in the Start menu.
  2. Locate the problematic service. Scroll through the list or click the Name column header to sort alphabetically. Right-click the service and choose Properties.
  3. Check the Dependencies tab. In the Properties window, go to the Dependencies tab. You'll see two lists: "This service depends on the following services" and "The following system components depend on this service." Focus on the first list—those are the services that must be running for your service to start.
  4. Note each dependency and its status. For each service listed under "This service depends on," open its own Properties (right-click in the list, or find it in the main Services window) and check its Startup type and Service status. If a dependency is stopped, try starting it. If its startup type is Disabled, change it to Automatic or Manual (as appropriate) and then start it.
  5. Use Command Prompt for a clearer view (optional). Open Command Prompt as administrator. Run sc qc <ServiceName> to see the service's configuration, including its dependencies. Run sc enumdepend <ServiceName> to list services that depend on it. Replace <ServiceName> with the actual service name (not display name).
  6. Start dependencies in order. Some services depend on others in a chain. Start the lowest-level dependency first (e.g., Remote Procedure Call (RPC) is often required). Then work your way up. You can start a service by right-clicking it and choosing Start, or by running net start <ServiceName> in an elevated Command Prompt.
  7. Set the service to start automatically if needed. If the service should start with Windows, set its Startup type to Automatic. Do the same for its dependencies if they are not already automatic. Be cautious: setting critical system services to Disabled can break Windows.
  8. Restart the service. After ensuring all dependencies are running, right-click your service and choose Start (or Restart if it was already running). If it starts without error, the dependency issue is resolved.
  9. Check Event Viewer for errors. If the service still fails, open Event Viewer (search for "Event Viewer"), go to Windows Logs > System, and look for recent errors from Service Control Manager. The error code and message often point to the missing dependency or permission issue.

Common Mistakes

  • Disabling a dependency instead of starting it. Setting a required service to Disabled prevents your service from starting. Always check the startup type before changing it.
  • Confusing display name with service name. Commands like sc and net start require the service name (e.g., "wuauserv"), not the display name (e.g., "Windows Update"). You can find the service name in the Services properties or by running sc query.
  • Ignoring circular dependencies. Rare, but if Service A depends on B and B depends on A, neither will start. Check the Dependencies tab for both services.
  • Forgetting to run as administrator. Many service actions require elevation. If you get "Access Denied," reopen Services or Command Prompt as administrator.
  • Changing startup type without understanding impact. Setting a critical service like RPC to Disabled can make Windows unstable. Only change startup types for services you recognize and need.

Tips

  • Use sc qc and sc enumdepend to quickly see dependencies without clicking through the GUI.
  • Before making changes, note the current startup type and status of each dependency so you can revert if needed.
  • If a service fails with error 1068 (dependency or group failed to start), focus on the dependencies listed in the error.
  • Group dependencies (e.g., "+NetworkProvider") are common; ensure the group's services are running.
  • For services that start automatically, set dependencies to Automatic as well to avoid race conditions at boot.

Troubleshooting

If the service still won't start after checking dependencies, try these steps in order:

  1. Restart the computer. A reboot can resolve temporary glitches and ensure all automatic services start in the correct order.
  2. Check for missing services. If a dependency is not listed in Services, it may be a driver or system component. Run sc query <ServiceName> to see if it exists. If not, the service may be part of a Windows feature that is disabled or removed.
  3. Run the System File Checker. Open Command Prompt as administrator and run sfc /scannow. This repairs corrupted system files that might affect services.
  4. Use the Services troubleshooting tool. Windows includes a built-in troubleshooter: go to Settings > System > Troubleshoot > Other troubleshooters and run the "Services and Background Processes" troubleshooter (available on Windows 11; on Windows 10, look under Update & Security > Troubleshoot).
  5. Check permissions. Ensure the service account has "Log on as a service" rights. You can check this in Local Security Policy (secpol.msc) under Local Policies > User Rights Assignment.
  6. Reinstall the affected software. If the service belongs to a third-party application, uninstall and reinstall it. This recreates the service and its dependencies. Note: uninstalling may remove settings; back up configuration first.

Frequently Asked Questions

How do I find the service name for a service?

Open Services, right-click the service, choose Properties, and look at the "Service name" field at the top. Alternatively, run sc query in Command Prompt to list all services with their names.

What does error 1068 mean?

Error 1068 indicates that a dependency or group failed to start. Check the Dependencies tab and ensure all listed services are running and not disabled.

Can I disable a service that other services depend on?

No. If a service is a dependency for others, disabling it will prevent those services from starting. You should only disable services that are not required by anything else.

How do I see all services that depend on a specific service?

In the service's Properties, go to the Dependencies tab and look at the second list. Or run sc enumdepend <ServiceName> in an elevated Command Prompt.

Why does my service start automatically but then stop?

This often happens if a dependency starts later or fails. Check Event Viewer for errors and ensure dependencies are set to Automatic and start successfully.

Is it safe to change startup types of system services?

Only change startup types for services you understand. Setting critical services to Disabled can cause system instability. When in doubt, leave them as they are.