# Setup Agent Upgrade Schedule

**By default the system is set to automatically and seamlessly update agents**. Learn here how to configure a custom schedule instead or switch to a manual upgrade process.

## Configuring upgrade mode

To setup specific schedule or switch to manual updates only, navigate to **Policy->Profiles->\[select your profile].** See the **Agent Upgrade** section.

Here you can see the latest available version which you can compare with your active agents' versions.\
![](https://2760087783-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEWA4nfgNrSRL8dA6Kap7%2Fuploads%2F6gDk4zAj2LHMRe3ntmPR%2Fimage.png?alt=media\&token=eeb6cf70-6030-4664-a7ec-15513855bab0)

{% hint style="info" %}
You can find the currently installed agent version displayed in **Policy->Agents**
{% endhint %}

## Configuring unscheduled automatic upgrades

The default upgrade mode is configured to **Automatic**. In this mode upgrades are performed with each release of a new agent version.&#x20;

![](https://2760087783-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEWA4nfgNrSRL8dA6Kap7%2Fuploads%2FSbnLLfIYZb2BtvH3JDQ6%2Fimage.png?alt=media\&token=3003d5d1-d2b2-4604-a85c-65c4df923314)

## Configuring scheduled automatic upgrades

For scheduled agent upgrades switch the mode to **Scheduled.**\
\
![](https://2760087783-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEWA4nfgNrSRL8dA6Kap7%2Fuploads%2F4ufpYiY9h5cI0cUrET52%2Fimage.png?alt=media\&token=a11c2a43-25ce-462b-ad44-6e8fa5474edd)&#x20;

In the **Day of week** field select any combination of days on which you want to allow upgrades to happen.

Configure your desired upgrade window by setting the begin time in UTC in the **Upgrade window starts at (UTC)** field and selecting the maximum allowed upgrade window duration in the **Duration** field between 2 hours and 12 hours (configuration possible in two hour increments).

{% hint style="info" %}
In the example screenshot above scheduled upgrades take place automatically between 2am and 6am only on Sundays, Thursdays and Tuesdays whenever a new upgrade is available.
{% endhint %}

## Disabling automatic updates

In order to prevent automatic scheduled or unscheduled updates from happening change the upgrade mode to **Manual**.

![](https://2760087783-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEWA4nfgNrSRL8dA6Kap7%2Fuploads%2F7MtuuRBcoXtvcm599hpT%2Fimage.png?alt=media\&token=068ad9cc-1bed-4d7c-9d9a-1e4bb40e360c)

This allows you to manually control the upgrade process of your deployed agents.

In order to trigger a manual upgrade hit the **Upgrade Now** button whenever there's a new version available that you want to install.&#x20;

{% hint style="warning" %}
The **Manual** upgrade mode option is not recommended unless you need full manual control of all agent upgrades. Instead the recommendation is to always use **Automatic** or **Scheduled** upgrade modes to prevent the agent from not being updated for a significant time (= more than three months) as after this time it becomes unsupported!&#x20;
{% endhint %}
