Share via

Restarting a service displays error about dependent services that do not exist

Peter Bishop 256 Reputation points
2026-04-29T08:38:38.7433333+00:00

I am trying to grant permissions to a non-admin account so that it can restart a specific service. I have granted access to "Service Control Manager" and relevant permissions to the service itself but when I try to restart the service through PowerShell (the script needs to do some other activities) I get the error:

Stop-Service : 'Cannot access dependent services of 'Full Name (ShortName)'

However, this service doesn't have any dependencies.

Any ideas? Thanks.

Windows for business | Windows Server | User experience | PowerShell

1 answer

Sort by: Most helpful
  1. Salamat Shah 180 Reputation points MVP
    2026-05-04T22:04:09.0833333+00:00

    Stop-Service checks SERVICE_ENUMERATE_DEPENDENTS, not just the service ACL. Even if the service has no real dependencies, a non‑admin user will get this error unless they have enumerate rights on the Service Control Manager (SCM).

    Fix

    • Grant the account SC_MANAGER_ENUMERATE_SERVICE on the Service Control Manager and
    • Grant the service SERVICE_STOP, SERVICE_QUERY_STATUS, and SERVICE_INTERROGATE
    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.