Windows Service Access Denied: How to Fix It
In this article
To resolve a "service access denied" error when using the Windows Service Manager, you need to run the tool with administrative rights and ensure your account has permission to control the service. In most cases, opening the Services console as administrator (or launching an elevated Command Prompt) clears the error immediately. If not, the service's security descriptor or your user rights are the culprit, and you can fix both without reinstalling Windows.
What You'll Need
- A Windows PC running Windows 10 or Windows 11 (steps apply to both; labels may differ slightly by version or edition).
- An account that is a member of the local Administrators group.
- Access to the Services console (services.msc), Task Manager, or an elevated Command Prompt.
- Optional: the service name (not display name) if you plan to use command-line tools. You can find it in the Services properties or with
sc query.
Step-by-Step
- Open the Services console as administrator. Press
Win + R, typeservices.msc, and press Enter. If you are already logged in as an administrator, this opens the console with full rights. If you are not, right-click the Start button, choose Windows Terminal (Admin) or Command Prompt (Admin), then typeservices.mscand press Enter. The console will now run elevated and most access denied messages disappear. - Check the service status and startup type. In the Services list, find the service you want to manage. The Status column shows whether it is Running or Stopped. If the service is stopped, right-click it and choose Start. If it is running, you can choose Restart or Stop. If these options are greyed out, continue to the next step.
- Verify your account is in the Administrators group. Open Settings > Accounts > Other users (or Family & other users on some builds) and check your account type. Alternatively, open Computer Management > Local Users and Groups > Groups > Administrators and confirm your username is listed. If it is not, you need an existing administrator to add you before you can control services.
- Use Task Manager to restart the service with elevated rights. Press
Ctrl + Shift + Escto open Task Manager, go to the Services tab, right-click the service, and choose Restart or Start. Task Manager runs with your current token, so if you are not elevated, the option may be unavailable. Close Task Manager, reopen it as administrator (right-click the Task Manager shortcut and choose Run as administrator), then try again. - Check the service's security permissions. In the Services console, right-click the service and choose Properties. Go to the Log On tab and note the account listed (Local System, Network Service, or a specific user). Then open an elevated Command Prompt and run
sc sdshow <servicename>to view the security descriptor. If the output is difficult to read, use the Security tab if available (some services do not show it) or use the sc command withsc sdsetonly if you are confident in the SDDL syntax. A safer route is to use the Services snap-in's Permissions dialog if your Windows version exposes it; otherwise, proceed to the next step. - Grant your user account permission via the service's DACL. If you are comfortable with command-line tools, you can use
sc sdsetto add an access control entry. For example, to grant the built-in Administrators group full control, you would use an SDDL string that includes(A;;GA;;;BA). This is an advanced step; if you are unsure, skip it and use the Take Ownership method below instead. Always back up the current SDDL first by saving the output ofsc sdshowto a text file. - Take ownership of the service registry key (advanced). Open Registry Editor as administrator (
regedit). Navigate toHKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\<servicename>. Right-click the key, choose Permissions, then Advanced. If your account is not listed, add it with Full Control. If you cannot change permissions, click Change next to Owner, set it to your account, then grant yourself full control. Close Registry Editor and restart the service. Warning: editing the registry incorrectly can prevent Windows from starting; export the key first as a backup. - Restart the computer and test. After any permission change, restart Windows to ensure the new rights are applied. Then open Services as administrator again and try starting or stopping the service. If the error persists, check the next section.
Common Mistakes
- Running services.msc without elevation. Double-clicking a shortcut or typing
services.mscin a standard Command Prompt opens the console with limited rights. Always use Run as administrator or an elevated terminal. - Confusing the display name with the service name. Command-line tools like
screquire the short service name (e.g.,wuauserv), not the display name (e.g., Windows Update). Using the wrong name returns "access denied" or "service does not exist". - Editing permissions on the wrong registry key. The service's configuration lives under
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\<servicename>. Changing permissions on a parent key or a similarly named key will not help and may break other services. - Assuming a domain policy is not blocking you. On a work or school PC, Group Policy may override local permissions. If you are not the IT administrator, contact them instead of fighting the policy.
- Forgetting to back up before changing SDDL or registry permissions. A mistyped SDDL string can lock out even administrators. Always save the original output or export the registry key first.
Tips
- Use
sc query <servicename>to confirm the exact service name and state before making changes. - If you only need to restart a service occasionally, Task Manager's Services tab is quicker than the full console and shows the same start/stop options when run elevated.
- Keep a text file with the original SDDL from
sc sdshowso you can restore it withsc sdsetif something goes wrong. - On Windows 11, the Settings app's System > Troubleshoot > Other troubleshooters can sometimes restart related services automatically, but it does not replace manual permission fixes.
- If the service is set to Disabled and you cannot change it, check whether a policy or third-party security tool is enforcing that state.
Troubleshooting
If you still get "access denied" after elevating and checking group membership, work through these checks in order:
- Confirm you are actually elevated. Open Task Manager, go to the Details tab, and look at the Elevated column for your terminal or services console. If it says No, close it and relaunch with Run as administrator.
- Check User Account Control (UAC). If UAC is set to the highest level, even administrators receive a filtered token until they approve the prompt. Make sure you click Yes on any UAC dialog when opening the tool.
- Test with a different administrator account. If another admin account can control the service, the problem is specific to your profile's permissions or token. If no admin can, the service's security descriptor or a policy is likely at fault.
- Look for Group Policy restrictions. On a domain-joined PC, run
gpresult /rin an elevated Command Prompt and check for policies under Computer Configuration > Windows Settings > Security Settings > System Services. These can override local permissions and are managed by your IT department. - Use the built-in Administrator account as a last resort. If you have access, enable the built-in Administrator account temporarily (via Computer Management > Local Users and Groups > Users), sign in with it, fix the service permissions, then disable it again. Do not leave this account enabled.
- Check for third-party security software. Some antivirus and endpoint protection tools block service changes. Temporarily disabling them is not recommended; instead, check their documentation or support for service protection features.
- Repair Windows system files. Run
sfc /scannowandDISM /Online /Cleanup-Image /RestoreHealthin an elevated Command Prompt. Corrupted system files can cause permission inconsistencies, though this is rare.
If none of these steps work, the service may be protected by Windows Defender or another component that intentionally restricts access. In that case, do not force changes; consult Microsoft's official documentation or your IT administrator.
Frequently Asked Questions
Why do I get "access denied" when I am already an administrator?
Windows uses User Account Control to give administrators a standard token until they explicitly elevate. Opening Services from a normal shortcut runs it without elevation. Right-click and choose Run as administrator, or launch it from an elevated Command Prompt.
Can I fix this without editing the registry?
Yes. In most cases, running the Services console elevated is enough. If not, use Task Manager's Services tab (also elevated) or the sc command with the correct service name. Registry editing is only needed when the service's own permissions are broken.
What is the difference between the service name and display name?
The display name is the friendly label shown in the Services list (e.g., Print Spooler). The service name is the short identifier used by commands (e.g., spooler). Command-line tools require the short name; using the display name returns errors.
Will changing service permissions affect other users?
Yes. Service permissions are system-wide. Granting your account control may also grant it to others in the same group. Always document changes and revert them if they are only needed temporarily.
Is it safe to disable a service to stop access denied errors?
Disabling a service stops it from running entirely and can break features or Windows updates. Only disable a service if you know exactly what it does and you have a specific reason. For access errors, fix permissions instead of disabling.
What if the service is managed by a third-party application?
Some applications install services with their own security descriptors. Check the application's documentation or support site for the correct way to restart or reconfigure its service. Do not modify permissions unless the vendor instructs you to.