> 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/rd-session-hosts/manage-rd-session-hosts/manage-host-pools-rd-session-hosts/upgrading-agents-rd-session-hosts.md).

# Upgrading Agents (RD Session Hosts)

You can enable and configure automatic updates for all RD Session Host Agents in a host pool.&#x20;

## Schedule Agent auto-upgrade&#x20;

To schedule Agent auto-upgrade:

1. Go to **Farm > Site > RD Session Hosts > Host pools > Properties > Auto-upgrade** tab.
2. Clear the **Inherit default settings** options if you want to modify them for this host pool.
3. Select the **Enable auto-upgrade maintenance window** option. During the maintenance window, all hosts in the host pool will try to download Agent upgrades. The upgrades will be downloaded and installed as soon as all users log out of their hosts. New logons from users are prohibited (drain mode).  If the users don't log off during a maintenance window, the upgrades won't be installed until the next window.
4. Specify the start date and time, duration, and recurrence settings for this event. To make this a one-time event, select **Never** in the **Recur** drop-down list.
5. (Optional) If you want to forcefully log off all users and download the upgrades at the end of a maintenance window, select the **Force logoff of current sessions at the end of the maintenance window duration** option.
6. (Optional) Configure a message that will be sent to users before or during a maintenance window. Click the **Configure messages** button and specify the message title, body, and the time period when it should be sent.

## Cancel Agent auto-update

To cancel Agent auto-update:

1. Go to **Farm > Site > RD Session Hosts > Host pools.**
2. **Select Tasks > Cancel auto-upgrade maintenance window.**


---

# 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/rd-session-hosts/manage-rd-session-hosts/manage-host-pools-rd-session-hosts/upgrading-agents-rd-session-hosts.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.
