Upgrade VMs to Windows Server Azure Edition

Applies to: Azure Stack HCI, versions 22H2 and 21H2; Windows Server 2022, Windows Server 2019, Windows Server 2016

This article describes how to upgrade existing Windows Server virtual machines (VMs) running on your Azure Stack HCI cluster to Windows Server Azure Edition.

Prerequisites

  • Verify that your Azure Stack HCI cluster is configured to support Windows Server Azure Edition. Review the Considerations section in Deploy Windows Server Azure Edition VMs.

  • Ensure that Azure Benefits is enabled and you are licensed to use Windows Server Azure Edition.

  • Review VM compatibility. Windows Server Azure Edition only supports Generation 2 VMs with Secure Boot enabled. Using Manage VMs with Windows Admin Center, you can view the generation of a specific VM on its details page, and Secure Boot status in the Security section of VM Settings.

  • Follow your typical update procedure to ensure that the latest cumulative update is applied to the VMs.

  • Consider backing up the VM using your established backup process, or taking a Hyper-V production snapshot. After verifying that the upgrade was successful, you can delete the checkpoint to save disk space.

Perform the upgrade using ISO file

After all the prerequisites are completed, follow these steps:

  1. Download the Windows Server Azure Edition installer .iso file to a storage location that is accessible from all Azure Stack HCI cluster nodes:

  2. In Windows Admin Center, under Tools, select Virtual machines.

  3. Select the Inventory tab on the right, select the VM being upgraded, and then select Settings.

  4. On the Settings page for the VM, select Disks.

  5. Select the option Use an existing virtual hard disk or ISO image file. Browse to the location of the .iso file, then select Save disk settings. This will attach the downloaded .iso file to the VM being upgraded.

    Screenshot of Screenshot for VM Settings Disk page.

  6. Under Tools, select Virtual machines again.

  7. Select the Inventory tab on the right, select the checkbox next to the VM being upgraded, then select Connect.

  8. Sign in to the VM as a user of the local Administrators group.

  9. Perform an in-place upgrade of Windows Server running setup.exe on the .iso file that you attached to the VM.

Next steps