Answers: <p>Have you checked the following link: <a href="https://wiki.jenkins.io/display/JENKINS/Step+by+step+guide+to+set+up+master+and+agent+machines+on+Windows" rel="nofollow noreferrer">https://wiki.jenkins.io/display/JENKINS/Step+by+step+guide+to+set+up+master+and+agent+machines+on+Windows</a>
  I advise you to configure a node on the master ( manage --&gt; manage nodes ) and set the <code>launch method</code> to  <code>launch agent by connecting it to the master</code>. After that you have three methods to connect the Windows agent to Jenkins master, the easiest way will be to lanch it from a browser.
  <a href="https://i.sstatic.net/PBkRc.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/PBkRc.png" alt="enter image description here" /></a>
  This should work enven with jdk 11.</p>
  
Answers: CC BY-SA 4.0
Answers: 2021-01-08T16:38:53.197Z
Answers: Link seems to be about Windows master to Windows agent. Would it work for Linux master to Windows agent as well ?
Answers: erik
Answers: CC BY-SA 4.0
Answers: 2021-01-08T16:41:27.887Z
Answers: that's what i'm using for a Jenkins Master on Linux <--> Jenkins agent on Windows. if you encounter a specific error please share the details with jenkins version.
Answers: aniskh
Answers: CC BY-SA 4.0
Answers: 2021-01-08T16:32:38.193Z
Answers: 2021-01-08T16:32:38.193Z
Answers: aniskh
Answers: <p>I've added a Jenkins windows slave to a Jenkins master running on Linux not too long ago and wrote the steps I've taken for future use.</p>
  <p>Here's what needs to be done:</p>
  <p>Jenkins service on the windows slave needs to be started with a dedicated user rather than local system account.</p>
  <p>Then I had some problems when I tried connecting from the master jenkins to this windows-jenkins-slave of &quot;Access denied&quot; - when the master tried to start the local service.</p>
  <p>In order to avoid &quot;Access denied&quot; errors when the master tries connecting to windows slave, follow these steps:</p>
  <ul>
  <li>Create a dedicated user for jenkins which is a member of the local administrative group on the windows-jenkins-slave.</li>
  <li>Allow the local administrator group full control over the following registry values:</li>
  </ul>
  <ul>
  <li><p>HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Wow6432Node\CLSID{72C24DD5-D70A-438B-8A42-98424B88AFB8}</p>
  </li>
  <li><p>HKEY_CLASSES_ROOT\CLSID{76A64158-CB41-11D1-8B02-00600806D9B6}</p>
  </li>
  </ul>
  <p>And then reboot the windows agent to apply the changes to the registry.</p>
  <p>Then, Configure the node in master Jenkins like so:
  <a href="https://i.sstatic.net/cD3F2.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/cD3F2.png" alt="enter image description here" /></a></p>
  <p>this jenkins user is the local user I've created.</p>
  <ul>
  <li>Add this local jenkins user to the jenkins service as the log on user.</li>
  </ul>
  
Answers: CC BY-SA 4.0
Answers: 2021-01-09T11:43:49.713Z
Answers: 2021-01-09T21:21:10.860Z
Answers: 2021-01-09T21:21:10.860Z
Answers: Itai Ganot
Body: <p>I have a Jenkins master on a Linux machine and I would like it to be able to connect to a Windows 10 agent, how do I do that?</p>
  <p>I can't find much in the official documentation about agents in general, and as for searching the web, the results show how to do it using JNLP, which only works on Java 8 and not on 11, and I don't want to downgrade from 11 to 8.</p>
  <p>I've been able to set up Linux agents, to which I connect using ssh (<a href="https://support.cloudbees.com/hc/en-us/articles/222978868-How-to-Connect-to-Remote-SSH-Slaves" rel="nofollow noreferrer">like this</a>), but the same process doesn't seem to work for the Windows agent.</p>
  <p>I am at wits' end here, do you know or have any up-to-date resources on connecting to Windows agents? Thanks.</p>
  
Tags: <jenkins>
Title: Jenkins connect to Windows 10 agent
UserDisplayName: erik
ThreadText: # Jenkins connect to Windows 10 agent
  
  (Asked by: username_0 on 2020-12-30)
  
  I have a Jenkins master on a Linux machine and I would like it to be able to connect to a Windows 10 agent, how do I do that?
  
  I can't find much in the official documentation about agents in general, and as for searching the web, the results show how to do it using JNLP, which only works on Java 8 and not on 11, and I don't want to downgrade from 11 to 8.
  
  I've been able to set up Linux agents, to which I connect using ssh ([like this](https://support.cloudbees.com/hc/en-us/articles/222978868-How-to-Connect-to-Remote-SSH-Slaves)), but the same process doesn't seem to work for the Windows agent.
  
  I am at wits' end here, do you know or have any up-to-date resources on connecting to Windows agents? Thanks.
  
  **Tags:** jenkins
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_1 on 2021-01-08. Score: 0
  
  Have you checked the following link: <https://wiki.jenkins.io/display/JENKINS/Step+by+step+guide+to+set+up+master+and+agent+machines+on+Windows>
  I advise you to configure a node on the master ( manage --> manage nodes ) and set the `launch method` to `launch agent by connecting it to the master`. After that you have three methods to connect the Windows agent to Jenkins master, the easiest way will be to lanch it from a browser.
  [![enter image description here](https://i.sstatic.net/PBkRc.png)](https://i.sstatic.net/PBkRc.png)
  This should work enven with jdk 11.
  
  > **Comments:**
  > **username_0**: Link seems to be about Windows master to Windows agent. Would it work for Linux master to Windows agent as well ?  
  > **username_1**: that's what i'm using for a Jenkins Master on Linux <--> Jenkins agent on Windows. if you encounter a specific error please share the details with jenkins version.  
  
  ---
  
  ### Answer by username_2 on 2021-01-09. Score: 0
  
  I've added a Jenkins windows slave to a Jenkins master running on Linux not too long ago and wrote the steps I've taken for future use.
  
  Here's what needs to be done:
  
  Jenkins service on the windows slave needs to be started with a dedicated user rather than local system account.
  
  Then I had some problems when I tried connecting from the master jenkins to this windows-jenkins-slave of "Access denied" - when the master tried to start the local service.
  
  In order to avoid "Access denied" errors when the master tries connecting to windows slave, follow these steps:
  
  * Create a dedicated user for jenkins which is a member of the local administrative group on the windows-jenkins-slave.
  * Allow the local administrator group full control over the following registry values:
  
  * HKEY\_LOCAL\_MACHINE\SOFTWARE\Classes\Wow6432Node\CLSID{72C24DD5-D70A-438B-8A42-98424B88AFB8}
  * HKEY\_CLASSES\_ROOT\CLSID{76A64158-CB41-11D1-8B02-00600806D9B6}
  
  And then reboot the windows agent to apply the changes to the registry.
  
  Then, Configure the node in master Jenkins like so:
  [![enter image description here](https://i.sstatic.net/cD3F2.png)](https://i.sstatic.net/cD3F2.png)
  
  this jenkins user is the local user I've created.
  
  * Add this local jenkins user to the jenkins service as the log on user.
  
  
  ---
  
  