remote to the worker machine and install software with reboot

xvorsx's Avatar


13 Feb, 2015 09:52 PM

1) Is it possible to remote on the worker machine?
2) Can I install software, if it require the reboot of machine?

  1. Support Staff 1 Posted by Feodor Fitsner on 14 Feb, 2015 12:45 AM

    Feodor Fitsner's Avatar

    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.

    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?

  2. 2 Posted by xvorsx on 14 Feb, 2015 12:58 AM

    xvorsx's Avatar

    2) We need to be able use VM with WMF 5 . It's essentially powershell v5. One option could be user-provided vhd.

    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.

    Btw, can you explain the motivation behind 40 mins limit per build? We are already close to this limit :)

  3. Support Staff 3 Posted by Feodor Fitsner on 14 Feb, 2015 01:09 AM

    Feodor Fitsner's Avatar

    Well, it's not like that impossible at all to RDP. Notice, it's impossible when build is run on Azure ;) On "Pro" it is possible to RDP into build worker VM. Besides, builds there are faster and perhaps your current build time could be below 20 minutes there.

    Regarding 40 minutes - there is no motivation. Just a number that should 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.

  4. 4 Posted by xvorsx on 14 Feb, 2015 01:30 AM

    xvorsx's Avatar

    Oh, I didn't know. Thank you!

  5. 5 Posted by xvorsx on 17 Feb, 2015 10:52 PM

    xvorsx's Avatar

    We just got a PRO subscription :) How I can rdp to a worker VM now?

  6. Support Staff 6 Posted by Feodor Fitsner on 17 Feb, 2015 11:17 PM

    Feodor Fitsner's Avatar

    Sure, will do a script for that.


  7. Support Staff 7 Posted by Feodor Fitsner on 18 Feb, 2015 05:34 AM

    Feodor Fitsner's Avatar

    OK, here you are:

    Give it a try and let me know what you think. Feel free to do any improvements into it and send PR.

    You can add it to your build with:

    git clone -q
  8. 8 Posted by xvorsx on 28 Mar, 2015 12:54 AM

    xvorsx's Avatar

    Works great, thank you!

  9. 9 Posted by Chris Dembia on 14 Jun, 2015 04:38 AM

    Chris Dembia's Avatar

    That's incredible! Let me add for those who are not familiar with windows, etc.:

     - git clone -q
     - ps: .\ci\scripts\enable-rdp.ps1
  10. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:56 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac