Click here to Skip to main content
15,867,330 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: , +
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 http://stackoverflow.com/questions/4267051/error-5-access-denied-when-starting-windows-service[^] 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?
Posted

If you can't see it, then you have to add it.

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

Click on Edit -> Search for NETWORK SERVICE -> Add that. Then provide necessary permissions.
 
Share this answer
 
Comments
Member 8920414 9-Dec-13 7:46am    
with adding NETWORK SERVICE a new issue arise.Now new notification is :"service on local computer started and then stopped. some services stop automatically if they are not used by programs wcf" .The solution posted on this link is not working :http://stackoverflow.com/questions/18670476/the-service-on-local-computer-started-and-then-stopped-some-services-stop-autom
Right-click on top-level folder containing the service executable. Go to Properties
Go to "Security" Tab
Click "EDIT"
Click "ADD"
Enter the name "SYSTEM", click OK
Highlight SYSTEM user, and click ALLOW check-box next to "Full control"
Click OK twice
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900