tag:help.appveyor.com,2012-11-13:/discussions/questions/984-remote-to-the-worker-machine-and-install-software-with-rebootAppVeyor: Discussion 2018-10-19T08:17:01Ztag:help.appveyor.com,2012-11-13:Comment/360449812015-02-14T00:45:34Z2015-02-14T00:45:34Zremote to the worker machine and install software with reboot<div><p>1) You can't RDP into build workers running on Azure as there
are no endpoints set on its cloud service. Though it could be a
nice feature request.</p>
<p>2) It's currently not supported either - build agent service is
not able to resume build. What do you need to install that requires
reboot?</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/360449812015-02-14T00:58:33Z2018-01-18T06:55:11Zremote to the worker machine and install software with reboot<div><p>2) We need to be able use VM with WMF 5 <a href="http://www.microsoft.com/en-us/download/details.aspx?id=44987">http://www.microsoft.com/en-us/download/details.aspx?id=44987</a> . It's essentially powershell v5. One option could be user-provided vhd.</p>
<p>These two feature requests are essential for our team. Without some story for them in future we will have to move to non-cloud CI to gain control on the process.</p>
<p>Btw, can you explain the motivation behind 40 mins limit per build? We are already close to this limit :)</p></div>xvorsxtag:help.appveyor.com,2012-11-13:Comment/360449812015-02-14T01:09:49Z2015-02-14T01:09:49Zremote to the worker machine and install software with reboot<div><p>Well, it's not like that impossible at all to RDP. Notice, it's
impossible when build is run on Azure ;) On "Pro" it <em>is</em>
possible to RDP into build worker VM. Besides, builds there are
faster and perhaps your current build time could be below 20
minutes there.</p>
<p>Regarding 40 minutes - there is no motivation. Just a number
that <em>should</em> work for 95% of cases. Definitely, it can't be
"unlimited" as running VM costs money. But we are flexible here and
can increase this cap per account.</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/360449812015-02-14T01:30:37Z2018-01-18T06:55:11Zremote to the worker machine and install software with reboot<div><p>Oh, I didn't know. Thank you!</p></div>xvorsxtag:help.appveyor.com,2012-11-13:Comment/360449812015-02-17T22:52:29Z2018-01-18T06:55:11Zremote to the worker machine and install software with reboot<div><p>We just got a PRO subscription :) How I can rdp to a worker VM now?</p></div>xvorsxtag:help.appveyor.com,2012-11-13:Comment/360449812015-02-17T23:17:50Z2015-02-17T23:17:50Zremote to the worker machine and install software with reboot<div><p>Sure, will do a script for that.</p>
<p>-Feodor</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/360449812015-02-18T05:34:42Z2015-02-18T05:35:25Zremote to the worker machine and install software with reboot<div><p>OK, here you are: <a href=
"https://github.com/appveyor/ci/blob/master/scripts/enable-rdp.ps1">
https://github.com/appveyor/ci/blob/master/scripts/enable-rdp.ps1</a></p>
<p>Give it a try and let me know what you think. Feel free to do
any improvements into it and send PR.</p>
<p>You can add it to your build with:</p>
<pre>
<code>git clone -q https://github.com/appveyor/ci.git
.\ci\scripts\enable-rdp.ps1</code>
</pre></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/360449812015-03-28T00:54:53Z2015-03-28T00:54:53Zremote to the worker machine and install software with reboot<div><p>Works great, thank you!</p></div>xvorsxtag:help.appveyor.com,2012-11-13:Comment/360449812015-06-14T04:38:15Z2015-06-14T04:38:15Zremote to the worker machine and install software with reboot<div><p>That's incredible! Let me add for those who are not familiar
with windows, etc.:</p>
<pre>
<code> - git clone -q https://github.com/appveyor/ci.git
- ps: .\ci\scripts\enable-rdp.ps1</code>
</pre></div>Chris Dembia