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

前端 未结 6 2490
[愿得一人]
[愿得一人] 2021-02-20 16:48

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 A

相关标签:
6条回答
  • 2021-02-20 17:02

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

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

    0 讨论(0)
  • 2021-02-20 17:11

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

    0 讨论(0)
  • 2021-02-20 17:14

    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.

    0 讨论(0)
  • 2021-02-20 17:16

    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.

    0 讨论(0)
  • 2021-02-20 17:17

    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.

    0 讨论(0)
  • 2021-02-20 17:19

    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.

    0 讨论(0)
提交回复
热议问题