13

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?

Community
  • 1
  • 1
user3056831
  • 163
  • 2
  • 2
  • 8
  • Is anything written to the event viewer or used proc mon (a sysinternals tools) to see what the access issue is? – PCG Dec 09 '13 at 12:32

6 Answers6

58

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.

Mike G
  • 4,232
  • 9
  • 40
  • 66
JD - DC TECH
  • 1,193
  • 9
  • 13
3

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.

user1069816
  • 2,763
  • 2
  • 26
  • 43
1

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

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

Community
  • 1
  • 1
user3056831
  • 163
  • 2
  • 2
  • 8
1

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.

IgorGanapolsky
  • 26,189
  • 23
  • 116
  • 147
1

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.

MichielDeRouter
  • 426
  • 4
  • 21
0

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