The current dialogs only allow setting the automatic maintenance window on the hour. My server needs to run unattended polling tasks on the hour as well.

I'm not opposed to allowing auto reboots but I can't use the feature if it happens on the hour.

How can I configure a window time of say 3:20AM?

3 Answers 3


Run the following command as an elevated administrator:

schtasks.exe /change /TN "\Microsoft\Windows\TaskScheduler\Regular Maintenance" /ST 03:20

Background activities are implemented either as Windows services or scheduled tasks. This command changes the start time of the task responsible for the Automatic Maintenance in the Action Center.


You can define it by using XML.

 <!-- DailySchedule -->
<xs:complexType name="dailyScheduleType">
        <xs:element name="DaysInterval" minOccurs="0">
                <xs:restriction base="xs:unsignedInt">
                    <xs:minInclusive value="1"/>
                    <xs:maxInclusive value="365"/>

Task Scheduler Schema

Automatic Maintenance


Not sure this will stick over time but...

In Task Scheduler app find the Regular Maintenance task, Double click (Properties) and on the Triggers tab use Edit to change the time.

Location in tree: Task Scheduler(Local), Task Scheduler Library, Microsoft, Windows, Task Scheduler (probably a shorter way here, but...)

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .