# Assigning a template to a host pool (RD Session Host)

When you create RD Session Host host pools, you can assign a template to a host pool. This can be done when you create or modify a host pool, or it can be done from the **Templates** tab.

To assign a template to a host pool:

1. Go to **Farm > Site > RD Session Hosts > Templates** tab.
2. On the **Templates** tab, select a template.
3. Click **Tasks** > **Assign to host pool**.
4. Select the template version in the **Version** dialog.
5. A dialog opens listing existing RD Session Host host pools. Host pools that already have a template assigned are not shown in this list by default. To display them, select the **Show host pools with assigned template** option. The template that they are currently using is displayed in the **Template** column.
6. Select one or more host pools and click **OK**.

To remove a template from a host pool or host pool:

1. Select a template and click **Tasks** > **Remove from host pool**.
2. A dialog opens listing all host pools to which this template is assigned.
3. Select the host pools to remove the template from and click **OK**.

Note that if a host pool has hosts created from the template that you are removing, they will be removed as well. A message is displayed where you need to confirm the removal.


---

# Agent Instructions: 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:

```
GET https://docs.parallels.com/landing/ras-admin-guide/v19-en-us/parallels-ras-19-administrators-guide/rd-session-hosts/manage-rd-session-hosts/manage-templates-rd-session-hosts/assigning-a-template-to-a-host-pool-rd-session-host.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
