Exclusive Element

Indicates whether the Task scheduler must start the task during the Automatic maintenance in exclusive mode.

The exclusivity is guaranteed only between other maintenance tasks and doesn't grant any ordering priority of the task. If exclusivity is not specified, the task is started in parallel with other maintenance tasks.

<xs:element name="Exclusive"

The Exclusive element is defined by the maintenanceSettingsType complex type.

Parent element

Element Derived from Description
MaintenanceSettings (maintenanceSettingsType) maintenanceSettingsType Specifies the task settings the Task scheduler will use to start task during Automatic maintenance.


For C++ programming, this idle setting is specified using the IMaintenanceSettings::Exclusive property.


The following XML defines maintenance task with deadline requirement set to 15 days.



Requirement Value
Minimum supported client
Windows 8 [desktop apps only]
Minimum supported server
Windows Server 2012 [desktop apps only]

See also

Task Scheduler Schema Elements

Task Scheduler