- A maintenance window is a scheduled time-slot when your Endpoint Manager procedures will run. You can create them by adding a ‘Maintenance Window’ section to a Windows profile.
- Once created, you can assign a maintenance window to a procedure in the procedure’s settings screen. You can assign multiple procedures to the same maintenance window. Your procedures will start at the time set in the window.
- You can also add multiple maintenance windows to a profile. This lets you assign different procedures in your profile to different time-slots.
- You have the option to pause all running monitors while the maintenance window runs, and to randomize task start times to avoid system congestion.
Create a Maintenance Window
- Open Endpoint Manager
- Click 'Configuration Templates' > 'Profiles'
- Click on the name of any Windows profile
- Click 'Add Profile Section' > 'Maintenance Window'
- The maintenance window settings screen has two tabs:
Maintenance Window - Configure the time-slot you want to use.
Settings - Choose whether to randomize tasks and/or pause monitors during a maintenance window.
- Open the ‘Maintenance Window’ tab if it is not already open
- Click ‘Add Window’:
- Configure the following items as required:
- Name – Create a label for the window. For example, 'Maintenance Window – 11 PM to 1 AM'
- Scheduled – Choose how often you want to run the maintenance.
- Daily – Select the start and end time of the window. The window runs every day at the time you set.
- Weekly - Select the start and end times, and the days of the week that the window should run.
- Monthly - Select the start and end times, and the days of the month that the window should run.
- Week of Month – Select the start and end times, the week number, and the days that the window should run. Use this, for example, if you want to run the window once every two weeks.
- Enable after submitting – Make the window available for use after clicking 'OK'. You must enable maintenance windows before you can assign it to a procedure. You can enable it here, or later by clicking the ‘Enable’ button above the list of saved windows.
- Click ‘Ok’ to save your new maintenance window
- Repeat the procedure to add more maintenance windows.
Configure maintenance Window settings
- Click the ‘Settings’ tab in the maintenance window section of a profile:
The settings you choose here apply to all maintenance windows you add to the profile:
- Randomize task starting times for each device… – Staggers task start-times to prevent several procedures running at the same time on each device. This can ease congestion and lead to a smoother roll-out of your procedures
- Stop monitors during maintenance window – Pause all monitors on a device for the duration of the maintenance window.
Assign a maintenance window to a procedure
- Procedures are standalone instruction scripts for Windows devices. You can create procedures to accomplish various tasks, like identify and fix issues, monitor resources, and run patches.
- Procedures are added to a profile which is in turn deployed to target devices.
- Click here if you need to read some background on this process.
Follow these steps to assign a maintenance window to a profile:
- Click ‘Configuration Templates’ > ‘Profiles’
- Click the name of the Windows profile to which you added the maintenance window earlier
- Open the ‘Procedures’ tab of the profile
- Click ‘Add Profile Section’ > ‘Procedures’ if you haven’t yet added a procedure section
- Click ‘Add’ in the procedures tab to open the following configuration screen:
Procedure Name - Select an existing patch or script procedure by typing the first few characters of its name. Make sure you have already approved the procedure.
See View and Manage Procedures if you need help to configure procedures in EM.
Schedule Settings – Choose ‘Schedule on a maintenance window’. Doing so will open the following options:
- Maintenance Window Type - Choice of ‘Daily’, ‘Weekly’, ‘Monthly’ and ‘Week of the month’. This is the frequency you selected when you created the maintenance window earlier
- Maintenance Window Name – Shows a list of maintenance windows which have the frequency you chose in the ‘Window Type’ box above. Select the window you want to add to the procedure.
- End Time Settings:
- No end settings – All procedures will run to completion.
- Run until – Chose a cut-off time from the calendar.
- Run no more than – Specify how long the procedure should run.
Note – For the last two settings, any procedure that does not finish by the cut-off time is aborted and all changes are undone.
Run this procedure immediately when the profile is assigned to a new device - The procedure will run on target devices as soon as the profile is applied to the device, in addition to any schedule.
Skip procedure if the device is offline - The procedure will be aborted is the device is not connected to EM at the time of execution. By default, procedures are queued for later deployment if the device is not connected to EM. The task will be executed as soon as it comes online. Select this option If you do not want the task to be added to the queue.
- Click ‘Add’ to commit the procedure to the profile. The procedure will run during the maintenance window time-frame.
- Click ‘Save’ to save the profile.
- If the profile is already assigned to devices, then your maintenance window is put into effect immediately.
- View maintenance windows logs - Click ‘Device List’ > select a target Windows device > Click ‘Maintenance Windows’: