• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 191
  • Last Modified:

MS Windows - service install - "no sufficient previlages to start"

I have my service that I wrote. In some machines despite I am local Administrator I get

 service failed to start
In some machine it is ok, but another I got the error above.

What can be the issue here?

0
longjumps
Asked:
longjumps
1 Solution
 
Darrell PorterEnterprise Business Process ArchitectCommented:
Are you using NT Authority/System (Local System) for the Service startup or are you using a user account?  Does the account have the user right to Logon as a Service?
0
 
Pramod BugudaiCommented:
Hi.

You don't have admin privilege to install a service or run it in that machine.
Try with admin login.

0
 
athomsfereCommented:
IF you have admin via AD /  GP run the following from a command prompt on the machine:

gpupdate /force /boot

Open in new window

0
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

 
longjumpsAuthor Commented:
I am local Administrator on this machine.

What is "NT Authority/System (Local System) for the Service startup"?
I do login as local Administrator and than run installer msi.exe one part of installer I run is to install my service.

What is "have admin via AD /  GP"?

How "gpupdate /force /boot" can help?
0
 
johnb6767Commented:
In the Security Policy, you arent listed in the "Deny log on as a service" setting, are you?
0
 
johnb6767Commented:
So you cannot run the installer, or the service? That's two different things.....
0
 
deependrasuroliaCommented:
you have not permission to install that service. you have to login as asministrator
0
 
longjumpsAuthor Commented:
not exact solution
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Certified Penetration Testing

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now