Fix Service Dependencies in Windows Service Manager
In this article
To resolve service dependency issues using the Windows Service Manager, open the Services console (services.msc), find the service that won't start, and check its Dependencies tab. Then start any stopped dependent services first, or adjust the dependency list if it references a service that no longer exists. The exact steps are below.
What You'll Need
- Administrator rights on the PC (you'll be prompted by User Account Control).
- The name of the service that is failing to start.
- Access to the Services console (services.msc) — built into Windows.
Step-by-Step
- Open the Services console. Press Win+R, type
services.msc, and press Enter. If prompted by UAC, click Yes. The Services window lists all installed services. Menu labels can differ slightly by Windows version, but the layout is similar. - Locate the problem service. Scroll the list or click the Name column header to sort alphabetically. Double-click the service to open its Properties.
- Check the Dependencies tab. In the Properties window, click the Dependencies tab. You'll see two lists: “This service depends on the following system components” (services that must run before this one) and “The following system components depend on this service” (services that need this one).
- Note any stopped dependencies. Look at each service in the top list. If any are not running, that's likely the cause. Close the Properties window and find each dependency in the main Services list.
- Start the dependencies first. Right-click each stopped dependency and choose Start. If a dependency fails to start, troubleshoot that service first — the original service won't start until its dependencies are running.
- Start the original service. Once all dependencies show “Running,” right-click your problem service and choose Start. If it starts, the issue is resolved.
- Remove invalid dependencies if needed. If a dependency references a service that is missing or no longer installed, you may need to edit the dependency list. The safe way is via the registry: open Registry Editor (regedit) as administrator, navigate to
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\<ServiceName>, and edit theDependOnServicevalue. Remove only the missing service name, then restart the computer. Warning: editing the registry incorrectly can damage Windows — back up the key first (File > Export). - Set dependencies to start automatically. For services that should always be running, double-click each dependency, set Startup type to Automatic, and click OK. This prevents the issue from recurring after a reboot.
- Restart and verify. Reboot the PC and confirm the service and its dependencies are running. You can also use the command line:
sc query <ServiceName>shows status, andsc qc <ServiceName>shows dependencies.
Common Mistakes
- Starting the dependent service before its dependencies. Windows will refuse to start it and may show a generic error. Always start dependencies first.
- Editing the registry without a backup. A typo in
DependOnServicecan prevent services from starting. Export the key before making changes. - Ignoring the “dependent services” list. Stopping a service that other services rely on can break them. Check both lists on the Dependencies tab.
- Assuming a missing service is safe to delete. Some dependencies are optional; removing them may disable features. Research the service name before removing it.
- Not setting startup type. If a dependency is set to Manual, it may not start automatically after a reboot, causing the same failure.
Tips
- Use the “Dependencies” tab as your first diagnostic stop — it often reveals the root cause immediately.
- For services with many dependencies, use
sc qc <ServiceName>in Command Prompt to see the dependency list in text form. - If a dependency is a system service (like RPC), do not disable it — many services rely on it.
- Keep a note of any registry changes you make so you can undo them if needed.
- Use “Automatic (Delayed Start)” for non-critical dependencies to speed up boot time.
Troubleshooting
If the service still won't start after dependencies are running, check the Windows Event Viewer (eventvwr.msc) under Windows Logs > System for errors related to the service. The error code often points to a missing file, permissions issue, or corrupted service configuration. If a dependency itself fails to start, troubleshoot that service separately — it may have its own dependencies or a corrupted installation. If you edited the registry and the service no longer appears, restore the exported key. As a last resort, use System Restore to revert to a point before the changes, or reinstall the affected software. For built-in Windows services, running sfc /scannow in an elevated Command Prompt can repair corrupted system files.
Frequently Asked Questions
How do I find a service's dependencies?
Open services.msc, double-click the service, and go to the Dependencies tab. Alternatively, run sc qc <ServiceName> in Command Prompt.
Can I remove a dependency that no longer exists?
Yes, but only via the registry (DependOnService value). Back up the key first, and remove only the missing service name.
Why does a service fail to start even when dependencies are running?
The cause may be permissions, a missing file, or a corrupted service. Check Event Viewer for specific error codes.
What does “dependency service does not exist or has been marked for deletion” mean?
It means the service lists a dependency that is not installed or is being removed. Edit the DependOnService registry value to remove the invalid entry.
Do I need to restart after changing dependencies?
Yes, a restart ensures the changes take effect and services start in the correct order.
Can I use PowerShell to manage service dependencies?
PowerShell can start and stop services, but editing dependencies is not directly supported. Use the registry or sc config command instead.