Configure maintenance windows for automatic updates
- Policy ID
- MaintenanceWindow
- Scope
- Computer Configuration
- Supported on
- At least Windows 11 Version 24H2
- Source
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (version 1.0)
- Category
- Windows Components › Windows Update › Manage end user experience
Description
Enable this policy to specify repeatable maintenance windows for the device to perform specified update actions.
When this policy is enabled, Windows Update will only perform the specified update action during the configured maintenance window. Specified update actions outside maintenance window will be deferred until the next maintenance window begins.
• Update Actions: Select which update actions are only allowed during maintenance window. If an update action is not selected, that action can happen outside of maintenance window.
- Download, install, and restart: Complete update cycle including download, installation, and system restart
- Install and restart: Install already downloaded updates and restart the device
- Restart only: Only perform a system restart for pending updates
• Basic Schedule Configuration:
- Start Date: Specify the initial date when the first maintenance window begins (format: yyyy-mm-dd, example: 2025-10-30)
* Start Date field only takes effect if Recurring schedule is set to “None”
- Start Time: Set the time when the maintenance window starts (format: hh:mm, example: 23:30 for 11:30 PM)
- Duration: Define how long each maintenance window lasts in hours (example: 2 for a 2-hour window)
• Recurring Schedule Options:
- No repeat: One-time maintenance window on the specified start date only
- Daily: Maintenance window will be repeated every day
- Weekly: Maintenance window will be repeated weekly on selected days of the week
- Monthly: Maintenance window will be repeated monthly on a specific day
• Weekly Schedule Settings (when Weekly is selected):
- Day of the week Selection: Choose which days of the week the maintenance window occurs:
* Sunday through Saturday: Check boxes to select specific day(s) of the week for the maintenance window
• Monthly Schedule Settings (when Monthly is selected):
- Monthly Schedule Type:
* Date-based: Maintenance window occurs on a specific day of the month (example: 15th day of each month)
* Week-based: Maintenance window occurs on a specific weekday occurrence within the month (example: 2nd Tuesday of each month)
* Last day of the month: Maintenance window occurs on the last day of the month
- Day of Month: When using date-based scheduling, specify which day of the month (1-28)
- Occurrence in Month: When using week-based scheduling, select which week of the month (First, Second, Third, Fourth, or Last)
- Day of the Week: When using week-based scheduling, select which day of the week (Sunday through Saturday)
Examples of Monthly Configurations:
- Date-based: "3rd day of every month" = Day of Month: 3
- Week-based: "Second Tuesday of every month" = Occurrence: Second, Day of Week: Tuesday
- Week-based: "Last Friday of every month" = Occurrence: Last, Day of Week: Friday
- Last day of the month: "Last day of every month"
After a non-repeating maintenance window occurs, the next maintenance window must be scheduled in 3 months. If the start date of a non-repeating maintenance window is more than 3 months in the past, this policy will be disregarded, and updates will be scheduled according to default settings.
If you disable or do not configure this policy, Windows Update will follow its default scheduling behavior.
Options
Registry
- MaintenanceWindowEnabledREG_DWORD
- MaintenanceWindowUpdateActionsREG_DWORD
- MaintenanceWindowStartDateREG_SZ
- MaintenanceWindowStartTimeREG_SZ
- MaintenanceWindowDurationHoursREG_DWORD
- MaintenanceWindowRepeatScheduleOptionREG_DWORD
- MaintenanceWindowWeeklySundayREG_DWORD
- MaintenanceWindowWeeklyMondayREG_DWORD
- MaintenanceWindowWeeklyTuesdayREG_DWORD
- MaintenanceWindowWeeklyWednesdayREG_DWORD
- MaintenanceWindowWeeklyThursdayREG_DWORD
- MaintenanceWindowWeeklyFridayREG_DWORD
- MaintenanceWindowWeeklySaturdayREG_DWORD
- MaintenanceWindowMonthlyScheduleREG_DWORD
- MaintenanceWindowMonthlyMonthBasedDayOfMonthREG_DWORD
- MaintenanceWindowMonthlyWeekBasedOccurrenceInMonthREG_DWORD
- MaintenanceWindowMonthlyWeekBasedDayOfTheWeekREG_DWORD