Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-34125

Slave service installation on Win 10 and Win 8.1 64bit doesnt work

    XMLWordPrintable

Details

    Description

      I'm trying to install jenkins slave as service on win 10 and win 8.1 but on both of them I get the following error.
      [JenkinsWorkDirectory]$ c:\JenkinsWorkDirectory\jenkins-slave.exe install
      WMI.WmiException:AccessDenied
      at WMI.WmiRoot.ClassHandler.Invoke(Object proxy, MethodInfo method, Object[] args)
      at WMI.Win32ServicesProxy.Create(String, String, String, ServiceType, ErrorControl, StartMode, Boolean, String, String, String[])
      at winsw.WrapperService.Run(String[]_args,ServiceDescriptor descriptor)
      at winsw.WrapperService.Main(String[]args)

      I launch the slave as java web start and when I try to install it from service it doesnt work.
      Tried the same thing on windows 7 and it works without any issue there.

      Attachments

        Activity

          zalimgandhera ahmed daniel added a comment - Found the solution to this issue from stackoverflow... Here is it's link http://stackoverflow.com/questions/36500231/installing-jenkins-slave-as-service-on-win8-1-and-win10/37147085?noredirect=1#comment62929396_37147085 .

          People

            kohsuke Kohsuke Kawaguchi
            zalimgandhera ahmed daniel
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: