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

0
WVD Master Image Creation

Windows virtual Desktop image building process is essential to understand for a WVD IT Pro. I cover WVD custom image creation related steps & questions in this post. I had a bit of trouble getting Windows 10 Enterprise and multi-user custom version working with WVD host pool.

Related PostWVD Troubleshooting Options Tips Tricks – Windows Virtual Desktop

Introduction

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

Following are the Windows OS versions 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?)
WVD Custom Image - Default Azure WVD ARM template Options - WVD Master Image
WVD Custom Image – Default Azure WVD ARM template Options – WVD Master Image

NOTE! – Windows 10 Pro version is not supported to build a WVD custom image.

How to Create WVD Master Images

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

The following are WVD master image using automation mechanism:

WVD Custom Image  - Azure VM Image Builder
WVD Custom Image – Azure VM Image Builder

How Did I Create WVD Custom Image?

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

  • Login into the Azure portal.
  • Create a new Azure Windows VM with win 10 Enterprise template.
  • Run a Sysprep and shutdown.
  • Click on capture button and create a managed image (Managed Image).
WVD Custom Image - Create Managed Image - WVD Master Image
WVD Custom Image – Create Managed Image – WVD Master Image
  • Created a new WVD Host Pool using WVD ARM (Azure portal) template using the managed image.

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

The answer is NO, in case you are using WVD WVD ARM template (WVD Host Pool Creation Guide With New Template) to build Host Pools. Let’s see what makes WVD VM different from any other Azure Windows VM?

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

WVD Custom Image - WVD RD Agent is installed by default on Azure Windows 10 Multi-user and Enterprise Templates - WVD master image
WVD Custom Image – WVD RD Agent is installed by default on Azure Windows 10 Multi-user and Enterprise Templates – WVD master image
  1. The current WVD ARM template installs the agent and boot loader.
  2. The current WVD 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 WVD master image is one option for custom images 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 RD agent:
      • New-RdsRegistrationInfo -TenantName $tenant -HostPoolName $hostpoolname -ExpirationHours 100

TipsWVD Master Image

I don’t recommend adding WVD 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, 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 WVD RD client console.

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

Get-RdsSessionHost -TenantName $tenant -HostPoolName $hostpoolname

Resources

LEAVE A REPLY

Please enter your comment!
Please enter your name here

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