> For the complete documentation index, see [llms.txt](https://docs.adaptiva.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.adaptiva.com/patch/advanced-settings/maintenance-windows.md).

# Maintenance Windows

Maintenance Windows can include one or more schedules associated with an urgency level (Low, Normal, High, and Critical). Urgency settings are cumulative, meaning that higher urgencies also apply to any schedules created for lower urgencies.

If multiple schedules overlap, they will not restrict one another, however, we recommend keeping your Maintenance Window time settings simple. When a patch is evaluated, OneSite Patch checks the available Maintenance Window schedules in order and runs the patch during the first matching time period.

For instance, you have a maintenance schedule set for 8:00-10 PM with a Low urgency and another from 6:00-10 PM with a High urgency. A low urgency patch is ready to be installed at 7:00 PM, but will wait until 8:00 PM since it falls under the low urgency maintenance window. If a high urgency patch is set to be installed at 7:00 PM, however, this will occur at 7:00 PM since it falls between the 6:00-10:00 PM range of the high urgency maintenance window.

OneSite Patch provides built-in maintenance windows, or you can create custom maintenance windows.

![](/files/za2yww40vlvWFPMMdjSi)

## Create a Maintenance Window

1. Select **Advanced Settings > Maintenance Windows** in the left navigation menu of the Patch Dashboard.
2. Enter a **Name** and **Description**.

### Dynamic Settings

A Dynamic Detection workflow sets the patching Maintenance Window based on the selected workflow rather than a set schedule. For more information, enter a support ticket and request help from [Adaptiva Customer Support](https://adaptiva.com/support).

1. Scroll down to **Dynamic Settings**, in an open Maintenance Window template.
2. Select **Browse** to the right of **Add Workflow** and select a workflow.

### Maintenance Windows by Urgency

You may create multiple Urgencies Maintenance Windows with different start times based on individual urgencies or create a single maintenance window for all urgency types. In larger environments, you may want to define each for a load balancing effect.

1. Toggle **ON** for **Apply to All Urgencies** to enable the All Urgencies options.

   ![](/files/YjelurqCWIIgDy2JXDAI)
2. Select **+ Create Maintenance Window** to begin.
3. Select **Browse** to view and choose a **Start Time Schedule**.
4. Enter the **Duration**
   * These settings override any non-zero duration values set in the Maintenance Window when the Maintenance Window fails to open for urgency level updates.
5. Enter the max number of maintenance windows that can be missed before a forced install is performed in the **Missed Window Limit** field.
6. Click **Create Maintenance Window**.
7. Click either **Save** or **Save & Deploy**.

   ![Save and Deploy buttons](/files/UDqXLv3GYCoCnmBUiMbw)
