WVD Custom Image Creation using Windows 10 non Multi-User SKU?

The Azure Virtual Desktop image building process is essential to understand for an AVD IT Pro. I cover AVD custom image creation-related steps & questions in this post.

I had trouble getting Windows 10 Enterprise and multi-user custom version working with the AVD host pool.

Related PostAVD Troubleshooting Options Tips Tricks – Windows Virtual Desktop

Introduction

We were trying to build a master image for AVD. You can create a custom image with the Windows 10 Enterprise/multi-user template available in Azure.

Patch My PC

The Windows OS versions are available apart from custom image options from the managed custom image and blob storage custom images.

  • Windows 10 Enterprise multi-session with Office 365 ProPlus
  • Windows 10 Enterprise Multi-Session
  • Windows 10 Enterprise Version
  • Windows Server 2016 Datacenter
  • Windows Server 2019 Datacenter (Coming Soon?)
AVD Custom Image - Default Azure WVD ARM template Options - WVD Master Image
AVD Custom Image – Default Azure AVD ARM template Options – AVD Master Image 1

NOTE! – Windows 10 or Windows 11 Pro version is not supported for building an AVD custom image.

How to Create AVD Master Images

You have many options to create custom master images. You can use SCCM to create custom master images for the AVD host pool. If you don’t have SCCM infra and SCCM master images, you can Azure VM to build custom images.

The following are AVD master images using the automation mechanism:

Adaptiva
  • The Azure VM Image Builder (AIB) lets you start with a default Windows VM template or custom VM images in Azure to add your customization.
  • Another option for the AVD custom image process is explained https://jrudlin.github.io/2019-09-02-windows-virtual-desktop-azure-devops-ci-cd-packer-build-and-release/
WVD Custom Image  - Azure VM Image Builder
AVD Custom Image – Azure VM Image Builder 2

How Did I Create AVD Custom Image?

I started using the Azure OS template as part of manual testing and created VM in Azure to test the master image.

  • Log in to the Azure portal.
  • Create a new Azure Windows VM with the win 10 Enterprise template.
  • Run a Sysprep and shut down.
  • Click on the capture button and create a managed image (Managed Image).
WVD Custom Image - Create Managed Image - WVD Master Image
AVD Custom Image – Create Managed Image – AVD Master Image 3
  • Created a new AVD Host Pool using the AVD ARM (Azure portal) template using the managed image.

Do We Need to Build Install RD Client & Boot Loader to AVD Custom Image?

The answer is NO if you are using the AVD ARM template (AVD Host Pool Creation Guide With New Template) to build Host Pools. What makes AVD VM different from any other Azure Windows VM?

RD Agent and Boot Loader are the two agents that make any Azure Windows VM an AVD VM. And, of course, a registration token to join the AVD host pool.

AVD Custom Image - WVD RD Agent is installed by default on Azure Windows 10 Multi-user and Enterprise Templates - WVD master image
AVD Custom Image – AVD RD Agent, is installed by default on Azure Windows 10 Multi-user and Enterprise Templates – AVD master image 4
  1. The current AVD ARM template installs the agent and boot loader.
  2. The current AVD ARM template for a new session host pool can use a custom image without agent and boot loader pre-installed.
  3. Installing the RD agent and the bootloader in the AVD master image is one option for custom images but still does not solve the registration piece.
    • Unless you use the following PS command to generate code registration code and use that code while installing the RD agent:
      • New-RdsRegistrationInfo -TenantName $tenant -HostPoolName $hostpoolname -ExpirationHours 100

TipsAVD Master Image

I don’t recommend adding an AVD agent and Boot loader while making a master image. This point is valid for both Windows 10 enterprise and multi-user versions.

NOTE! – Whenever I followed #3 to make the custom image with Windows 10 Enterprise & Windows 10 Multi-Session versions. The VM didn’t get added to Host Pool.

We tried many combinations, but it never worked. The new RDS pool deployment is completed successfully. The host pool icon is not appearing in the web portal https://rdweb.wvd.microsoft.com/webclient/index.html  and AVD RD client console.

Also, I couldn’t see any RDS Session Hosts when I ran the following PS command to find out the AVD VMs registered to a host pool.

Get-RdsSessionHost -TenantName $tenant -HostPoolName $hostpoolname

Resources

1 thought on “WVD Custom Image Creation using Windows 10 non Multi-User SKU?”

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.