For a pod in Microsoft Azure, you can use the Import Desktop wizard to create the master virtual machine (VM) using an operating system image from the Microsoft Azure Marketplace. In the process, the VM is automatically configured with the elements and agent-related software required to conform to the Horizon Cloud environment's requirements. The resulting VM is also joined to your AD domain as part of the automated process.
By default, the system sets Optimize Windows Image, regardless of operating system, and Remove Windows Store Apps, for Windows 10 operating systems, to Yes. Keeping those toggles set to Yes is strongly recommended to help prevent you from encountering Microsoft Windows Sysprep issues that might occur when the VM is later published as an image.
As an example, the 3D support in RDSH agent option is selected by default in the Advanced Options section when you have selected a Microsoft Windows Server operating system in the OS drop-down list. However, when you have selected a Microsoft Windows client operating system that 3D support in RDSH agent option is not selected for installation. Because that option is only applicable for RDSH use, and RDSH farms only use server operating systems, the Import Image wizard automatically sets the appropriate 3D support in RDSH setting based on your OS choice.
If you are creating an image with a Microsoft Windows 10 operating system, verify that you have valid licensing for that operating system. At this time, the Microsoft Azure documentation indicates that to legally run Windows 10 in Microsoft Azure, you must have licensing for Microsoft Windows 10, typically by purchasing an E3 or E5 license. Please verify licensing requirements and restrictions with your Microsoft Licensing distributor.
By default, this process installs the User Environment Manager FlexEngine component in its typical mode. User Environment Manager provides various options for achieving the persistence of end-user data, settings, and profiles of desktops provisioned by your pod. For more information, see the User Environment Manager product documentation.
- In the Horizon Cloud Administration Console, click and then click Import.
- In the Import Desktop window, click From Marketplace.
- Select the destination location and pod for the desktop.
After you select a location, the choices in the Pod list are filtered to show the pods available in the selected location.Important: If you are planning to use this image for GPU-enabled desktops or remote applications, ensure that the selected pod resides in a Microsoft Azure region that supports GPU-enabled virtual machines (VMs). GPU-enabled VMs are only available in some Microsoft Azure regions. See Microsoft Azure Products by region for details.
- Select the details for the base VM.
Option Description OS Select the Microsoft Windows operating system to use for the image's underlying VM.
Note: This drop-down menu takes a few moments to populate the entries.
- If you are going to use this image for VDI desktops, select one of the Windows 10 operating systems that are listed in the drop-down list. Do not select one of the server operating systems for a VDI desktop image.
- If you are going to use this image for RDSH session desktops or RDS-based remote applications, select one of the listed server operating systems.
Include GPU Set this toggle to Yes to specify a GPU-enabled VM for this master VM.Important: If you select Yes, after the master VM is created, you must log into the VM's operating system and install the supported NVIDIA graphics drivers to get the GPU capabilities of the Microsoft Azure GPU-enabled VM. You install the drivers after the VM is created and the Imported VMs page shows the agent-related status as active. Domain Select the Active Directory domain that you want configured in this master VM. The master VM will be joined to this domain. Enable Public IP Address Set this toggle to Yes to configure a public IP address for this master VM. When set to Yes, the VM gets both a private IP address and a public one.
When this toggle is set to No, the VM is configured with only a private IP address in your Microsoft Azure environment.
Optimize Windows Image By default, this toggle is set to Yes to create a master VM that meets VMware recommendations and best practices for optimizing a VM's Microsoft Windows operating system. This optimization includes adjusting default operating system services features to meet the best practices, such as:
- Disabling physical desktop features that are irrelevant in a virtual environment, to provide more efficient VM performance.
- Disabling certain Windows system services, such as Windows Update, so that control of that service is isolated to administrators instead of the end users.
For more details, see Deciding to Optimize the Windows Image When Using the Import Desktop Wizard.Important: Keeping the Yes setting is strongly recommended to help prevent you from encountering Microsoft Windows Sysprep issues that might occur when the VM is later published as an image.
Remove Windows Store Apps This toggle is visible only when OS is set to a Microsoft Windows 10 operating system. By default, this toggle is set to Yes to create a master VM that:
Important: Keeping the Yes setting is strongly recommended to help prevent you from encountering Microsoft Windows Sysprep issues that might occur when the VM is later published as an image.
- Disables the Windows Store Installer Service.
- Removes Windows Store applications that come in the base Windows 10 operating system by default. These Windows 10 default applications are ones provided by AppX packages in the Windows 10 operating system.
For more details, see Deciding to Remove Windows Store Apps When Using the Import Desktop Wizard.
- Provide administration details.
Option Description Username Type the admin name that you want for the VM's local administrator account. This local administrator account is created in the VM during the process. This name will be used for the local admin account to access the VM's operating system, and also used during the convert to image process. This name can be a maximum of 15 characters in length, must not end in a period ("."), and must not be one of the admin names that are not allowed when creating a VM in Microsoft Azure.Important: Ensure you can remember this local administrator account information (this name and the password that you specify in the Password text box), or that you write it down so you can retrieve the information later. You will need these credentials when you want to add any third-party applications to this master image and when performing the New Image workflow to publish this master image to the system. Password Type the password that you want for that administrator account. The password must adhere to the Microsoft Azure password rules:
- Must not be one of the admin account passwords that are not allowed when creating a VM in Microsoft Azure
- Must be from 12 through 123 characters in length and meet three out of the following four complexity requirements:
- Contain a lowercase character
- Contain an uppercase character
- Contain a digit
- Contain a special character, such as (!@#$%/^&*)
Verify Password Re-type the password. Windows license question
The intent of this license question depends on whether you are using a Microsoft Windows Server or a Windows 10 client operating system for this master VM.
- When the OS choice is set to a Microsoft Windows Server operating system, set this toggle to Yes to specify both:
- That you are eligible to use the Azure Hybrid Benefit (also known as Azure Hybrid Use Benefit or HUB) with the selected OS choice
- That you want to apply that Azure Hybrid Benefit to this master image VM
When you set the toggle to Yes, you must also check the check box that is displayed.
As described in the Microsoft Azure documentation, the Azure Hybrid Benefit is designed by Microsoft to save you money when you already have valid Microsoft Windows Server licenses. The Azure Hybrid Benefit FAQ is located in the Microsoft Azure documentation at https://azure.microsoft.com/en-us/pricing/hybrid-benefit/faq/. According to the Microsoft Azure documentation, when you have a Windows Server license with Software Assurance or a Windows Server subscription for the selected server operating system, you can use the Azure Hybrid Benefit for the virtual server instances that have those Windows Server operating systems.
- When the OS choice is set to a Microsoft Windows 10 client operating system for this master VM, Horizon Cloud sets the VM to use the Windows Client license type by default and you cannot change this setting. By design, Horizon Cloud sets the same license type on the VM that would be set if you manually used the Microsoft Azure portal and created the VM from the Azure Marketplace with the selected Microsoft Windows 10 operating system. At this time, the Microsoft Azure documentation indicates that to legally run Windows 10 in Microsoft Azure, you must have licensing for Microsoft Windows 10, typically by purchasing an E3 or E5 license. Please verify licensing requirements and restrictions with your Microsoft Licensing distributor.
- In the Name field, provide a name for the master VM and an optional description.
Important: Do not enter a name that was previously used for a master VM that has been converted into an assignable image in your Horizon Cloud environment. For example, if a master image was converted into an assignable image so that it is listed on the Images page, do not enter the same name here. Due to a known issue, the VM creation process fails silently if you reuse a name that is already listed on the Images page. The system will not create the VM in Microsoft Azure, however, an error message does not appear in the Administration Console.
The name must adhere to the following rules:
- It cannot contain an underscore character (_).
- It can have only alphanumeric characters and the hyphen.
- The name must start with an alphabetic character (not a number).
- The name cannot end with a hyphen (-).
- Use the toggles in the Advanced Options section to customize the Horizon agent features that will be installed in the master VM.
When the option's toggle is set to Yes, the corresponding feature will be installed in the master VM.Note: In addition to the options you see selected in this Import Desktop wizard, the wizard always installs the following key features by default.
- Horizon agent - HTML5 Multimedia Redirection. Redirects HTML5 multimedia content in a Chrome or Edge browser to the user's local system to optimize performance.
- Horizon agent - Horizon Performance Tracker. Monitors the performance of the display protocol and system resource usage.
- Horizon agent - vRealize Operations Desktop Agent. Collects activity-related data from user sessions in the desktop instance or farm server instances based on this image, and sends that data to the Horizon Cloud cloud monitoring service.
- User Environment Manager client components. Enables use of User Environment Manager features with the desktop VMs and server VMs that are provisioned based on this image.
Option Description Enable Flash MMR Provides the ability to redirect Flash multimedia content that is streamed to the virtual desktop to stream directly to the client computer and decoded on the client system, to optimize performance. The client system plays the media content, offloading the demand on the virtual desktop. 3D support in RDSH Applicable when the OS choice is set to a server operating system. Provides 3D graphics support to applications that run on a GPU-enabled RDSH server image. MMR for Terminal Services Provides the ability to redirect multimedia content that is streamed to the virtual desktop to stream directly to the client computer and decoded on the client system, to optimize performance. The client system plays the media content, offloading the demand on the virtual desktop. Client Drive Redirection Allows Horizon Client users to share local drives with their virtual desktops and RDS-based applications. Skype for Business Provides the ability to use the virtual desktops to make optimized audio and video calls with Skype for Business. Webcam Support (Real-Time Audio Video RTAV) Redirects webcam and audio devices that are connected to the users' client systems so that those devices can be used on the virtual desktop. Smart Card Not installed by default. Lets users authenticate with smart cards when they use the PCoIP or Blast Extreme display protocol. Thin Print Allows users to print to any printer available on their client computers, without installing additional drivers. Scanner Redirection Not installed by default. Redirects scanning and imaging devices that are connected to the users' client systems so that they can be used on the virtual desktop or RDS-based application. USB Redirection Not installed by default. Gives users access to locally connected USB flash drives and hard disks in the virtual desktops and RDS-based applications.Note: For guidance on using USB redirection securely, see the View Security guide. For example, you can use group policy settings to disable USB redirection for specific users. URL Redirection Not installed by default. Allows Horizon Client to determine which URLs should be handled using the virtual desktop or application instead of using the users' client system, and open those URLs using the virtual desktop or RDS-based application. Serial Port Redirection Not installed by default. Redirects devices that are connected to the serial ports on the users' client systems so that they can be used on the virtual desktop or RDS-based application. Geolocation Redirection Not installed by default. Allows for sharing the client system's geolocation information with Internet Explorer 11 on the virtual desktop. This option results in the Horizon Geolocation Redirection option installed when the agent is installed in the master VM. Additional requirements are needed after the master VM is ready. For details, see the Horizon 7 topic System Requirements for Geolocation Redirection. Help Desk Provides the ability to collect performance-related desktop and session metrics from the virtual desktops. Those metrics can help you troubleshoot the health of the virtual desktops. Those metrics are used in the Administration Console's user card, which is part of the system's help-desk-related features.Note: If you turn off this toggle, performance-related metrics from user sessions in the desktop instances or farm server instances based on this image are not collected. As a result, user-session data will not be send to the cloud monitoring service, and cannot be reported in the user card for such sessions and in reports on the Reports page. For details, see The User Card in the Horizon Cloud Administration Console and Reports Page.For extended details about the preceding agent-related options used for VDI desktops and RDS hosts, as well as about all of the Horizon agent featurs that are always installed by default, see Horizon Agent Custom Setup Options (for those options applicable to a VDI desktop) and Horizon Agent Custom Setup Options for an RDS Host in the VMware Horizon 7 product documentation.
- Click Import.
The system begins creating and configuring the master VM. During this process, the VM is joined to the Active Directory domain that was selected in the Domain list. When the VM is created in the pod, it is listed on the Imported VMs page. Use the refresh icon to see the latest set of VMs on the page. Even though the VM is listed on the page after several minutes, the master VM is not ready for installing applications or drivers until the Imported VMs page indicates an active agent-related status. It can take approximately 30 minutes for the agent status to reach active state.
If the process fails, the system generates a notification about the failure and displays a Failed link in the Agent Version column. Clicking that link opens the Notification page where you can read the reason for the failure.
What to do next
Customize the image's Windows operating system, including configuring things like wallpapers and installing the applications you want the VM to provide to your end users. If you enabled a public IP address for the VM, you can connect to the created VM by using the IP address displayed on the Imported VMs page in an RDP client like Microsoft Remote Desktop Connection. For details, see Customize the Master Image VM's Windows Operating System.
If you selected Yes for Include GPU, you must log into the VM's operating system and install the supported NVIDIA graphics drivers to get the GPU capabilities of the Microsoft Azure GPU-enabled VM. You install the drivers after the VM is created and the Imported VMs page shows that the agent-related status is active. See Install NVIDIA Graphics Drivers in a GPU-Enabled Master Image.
If you want to use the features of NSX Cloud and its NSX-T Data Center components with the farm server instances or VDI assignment desktop instances based on this master image, you must log into the VM's operating system and install the NSX agent before publishing the image. See the topics VMware NSX Cloud and Horizon Cloud Pods in Microsoft Azure and Install the NSX Agent in the Master Image.
The import process installs the User Environment Manager client components by default. The FlexEngine client component is installed using its typical mode. The installation path in the resulting VM is C:\Program Files\VMware\Horizon Agents\User Environment Manager. If you want to use User Environment Manager with the desktop VMs and farm server VMs based on this image, configure a separate file server in your Microsoft Azure subscription that has at least SMB 2 enabled. Then configure User Environment Manager using that file server. Also configure the GPO settings that are required when the FlexEngine is installed in its typical mode. For details, see the User Environment Manager documentation topics in the User Environment Manager product documentation.