title | description | services | documentationcenter | author | manager | editor | ms.service | ms.workload | ms.tgt_pltfrm | ms.devlang | ms.topic | ms.date | ms.author |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Enable shutdown of VMs on disconnect Azure Lab Services | Microsoft Docs |
Learn how to enable or disable automatic shutdown of VMs when a remote desktop connection is disconnected. |
lab-services |
na |
spelluru |
lab-services |
na |
na |
na |
article |
05/15/2020 |
spelluru |
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.
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. As a lab owner, you can override the setting when creating a lab or after the lab is created.
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.
You can configure this setting on the Settings page as shown in the following image:
Warning
If you shutdown the Windows operating system (OS) on a VM before disconnecting an RDP session to the VM, the autoshutdown feature will not work properly.
See the following articles: