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

Posted on 2011-10-28
Last Modified: 2012-05-12
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?

Question by:longjumps
    LVL 15

    Expert Comment

    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?
    LVL 8

    Expert Comment

    by:Pramod Bugudai

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

    LVL 14

    Accepted Solution

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

    gpupdate /force /boot

    Open in new window

    LVL 1

    Author Comment

    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?
    LVL 66

    Expert Comment

    In the Security Policy, you arent listed in the "Deny log on as a service" setting, are you?
    LVL 66

    Expert Comment

    So you cannot run the installer, or the service? That's two different things.....

    Expert Comment

    you have not permission to install that service. you have to login as asministrator
    LVL 1

    Author Closing Comment

    not exact solution

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    PRTG Network Monitor: Intuitive Network Monitoring

    Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

    On July 14th 2015, Windows Server 2003 will become End of Support, leaving hundreds of thousands of servers around the world that still run this 12 year old operating system vulnerable and potentially out of compliance in many organisations around t…
    ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
    In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
    With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now