Windows Service Permission Issues: Fix with Services Manager
In this article
To resolve service permission issues using the Windows Service Manager, you need to adjust the service's logon account and file system permissions so the service can start and run correctly. The quickest fix is often to open Services (services.msc), change the service's Log On account to a built-in account like LocalSystem or NetworkService, and then grant that account Full Control on the service's program folder. If the service still fails, check the Windows Event Viewer for access-denied errors and correct the specific folder or registry permissions it names.
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 (visible in Services or in the error message).
- The path to the service's executable or data folder, if you need to change file permissions.
- Access to Event Viewer to read the exact error code.
Step-by-Step
- Open Services. Press Win+R, type
services.msc, and press Enter. Accept the UAC prompt if it appears. You can also search for "Services" in the Start menu. Menu labels can differ slightly by Windows version, but the Services console is consistent across Windows 10 and 11. - Find the service. Scroll the list or click a column header to sort by name. Double-click the service to open its Properties window. The "Service name" on the General tab is the internal name you'll use later; the "Display name" is what you see in the list.
- Check the Log On tab. Click the Log On tab. Note whether it is set to Local System account, Network Service, Local Service, or a specific user account. Permission problems are most common when a service runs under a restricted account that lacks access to its own files or to a network share.
- Try a built-in account first. If the service is set to a custom user account and you're troubleshooting, select Local System account and click Apply. Then go to the General tab and click Start. If it starts, the original account was the problem. For services that need network access, Network Service is often the better choice. Only use a custom account if the service documentation requires it.
- If it still fails, read the error. Open Event Viewer (Win+R, type
eventvwr.msc). Go to Windows Logs > Application and look for recent errors from the service name or from "Service Control Manager". An entry like "Access is denied" or error 5 tells you the account lacks permission on a specific resource. Note the path or object mentioned. - Grant file permissions. Open File Explorer, navigate to the service's program folder (for example,
C:\Program Files\YourService), right-click the folder, and choose Properties > Security > Edit. Click Add, type the account name exactly as it appears in the Log On tab (for example,NT AUTHORITY\NETWORK SERVICE), click Check Names, then OK. Select the account and tick Full control under Allow. Click OK to apply. Repeat for any data or log folder the service writes to. - Restart the service. Return to Services, right-click the service, and choose Restart (or Start if it is stopped). Watch whether it stays running for more than a few seconds. A service that starts and immediately stops usually has a configuration or dependency problem rather than a pure permission problem.
- Check dependencies if needed. On the service's Properties window, open the Dependencies tab. If a dependency service is stopped or disabled, the service may fail with a misleading error. Start the dependency first, then retry.
- Verify with a test. After the service is running, confirm the application or feature it supports works. If the service writes logs, check the log file for new access-denied entries. If errors persist, repeat step 5 and grant permissions on the exact path named in the newest error.
Common Mistakes
- Granting Full Control to Everyone. This fixes the symptom but weakens security. Grant permissions only to the specific service account.
- Changing the Log On account without restarting. Account changes take effect only after the service is restarted.
- Editing the wrong folder. Many services read from subfolders (logs, cache, config). Grant permissions on the parent folder and any subfolder named in Event Viewer.
- Ignoring the exact account name. "Network Service" in the Log On tab is not the same string as
NT AUTHORITY\NETWORK SERVICEin the permissions dialog. Use Check Names to confirm. - Assuming every failure is permissions. Error 5 is permissions, but error 1067 or 1053 usually points to a missing dependency, a bad path, or a service that exits immediately. Read the code before changing anything.
- Forgetting inherited permissions. If a parent folder blocks inheritance, granting access on a subfolder may not be enough. Check the Advanced security settings if the service still cannot read its files.
Tips
- Use the service's Recovery tab to set automatic restart on failure; this helps distinguish a permissions crash from a one-off glitch.
- Record the original Log On account before changing it so you can revert if needed.
- For services that access network shares, the account needs both NTFS permissions and share permissions. Granting one but not the other still results in access denied.
- If you manage many PCs, use the same account naming convention across machines to avoid confusion.
- Keep a note of the exact error text and path from Event Viewer; it makes future troubleshooting much faster.
Troubleshooting
If the service still will not start after changing the account and granting folder permissions, work through these checks in order:
- Error 5 (Access is denied) persists: Re-open Event Viewer and look for the newest error. It may name a registry key rather than a folder. Registry permissions are changed with Registry Editor, but only do this if you are comfortable and have a backup; an incorrect registry permission change can break Windows.
- Service starts then stops immediately: This is usually not permissions. Check the Dependencies tab, confirm the executable path on the General tab is correct, and look for application-specific errors in Event Viewer.
- "The service did not respond" error: The service may be timing out. Increase the timeout only if the vendor documents it; otherwise check whether the service is waiting on a network resource it cannot reach.
- Changes do not stick: Group Policy or a management tool may be resetting the service configuration. Check with your administrator before making repeated changes.
- You cannot edit permissions: You need ownership or administrator rights on the folder. If the folder is owned by another account, take ownership first, but note that this changes who controls the folder.
Frequently Asked Questions
Do I need to restart Windows after changing service permissions?
No. Restarting the service is enough for account and file permission changes to take effect. A full reboot is only needed if the service is marked for deletion or if a driver-level component is involved.
What is the difference between Local System, Network Service, and Local Service?
Local System has the highest local privileges and can access most of the PC. Network Service and Local Service are restricted accounts; Network Service can authenticate to network resources as the computer account, while Local Service has minimal network access. Choose based on what the service needs to reach.
Can I fix service permissions without Services Manager?
Yes, using command-line tools like sc.exe or PowerShell, but Services Manager is the simplest graphical way to change the logon account and see dependencies. File permissions still need to be set in File Explorer or with icacls.
Why does the service work when I run it manually but not as a service?
When you run a program manually, it uses your user account, which likely has access to the files. As a service, it runs under the service account, which may not. That difference is the permission issue you are solving.
Is it safe to give a service Full Control on its folder?
For the service's own program and data folders, yes, as long as you grant it only to the service account and not to Everyone. Avoid granting Full Control on system folders like C:\Windows.
What if the service account is a domain account?
Domain accounts need permissions granted on the local folder as well as any network share they access. If the domain account's password changes, update it in the Log On tab or the service will fail to start.