Forum Discussion

evasse's avatar
evasse
Icon for Microsoft rankMicrosoft
Mar 31, 2021

Start VM on connect starts Public Preview!

For all early birds who want to start testing, keep in mind that we have the following limitations:

  • You can configure the setting on validation pool only (we will update this post when you can enable on non-validation too)
  • You can apply this setting for personal host pools only.
  • You can access this setting from PowerShell and RestAPI only.

Please review carefully the additional pre-requisites and set-up guidance here in our documentation.

 

We are working to make the setting available for you through the Azure portal. Later in preview you can expect support for pooled hostpools and support for remaining Remote Desktop clients. We will keep you updated in this forum. Please share your feedback by commenting to this post or create a new post.

  • adityaj141's avatar
    adityaj141
    Copper Contributor

    evasse I tested this feature it looks good!

    I have a feedback because I tested with Windows WVD RD Client and WVD RD Webclient both.

    Can we have the timer showing up the time when we are starting the VM using Windows WVD RD Client also.The timer shows up the time when we connect using WVD RD Webclient. Here is the screen shot for reference.

     

    • evasse's avatar
      evasse
      Icon for Microsoft rankMicrosoft

      adityaj141 : happy to hear your tests were successful. This is not a timer. It is an approximation on avg. how long it may take. 

      • adityaj141's avatar
        adityaj141
        Copper Contributor

        evasse Thanks! Can we have that approx time showing up when we connect using WVD RD Windows Client as well the way we see the approx time when we use WVD RD WebClient.

  • allidoiswin10's avatar
    allidoiswin10
    Copper Contributor

    evasse Worked flawlessly for us. We've sampled an average of ~3mins from clicking on the WVD resource until the user gets a login prompt to sign into their personal host.

    Glad this feature is out! Looking forward to this coming out to GA!

  • morufudeen's avatar
    morufudeen
    Copper Contributor

    evasse My understanding of this new feature is that it still needs to rely on the Azure virtual machines auto-shutdown feature. If I configure a machine to auto-shutdown at 17:00 as an example and a user is logged off said machine at 13:00, does this mean that the machine will remain running for an additional 4 hours before it is shut down? If so, this should be an enhancement request. I appreciate that some cost will still be saved as the machine will still shut down at 17:00 in my example, but further cost savings can be realized if the machine shuts down a few minutes after logoff.

    • evasse's avatar
      evasse
      Icon for Microsoft rankMicrosoft
      Yes this feature only promises what it's name says. You still need to rely on the methods you apply to shut down your VMs.
  • evasse Spent some time today testing the Start VM On Connect feature with little success.  It may be due to my customers unique configuration, but can't seem to get it to work.

     

    WVD Spring Release (v2)

    Personal Host Pool = check

    Validation Host Pool = check

    Custom Role = check

    Azure Public = check

    Updated Host Pool with StartVMOnConnect:$True = check

     

    The session host was initially stopped (deallocated).  Started the VM from PowerShell and logged in to the VM using RD Client (1.2.1844.0). Shutdown the VM from inside the Session and confirmed via PowerShell the VM was stopped (not deallocated).  Tried to Connect to the VM and got the error below:

     

    [Window Title]
    Remote Desktop

    [Content]
    An internal error has occurred.

    [^] Hide details [OK]

    [Expanded Information]
    Error code: 0x0
    Extended error code: 0x0
    Timestamp (UTC): 2021-04-06T20:46:42.414Z
    Activity ID: b574ca6f-a0cb-4717-a7d2-f2606dd50000

    Press Ctrl+C to copy.

     

    Thanks,

    Jason Parker

    • MaartenvandenBerg's avatar
      MaartenvandenBerg
      Copper Contributor
      So, after the exiting news this is in preview for shared pools as well, we went ahead and started to try it out in our Office shared pool. And it works a treat! Are there any plans for introducing this feature in the Linux client as well during preview?
      • evasse's avatar
        evasse
        Icon for Microsoft rankMicrosoft

        MaartenvandenBerg : thank you for feedback :)! We are happy to hear that you are happy with the results. In terms of Linux clients I assume you are using a client one of our partners. I recommend to raise the ask with the partner. 

         

        NOTE: desktops should start even with the Linux clients but the new status messages will be missing.

  • s60tca's avatar
    s60tca
    Copper Contributor
    Do you have any timescales for this moving out of preview?
  • John Quile's avatar
    John Quile
    Brass Contributor

    evasse 

     

    Is this still requiring validation host pool only? 

    Do users need any permissions like VM Operator or VM Contributor? 

Resources