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

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-21 09:09:23

问题


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?


回答1:


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.




回答2:


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.




回答3:


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

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




回答4:


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.




回答5:


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



来源:https://stackoverflow.com/questions/20468524/windows-could-not-start-service-on-local-computer-error-5-access-is-denied

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!