Skip to content

Commit fbd8a9a

Browse files
authored
Merge pull request #98971 from spelluru/labshutdown1213
Automatic shutdown of VMs on disconnect
2 parents 954651e + 1538dda commit fbd8a9a

File tree

6 files changed

+48
-0
lines changed

6 files changed

+48
-0
lines changed

articles/lab-services/classroom-labs/TOC.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@
7070
href: how-to-use-shared-image-gallery.md
7171
- name: Enable remote desktop connection for Linux
7272
href: how-to-enable-remote-desktop-linux.md
73+
- name: Enable automatic shutdown on disconnect
74+
href: how-to-enable-shutdown-disconnect.md
7375
- name: Enable nested virtualization on a template VM
7476
href: how-to-enable-nested-virtualization-template-vm.md
7577
- name: Prepare a Windows template VM

articles/lab-services/classroom-labs/how-to-configure-lab-accounts.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,14 @@ On the **Sign-in options** page, select **Sign in with GitHub**.
129129

130130
Finally, they are prompted to create a Microsoft account that's linked to their GitHub account. It happens automatically when the instructor selects **Next**. The instructor is then immediately signed in and connected to the classroom lab.
131131

132+
## Automatic shutdown of VMs on disconnect
133+
You can enable or disable automatic shutdown of Windows lab VMs (template or student) after a remote desktop connection is disconnected. You can also specify how long the VMs should wait for the user to reconnect before automatically shutting down.
134+
135+
![Automatic shutdown setting at lab account](../media/how-to-configure-lab-accounts/automatic-shutdown-vm-disconnect.png)
136+
137+
This setting applies to all the labs created in the lab account. A lab owner can override this setting at the lab level. The change to this setting at the lab account will only affect labs that are created after the change is made.
138+
139+
To learn about how a lab owner can configure this setting at the lab level, see [this article](how-to-enable-shutdown-disconnect.md)
132140

133141
## Next steps
134142
See the following articles:
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
---
2+
title: Enable shutdown of VMs on disconnect Azure Lab Services | Microsoft Docs
3+
description: Learn how to enable or disable automatic shutdown of VMs when a remote desktop connection is disconnected.
4+
services: lab-services
5+
documentationcenter: na
6+
author: spelluru
7+
manager:
8+
editor: ''
9+
10+
ms.service: lab-services
11+
ms.workload: na
12+
ms.tgt_pltfrm: na
13+
ms.devlang: na
14+
ms.topic: article
15+
ms.date: 12/13/2019
16+
ms.author: spelluru
17+
18+
---
19+
20+
# Enable automatic shutdown of VMs on disconnect
21+
This article shows you how you can enable or disable automatic shutdown of **Windows 10** lab VMs (template or student) after a remote desktop connection is disconnected. You can also specify how long the VMs should wait for the user to reconnect before automatically shutting down.
22+
23+
A lab account administrator can configure this setting for the lab account in which you create labs. For more information, see [Configure automatic shutdown of VMs on disconnect for a lab account](how-to-configure-lab-accounts.md#automatic-shutdown-of-vms-on-disconnect). As a lab owner, you can override the setting when creating a lab or after the lab is created.
24+
25+
## Configure when creating a lab
26+
On the step 3 page of lab creation wizard, you can enable or disable this feature and also specify how long the VM should wait for the user to reconnect before automatically shutting down.
27+
28+
![Configure at the time of lab creation](../media/how-to-enable-shutdown-disconnect/configure-lab-creation.png)
29+
30+
## Configure after the lab is created
31+
You can configure this setting on the **Settings** page as shown in the following image:
32+
33+
![Configure after the lab is created](../media/how-to-enable-shutdown-disconnect/configure-lab-automatic-shutdown.png)
34+
35+
## Next steps
36+
See the following articles:
37+
38+
- [Dashboard for classroom labs](use-dashboard.md)
65.3 KB
Loading
25.9 KB
Loading
47.6 KB
Loading

0 commit comments

Comments
 (0)