user3056831
user3056831

Reputation: 163

windows could not start service on local computer error 5 access is denied

After debugging and installing windows service in windows 8 I have error when I try to start a windows service :"The Windows could not start service on local computer Error 5 Access is denied" .While attempting fist answer from this link i found that NETWORK SERVICE account doesn't exist in the list of user names for assigning the correct permissions in windows 8 .How i can solve this problem using windows 8?

Upvotes: 13

Views: 164818

Answers (6)

MichielDeRouter
MichielDeRouter

Reputation: 426

Check the Event Viewer in Windows for more details on the error. In my case, the application could not login to the database. Giving it a 5. Acces Denied error.

Upvotes: 1

Supriya Saraogi
Supriya Saraogi

Reputation: 1

You might want to uninstall the service, Install it again as administrator. Now run it. it should work.

Upvotes: 0

IgorGanapolsky
IgorGanapolsky

Reputation: 26821

You might want to read these instructions: http://www.thewindowsclub.com/access-is-denied-local-services-windows-8-1. It involves you changing the permissions in the Registry, then rebooting your system.

Upvotes: 1

JD - DC TECH
JD - DC TECH

Reputation: 1203

Right click in the service in Window Services and go to Properties. Then go to Log On tab and select Local System account. Click on Ok button and start the service.

Upvotes: 59

user1069816
user1069816

Reputation: 2911

I got this error due to the executable that the service was pointed at being missing, in my case it had been removed by the Anti Virus on the PC.

Upvotes: 3

user3056831
user3056831

Reputation: 163

Follow the steps- Cannot Start Windows Service in NetworkService account.

Click on Edit -> Search for NETWORK SERVICE -> Add that. Then provide necessary permissions.

Upvotes: 1

Related Questions