Edit

Share via


Restart a VM in a lab in Azure DevTest Labs

You can quickly and easily restart a virtual machine in DevTest Labs by following the steps in this article. Consider the following before restarting a VM:

  • The VM must be running for the restart feature to be enabled.

  • If you're connected to a running VM when you perform a restart, you need to reconnect to the VM after it starts back up.

  • If an artifact is being applied when you restart the VM, you might receive a warning stating that the artifact might not be applied:

    Screenshot showing the warning that appears if you try to restart a VM while artifacts are being applied.

    Note

    If a VM stalls while you're applying an artifact, restarting the VM might resolve the issue.

To restart a VM:

  1. Sign in to the Azure portal.

  2. Go to the lab that includes the VM you want to restart.

  3. In the list of VMs, select a running VM.

  4. At the top of the VM Overview page, select Restart:

    Screenshot of the Azure portal showing the VM Restart button.

  5. Monitor the status of the restart by selecting the Notifications button in the top-right corner of the window:

    Screenshot showing the notification button and message.

You can also restart a running VM by selecting the associated ellipsis button (...) in the My virtual machines list:

Screenshot showing the VM Restart option in the ellipses menu.

After the VM restarts, you can reconnect to it by selecting Connect on the VM's Overview page.