---
title: Azure – You can now automatically shutdown virtual machine in DevLab when user disconnect - cubesys
description: You may already know the Azure service called Azure Lab Services which allows you to quickly create development/test environment in a self-service mode for your developers and/or testers.This service has been updated to now allowing you to automatically shutdown virtual machines when user disconnects from the remote desktop session.To enable…
---

[Latest News & Blogs - cubesys ](https://www.cubesys.com.au/blog)

# [Azure – You can now automatically shutdown virtual machine in DevLab when user disconnect - cubesys](https://www.cubesys.com.au/blog/azure-you-can-now-automatically-shutdown-virtual-machine-in-devlab-when-user-disconnect)

 Written by [cubesys](https://www.cubesys.com.au/blog/author/cubesys) | Jan 9, 2020 1:00:00 PM

You may already know the Azure service called Azure Lab Services which allows you to quickly create development/test environment in a self-service mode for your developers and/or testers.

This service has been updated to now allowing you to automatically shutdown virtual machines when user disconnects from the remote desktop session.

To enable this new feature, just go to your Azure Lab Services settings

<https://www.cubesys.com.au/hubfs/Imported_Blog_Media/image_thumb-98.png>

And then enable the option “Automatically shut down virtual machines when users disconnect” and define the timing before the VM will be shutdown once the user is in disconnected mode

<https://www.cubesys.com.au/hubfs/Imported_Blog_Media/image_thumb1-80.png>

[View full post](https://www.cubesys.com.au/blog/azure-you-can-now-automatically-shutdown-virtual-machine-in-devlab-when-user-disconnect)

```json
{
  "@context" : "http://schema.org",
  "@type" : "BlogPosting",
  "author" : {
    "@type" : "Person",
    "name" : "cubesys"
  },
  "dateModified" : "2025-02-21T15:53:49.121Z",
  "datePublished" : "2020-01-09T13:00:00Z",
  "headline" : "Azure – You can now automatically shutdown virtual machine in DevLab when user disconnect",
  "image" : {
    "@type" : "ImageObject",
    "height" : 60,
    "url" : "/hs/hsstatic/content_shared_assets/static-1.4092/img/default-amp-logo.png",
    "width" : 60
  },
  "mainEntityOfPage" : "https://www.cubesys.com.au/blog/azure-you-can-now-automatically-shutdown-virtual-machine-in-devlab-when-user-disconnect",
  "publisher" : {
    "@type" : "Organization",
    "logo" : {
      "@type" : "ImageObject",
      "height" : 60,
      "url" : "/hs/hsstatic/content_shared_assets/static-1.4092/img/default-amp-logo.png",
      "width" : 60
    },
    "name" : "Latest News"
  }
}
```