Setting maintenance windows

Maintenance windows control when Windows and Linux patches can be applied to a computer group. A maintenance window is separate from the deployment start and end time. After a maintenance window is applied to an endpoint, that endpoint does not install patches or restart to complete patch installation, unless it is currently in an open maintenance window. To install a patch, the maintenance window must be open during the configured deployment time.

Maintenance windows do not control when endpoints download patch content. Endpoints start downloading patch content based on the settings in the Patch deployment. For more information, see the Download Immediately option.

A maintenance window is different from a scan window. For more information about limiting scan activity to a designated scan window, see Scan windows.

Important: If endpoints do not have a maintenance window assigned, you might unintentionally install patches on those endpoints when there is an active deployment. To prevent endpoints from being patched accidentally, you can set a blocking maintenance window that never occurs for the computer group that contains the endpoints. To set a blocking maintenance window, create a maintenance window that does not repeat, with start and end dates in the past. With the blocking maintenance window in place, the endpoint computer group will be patched only during active maintenance windows. This type of setup is useful if you want to prevent servers from being patched on the same schedule as end-user machines. For more information about the different options available to prevent server patching, see Improve Your Automated Patch Workflow: Preventing Server Patching.
Note: Ensure that maintenance windows are at least four hours long for Windows endpoints, repeat at least once each month, and properly overlap with deployment times and change control process timelines.
Important: If a maintenance window does not repeat and it is the only one enforced against a computer group, patches cannot be applied after the window closes. However, if endpoints do not have a maintenance window assigned, you might unintentionally install patches on those endpoints when there is an active deployment. To prevent accidental patching, you can apply a blocking maintenance window to a computer group.

Create a maintenance window

You can open multiple maintenance windows to customize when patches are applied to your endpoints. For example, you can create windows that allow deployments to install patches during periods of low network activity or outside of core working hours.

  1. From the Main menu, go to Modules > Patch > Maintenance Windows and then click Create Window.
  2. Set the windows details: Name, Description, Operating System, and Content set.
  3. Configure the window options.
    • (Optional) Recurrence: Select a recurrence time frame. If you chose a repeating window, set additional options, such as Frequency, Days of the week, or Day of the month. The additional options appear dynamically based on your Recurrence selection. For more information, see Maintenance window options.

    • Window Time: Choose from endpoint local time or time zone.

      • Endpoint Local Time: Maintenance window follows the endpoint local time.

      • Time Zone: Maintenance window follows the selected time zone or UTC offset.

        Note:

        For Windows endpoints, the following time zones are configured to observe Daylight Saving Time (DST).

        • Canada/Newfoundland (St. John’s Time)

        • Pacific/Chatham (Chatham Time)

        All other time zones are currently configured to ignore DST. For time zones that ignore DST, start and end times are based on the UTC offset bias of the Effective Date. For example, assume you set an Effective Date as October 1 (which is during DST) and set the time zone to America/Los Angeles. At this time, the UTC offset is –7:00. Therefore, the maintenance window always follows UTC-7:00.

    • Effective Date and Start Time: Use the date and time pickers to set the maintenance window start time.

      Important: If you are using the Monthly, Day of the week frequency, select a start date that is at least one day in the future. A Monthly, Day of the week maintenance window cannot be enforced on the same day that it is created because some endpoints may have already passed the start time, depending on endpoint time. Review the Next 5 Instances before continuing.
      Note: Repeating maintenance windows do not have an end date. You must remove the enforcement against the target computer groups to stop the maintenance window.
    • End Time: (Non-repeating windows) Use the date and time pickers to set the window end time.

    • Duration: (Repeating windows) Set the duration of the window.

    For example, to account for Patch Tuesday, you could use these settings for three days after patch updates are typically released by Microsoft.

    monthly_maintenance_window
  4. Click Create Window. Review any informational messages that appear and perform any updates that are necessary to the maintenance window. Click Create Window.
  5. In the Targeting section, click Edit Targeting and then add targets. Select either or both of the following targeting methods and complete the fields.
    • Computer Groups: Select computer groups to target. If you make multiple selections, the computer groups are joined by an OR operator.

      Note: You can only target computer groups that are assigned to your user, user group, or persona. For more information, see Tanium Console User Guide: Assign computer groups.
    • Question Criteria: Add Tanium question filters as a target. If you add multiple questions, the questions are joined by an OR operator. You must also click Set Limiting Group to limit the targeting conditions. If you select multiple limiting groups, the limiting groups are joined by an OR operator.

    Important:

    When you combine both Computer Group and Question Criteria targets, the following logic is used:

    (Limiting Group A OR Limiting Group B) AND (Computer Group OR Question)

    Consider the following example:

    • Computer Group = All Laptops

    • Question = Tanium Client IP Address starts with 192.168.1

    • Limiting Group = All Windows 10, All Windows 11

    With these conditions, the configuration targets All Windows 10 and All Windows 11 devices that are either laptops or have an IP address starting with 192.168.1.

  6. Click Apply to save the targeting settings.

Maintenance window options

If you want . . .

After the date and time, select . . .

A one-time window

Recurrence: Does Not Repeat

A window that repeats every few days

For example, every 3 days

Recurrence: Daily

Frequency: The number of days between windows

A window that repeats on the same days of the week

For example, every Saturday and Sunday

Recurrence: Weekly

Frequency: The number of weeks between windows

Days of the Week to Repeat On: The days of the week

A window that repeats on the same date each month

For example, every 10th day of the month

Recurrence: Monthly

Frequency: The number of months between windows

Day of the Month: The date of the month (such as 10th)

A window that repeats on the same day of the week each month

For example, every second Tuesday of each month

Recurrence: Monthly

Frequency: Every month

Day of the Week: The day of the week

Starting On: The week number and day (such as Second and Tuesday)

Day Offset: 0

A window that repeats on the same day of the week every <#> months

For example, every second Tuesday every 3 months

Recurrence: Monthly

Frequency: The number of months between windows

Day of the Week: The actual day of the week is determined by day selected in the Effective Date field

A window that repeats on the same date of the month, every <#> months

For example, every 10th day every 3 months

Recurrence: Monthly

Frequency: The number of months between windows

Day of the Month: The actual date of the month is determined by date selected in the Effective Date field

A window that repeats relative to a specified day each month

For example, three days after the second Tuesday of each month

Recurrence: Monthly

Frequency: Every month

Day of the Week: The day of the week

Starting On: The week number and day (such as Second and Tuesday)

Day Offset: The number of days (± 25) from the specified Starting On day

Note: You can only set relative maintenance windows (Day Offset) when the frequency is set to Every month.

A window that repeats on the same date every year

Recurrence: Yearly

Effective Date: The date of the year

Edit a maintenance window

  1. From the Main menu, go to Modules > Patch > Maintenance Windows.
  2. Click the name of a window and click Edit.
  3. Make your changes and click Update Window.

Override a maintenance window

You can apply a patch outside of a maintenance window by configuring the Override Maintenance Windows option during a patch deployment. For more information, see Deploying patches. Note that if you also choose to restart the endpoint in the deployment options, the endpoint restarts immediately after the patch is installed.

Delete a maintenance window

After the enforcements have been removed, you can delete a maintenance window.

  1. From the Main menu, go to Modules > Patch > Maintenance Windows.
  2. Click the name of a window.
  3. If the window is enforced against computer groups, remove all groups.
  4. Click Delete trash_button.