windows - Service Controller not able to start service - Access denied -


I am using a Service Controller which is in a window form to start and stop a service that is The message listens to the queue and processes the message. I get an entry denied error when service is started with the winning form. I am using Vista Home Basic and an account which belongs to type Administrator and I have used log in - Local system account. The service can be started and service management console can be stopped normally, but when I try to start the program, I get an error. How can anyone decide in this direction, provide some guidance.

It is possible that you got elevated while opening the service console, but not for your own app.

Set the requested execution level for "Application Manifest File" (this is the name of the template in Visual Studio) and "Expected Administrator" (there are comments in the MANIFEST file that will help).


Comments