> For the complete documentation index, see [llms.txt](https://docs.parallels.com/landing/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.parallels.com/landing/ras-admin-guide/parallels-ras-21-administrators-guide/azure-virtual-desktop/manage-azure-virtual-desktop/manage-templates-azure-virtual-desktop/create-a-template.md).

# Create a template

To create a template:

1. On the **Templates** tab, click **Tasks** > **Add**. This opens the **Create Parallels Template Wizard**.
2. On the first page, select an Azure Virtual Desktop provider (if you have more than one).
3. Select a template type from the following:
   * **Multi-session**: Multiple concurrent user sessions are allowed on a single host running a Windows Server operating system, Windows 10 or Windows 11 Enterprise multi-session.
   * **Single-session**: A single user session is allowed on a single session host.
4. On the **Template Source** page, select a source from the following:
   * **Custom host:** Displays a list of existing virtual machines.
   * **Azure Gallery**: Allows you to select an image and create a new virtual machine from it. Depending on the template type, multi-session or single-session, commonly used marketplace images such as Windows 10 Enterprise multi-session, are predefined to be easily chosen and created as a template. Select a location and specify the local administrator username and password. The **Browse all images** button opens a dialog where you can choose any other image from the Marketplace or Shared Image Gallery. When choosing an image from the Shared Image Gallery, select from a list of publishers, SKUs, offers, and other options.
   * Specify the local administrator username and password
5. On the **General** page, specify the following settings:
   * **Template name**: The name of the template.
   * Description: The description of the template.
   * Security type: Select other Trusted Launch Virtual Machines or Standard. When Trusted Launch Virtual Machines is selected, additional security features can be enabled as needed.
6. On the **Hosts** page, select virtual machine properties from the predefined Azure values according to your needs:
   * Specify an Azure resource group.
   * Select an availability option:
     * No infrastructure redundancy required: No redundancy in Azure will be configured.
     * Availability set: If selected, hosts will be deployed from the template in an availability set. Note that the maximum number of hosts that can be deployed in an availability set is 200 (this is an Azure limitation).
     * Availability zone: Hosts will be deployed in a specific availability zone that is selected.
     * **Note:** The availability option can be overridden in the settings of the host pool using a given template. This gives you the ability to specify a different availability option at the host pool level.
   * Select a virtual machine size.

     **Note:** The virtual machine size can be overridden in the settings of the host pool using a given template. This gives you the ability to specify a different VM size at the host pool level.
   * Select a disk type.
   * Select a virtual network and subnet.

     **Note:** In case using Accelerated networking for the Template, make sure you select the appropriate host size for session hosts that support accelerated networking.
7. On the **Preparation** page, select an image preparation and specify the required options. This is similar to how an image is prepared for a RAS VDI template. There are some minor differences, but the configuration procedure is essentially the same. For details, please see [**Preparation**](/landing/ras-admin-guide/parallels-ras-21-administrators-guide/virtual-desktop-infrastructure-vdi/manage-vdi/manage-templates-vdi/creating-a-vm-template/step-2-configure-the-template/preparation.md).
8. On the **Optimization** page, configure optimization settings. These settings are inherited from Site defaults but custom settings can be specified if needed. For details, please see [**Site defaults (Azure Virtual Desktop)**](https://docs.parallels.com/landing/ras-admin-guide/parallels-ras-21-administrators-guide/azure-virtual-desktop/site-defaults-azure-virtual-desktop).
9. On the **New template version** page, specify the name and description and select the tags for the version. You can select several tags.
10. On the **Summary** page, review the settings and click **Finish** to create the template.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.parallels.com/landing/ras-admin-guide/parallels-ras-21-administrators-guide/azure-virtual-desktop/manage-azure-virtual-desktop/manage-templates-azure-virtual-desktop/create-a-template.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
