http://www.perlmonks.org?node_id=1018139


in reply to Re: Win32::Service Module is not able start a service in windows
in thread Win32::Service Module is not able start a service in windows

Well actually thats where I am confused. I could able to fetch the status by Win32::Service::GetStatus(); But not able to start it by using GetStart() API.
  • Comment on Re^2: Win32::Service Module is not able start a service in windows

Replies are listed 'Best First'.
Re^3: Win32::Service Module is not able start a service in windows
by BrowserUk (Patriarch) on Feb 11, 2013 at 13:40 UTC

    Can you start the service with net start?


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.
      no ..may be ...My code is not starting the service from admin level ...which might causing the issue. So,I need the help - how to run the "net start " command with admin previllage from my perl programme.
        no ..may be

        Well that clears that up then!?

        If you do not have the authority to start the remote service from the command line; you'll not be able to do it from Perl. Full stop.


        With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
        Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
        "Science is about questioning the status quo. Questioning authority".
        In the absence of evidence, opinion is indistinguishable from prejudice.
        Computers are making people easier to use everyday