Windows Virtual Desktop (WVD) – Image Management : How to manage and deploy custom images (including versioning) with the Azure Shared Image Gallery (SIG)

A lot of questions I receive about Windows Virtual Desktop (WVD) are about Image Management. Questions like; How can I create a custom image and apply updates on it? What about versioning and the possibility to rollback an image version? All these functions are available with Windows Virtual Desktop, together with the Azure Shared Image Gallery (SIG). In this blog I will show you step-by-step how to create an image, deploy a Windows Virtual Desktop Host pool with it, and update it with a new image version afterwards.
A great benefit of the Azure Image Gallery is that you can deploy your image to different Regions within Azure at the same time. This makes a Windows Virtual Desktop deployment over more then one region even easier. In this blog I will deploy an image to two Regions to show you how that works.
This blog is divided into the following steps:

Deploy a Virtual Machine for creating and customizing the image
Make a disk Snapshot
Creating a Virtual Machine Capture
Create a Shared Image Gallery
Add an image to the Shared Image Gallery
Deploy a Windows Virtual Desktop Host pool with the custom image
Update the custom image (create Disk, new VM, Snapshot and VM Capture)
Add a version to the image in the Shared Image Gallery
Update the Windows Virtual Desktop Host pool with the new image

Step 1 : Deploy a Virtual Machine for creating and customizing the image
The first step is to deploy a VM for creating a custom image with, for example, all the required Line Of Business (LOB) applications and updates. For the next steps, login to the Microsoft Azure Portal .

On the home screen of the Azure portal click + Create a resource

Search for Microsoft Windows 10 + Office 365 ProPlus (if you want to use a Windows 10 Multi-Session OS with Microsoft Office 365 ProPlus pre-installed on it) and click Create

Select your Subscription and create a new Resource group . Give the VM a name, select Region and a VM Size . Fill in the information for the local admin account and click Next : Disks

Select Premium SSD and click Next : Networking

Select the correct Virtual network and Subnet and click Next : Management

Turn off the Boot diagnostics . Click Review + create

Click Create

Connect to the Virtual Machine and install the required LOB applications. Also think about Windows and Store updates. When your finished with the installation and configurations, shut down the Virtual Machine.
Step 2 : Make a disk Snapshot
Since Windows 10 allows us to run Sysprep 8 times only, we need to have an option to go back to the moment before Sysprep. You can do this with a disk Snapshot where you can create a new VM of (see next steps in this blog). Therefor it is a good moment to make a disk Snapshot after every...

Top Tech News