When you create a catalog, a master image is used (with other settings) as a template for creating the machines.
Citrix-managed master images
Citrix Managed Desktops provides several Citrix-managed master images:
- Windows 10 Enterprise (single-session)
- Windows 10 Enterprise Virtual Desktop (multi-session)
- Windows 10 Enterprise Virtual Desktop (multi-session) with Office 365 ProPlus
- Windows Server 2012 R2
- Windows Server 2016
The Citrix-managed master images already have a Citrix Virtual Delivery Agent (VDA) and troubleshooting tools installed. The VDA is the communication mechanism between your users’ machines and the Citrix Cloud infrastructure that manages the service. Images provided by Citrix are notated as CITRIX.
You can also import and use your own master image from Azure.
Ways to use master images
- Use a Citrix-managed image when creating a catalog. This choice is recommended only for proof of concept deployments.
- Use a Citrix-managed image to create another image. After the new image created, you customize it by adding applications and other software that your users need. Then, you use that customized image when creating a catalog.
- Import an image from Azure. After you import an image from Azure, you can then use that image when creating a catalog. Or, you can use that image to create a new image, and then customize it by adding apps. Then, you use that customized image when creating a catalog.
When you create a catalog, Citrix Managed Desktops verifies that the master image uses a valid operating system, and has a Citrix VDA and troubleshooting tools installed (along with other checks).
Display master image information
From the Manage dashboard, expand Master Images on the right. The display lists the master images that Citrix provides, and images that you created and imported.
Click an image to display its details.
Prepare a new master image
Preparing a new master image includes creating the image and then customizing it. When you create an image, a new VM is created to load the new image.
- Know the performance characteristics that the machines need. For example, running CAD apps might require different CPU, RAM, and storage than other office apps.
- If you plan to use a connection to your on-premises resources, set up that connection before creating the master image and the catalog. For details, see Network connections.
To create a master image:
- From the Manage dashboard, expand Master Images on the right.
Click Build Image.
Enter values in the following fields:
- Master image: Select an existing master image. This is the base image that is used to create the new master image.
- Name: Enter a name for the new master image.
- Subscription: Select either the Citrix-managed subscription or one of your customer-managed Azure subscriptions. For details, see Azure subscriptions.
- If using the Citrix-managed subscription, select No connectivity or a previously created connection.
- If using a customer-managed subscription, select your resource group, virtual network, and subnet. Then add domain details: FQDN, OU, service account name, and credentials.
- Region: (Available only for No connectivity.) Select a region where you want the machine containing the image to be created.
- Logon credentials for image machine: You’ll use these credentials later when you connect (RDP) to the machine containing the new master image, so that you can install apps and other software.
- Machine performance: Select a machine performance that meets your apps’ requirements.
Local domain join: Indicate whether you want to join the local Active Directory domain.
- If you select Yes, enter the Azure information: FQDN, OU, service account name, and credentials.
- If you select No, enter the credentials for the host machine.
- When you’re done, click Build Image.
A master image can take up to 30 minutes to build. On the Manage dashboard, expand Master Images on the right to see the current state (such as Building image or Ready to customize).
What to do next: Connect to a new master image and customize it.
Connect to a new master image and customize it
After a new master image is created, its name is added to the Master Images list, with a status of Ready to customize (or similar wording). To customize that image, you first download an RDP file. When you use that file to connect to the image, you can then add applications and other software to the image.
- From the Manage dashboard, expand Master Images on the right. Click the image you want to connect to.
Click Download RDP file. An RDP client downloads.
The master image machine might power off if you do not RDP to it shortly after it’s created. This saves costs. When that happens, click Power On.
- Double-click the downloaded RDP client. It automatically attempts to connect to the address of the machine containing the new image. When prompted, enter the credentials you specified when creating the image.
After you connect to the machine, add or remove apps, install updates, and finish any other customization work.
Do NOT Sysprep the image.
- When you’re done customizing the new image, return to the Master Images box and click Finish build. The new image automatically undergoes validation testing.
Later, when you create a catalog, the new master image is included in the list of images you can select.
On the Manage dashboard, the Master Images display on the right indicates how many catalogs and machines use each image.
Import a master image from Azure
When you import a master image from Azure that has a Citrix VDA and applications your users need, you can use it to create a catalog or replace the image in an existing catalog.
Imported image requirements
Citrix runs validation tests on the imported image. Ensure that the following requirements are met when you prepare the image that you’ll import into Citrix Managed Desktops.
Supported OS: The image must be a supported OS. To check a Windows OS version, run
No configured Delivery Controllers: Ensure that no Citrix Delivery Controllers are configured in the image. Ensure that the following registry keys are cleared.
- Personality.ini file: The personality.ini file must exist on the system drive.
Valid VDA: The image must have a Citrix VDA newer than 7.11 installed.
- Azure Virtual Machine Agent: Before importing an image, make sure that the Azure Virtual Machine Agent is installed on the image. For more information, see the Microsoft article Azure Virtual Machine Agent overview.
Import the image
From the Manage dashboard, expand Master Images on the right.
Click Import Image.
Choose how the image will be imported.
- For managed disks, use the export feature to generate a SAS URL. Set the expiration time to 7200 seconds or more.
- For VHDs in a storage account, choose one of the following:
- Generate a SAS URL for the VHD file.
- Update the access level of a block storage container to blob or container. Then, get the file’s URL.
If you selected Browse storage account:
- Sequentially select a subscription > resource group > storage account > master image.
- Name the master image.
If you selected Azure public URL:
- Enter the Azure-generated URL for the VHD. For guidance, click the link to the Microsoft document Download a Windows VHD from Azure.
- Select a subscription. (A Linux master image can be imported only if you select a customer-managed subscription.)
- Name the master image.
When you’re done, click Import Image.
Update a catalog with a new master image
The catalog type determines which machines are updated when you update the catalog.
- For a random catalog, all the machines currently in the catalog are updated with the latest image. If you add more desktops to that catalog, they are based on the latest master image.
- For a static catalog, the machines currently in the catalog are not updated with the latest image. Machines currently in the catalog continue to use the master image they were created from. However, if you add more machines to that catalog, they are based on the latest master image.
To update a catalog with a new master image:
- From the Manage dashboard, click anywhere in the catalog’s entry.
On the Details tab, click Update Image.
- Select a master image.
- For random or multi-session catalogs: Select a logoff interval. After the service completes the initial image processing, subscribers receive a warning to save their work and log off from their desktops. The logoff interval indicates how long subscribers have after receiving the message until the session ends automatically.
- Click Update Image.
Rename or delete a master image
- From the Manage dashboard, expand Master Images on the right.
Click the image you want to rename or delete.
- Click Rename Image or Delete Image. Provide a new name or confirm the deletion.
Install a Windows VDA on a master image
Use the following procedure when preparing a Windows image that you plan to import into Citrix Managed Desktops. For Linux VDA installation guidance, see the Linux VDA product documentation.
- In your environment, connect to the master image VM (if you’re not already connected).
You can download a VDA by using the Downloads link on the Citrix Cloud navigation bar. Or, use a browser to navigate to the Citrix Virtual Apps and Desktops service download page.
Download a VDA onto the VM. There are separate VDA download packages for a desktop (single-session) OS and a server (multi-session) OS.
- Launch the VDA installer by double-clicking the downloaded file. The installation wizard launches.
- On the Environment page, select Create a master image using MCS and then click Next.
- On the Core Components page, click Next.
- On the Delivery Controller page, select Let Machine Creation Services do it automatically and then click Next.
- Leave the default settings on the Additional Components, Features, and Firewall pages, unless Citrix instructs you otherwise. Click Next on each page.
- On the Summary page, click Install. Prerequisites begin to install. When prompted to restart, agree.
- The VDA installation resumes automatically. Prerequisite installation completes and then the components and features are installed. On the Call Home page, leave the default setting (unless Citrix instructs you otherwise). After you connect, click Next.
- Click Finish. The machine restarts automatically.
- To ensure that the configuration is correct, launch one or more of the applications you installed on the VM.
- Shut down the VM. Do not Sysprep the image.
For more information about installing VDAs, see Install VDAs.
In this article
- Citrix-managed master images
- Ways to use master images
- Display master image information
- Prepare a new master image
- Connect to a new master image and customize it
- Import a master image from Azure
- Update a catalog with a new master image
- Rename or delete a master image
- Install a Windows VDA on a master image