Windows Automatic Maintenance: What Runs at Night, Why Your PC Gets Busy and How to Control It


Windows Automatic Maintenance is the built-in routine that looks after your PC in the background, usually when you are not using it. Microsoft's developer documentation describes Task Scheduler maintenance tasks as running when the machine is idle and on AC power, and the work covers things such as keeping Windows and apps up to date and checking for malware. This guide explains what it runs, why it can make a quiet PC feel busy, and how to check and change its timing without breaking anything.
Quick answer
- Windows Automatic Maintenance is a scheduled set of background tasks, not a single program you open.
- Microsoft describes the maintenance tasks as keeping Windows and apps up to date, checking security and running malware scans. We did not confirm the full list for your PC.
- It can make a PC busy, warm or noisy at a quiet time, and a wake setting can let it wake the computer from sleep.
- The safe changes are moving the run time, clearing the wake setting, or leaving the PC plugged in so the work can finish.
- Do not disable Windows tasks or services in bulk, and do not use registry edits or optimizer tools as a fix.
In this guide
- What Windows Automatic Maintenance is
- What typically runs inside it
- What runs when and what you can do
- Why your PC feels busy, loud or warm
- Why it can wake your PC
- How to tell whether it is the cause
- How to change the time or the wake setting
- Decision tree: what to do next
- A safe order to follow
- What not to do
- When software can help and when it cannot
- A note for Windows 10 users
- Frequently asked questions
- How this guide was checked
- Sources
What Windows Automatic Maintenance is
Windows Automatic Maintenance is the everyday name for the scheduled housekeeping that Windows runs in the background. It is held in Task Scheduler as a set of maintenance tasks, and each task starts when the conditions are right. Microsoft's documentation calls these tasks opportunistic: they run when the computer is idle and on AC power, so they do not compete with you for the processor while you work on battery.
Older versions were more fixed. Microsoft's documentation for Windows 7 describes a maintenance task that ran during a maintenance hour that defaulted to 3 AM, and its Windows 8 troubleshooting article describes a regular maintenance task set to 3:00 AM every day. Those are documented older defaults, not a promise about your PC today. Microsoft's Task Scheduler documentation says newer versions rely on the operating system to choose the time, so the time on your own machine may be different.
Menu names can vary between Windows versions and updates. Treat the menu paths in this guide as general guidance and follow the wording you see on your screen.
What typically runs inside it
Microsoft describes maintenance as activity that keeps Windows and applications up to date, checks security, and runs scans for malware. That is the part we can confirm from the pages we opened. The exact list depends on your Windows version, your updates and the software installed. Community answers mention other entries, including disk tasks and Windows Update tasks, but we did not confirm them on a live PC, so treat them as possibilities rather than facts.
The practical point is that the window is a schedule, not one job. Each task can use the disk, the processor or the network for a while. A PC that looks busy during that window is usually running one or more of these tasks.
What runs when and what you can do
The table sorts the common parts of the routine by what they do, when they tend to run and what you can safely change. The timing column follows Microsoft's description of idle and AC-powered maintenance. It is not a fixed clock time.
| What it is | When it tends to run | What you can do |
|---|---|---|
| Windows and app update checks | When the PC is idle and on AC power, inside the scheduled window | Leave it on. Keep the PC plugged in and let it finish. Move the window if it clashes with your work. |
| Security and malware scans | During the idle window, as Microsoft describes it | Keep Windows Security turned on. Do not turn scanning off to save power. |
| Disk and drive housekeeping | Can overlap the same window on some PCs; check your own task list | Read the disk guides linked below before changing anything. |
| Other tasks named in forum answers | Not confirmed for your PC | Look only. Do not disable them in bulk. |
Some of these jobs overlap with topics we cover in depth. For the disk side, see the Optimize Drives and defragment guide. If the busy process is a TiWorker.exe process, read the TiWorker high CPU and disk guide. For a SysMain process, see the SysMain high disk guide, and for delivery of update files, see the Delivery Optimization bandwidth guide.
Why your PC feels busy, loud or warm at a quiet time
A PC that runs maintenance while you step away can show high disk use, fan noise and a warm case. These are normal signs of work. Scans and update checks use the disk and processor, and a laptop may run warmer on a soft surface while it does this. The problem is usually not that the window exists, but that it falls at a time when you need the PC to be quick, for example when you open it after a long gap and it is still finishing.
Two things make the work more noticeable. The PC may have been asleep or switched on but idle when the task was due, so the work starts when you next use it. A laptop on battery should wait for AC power, so the work can build up until you plug it in. If the busy process is WMI Provider Host, see the WMI Provider Host high CPU guide for its own checks. If the load shows up under System rather than a maintenance task, our System ntoskrnl.exe high CPU guide covers that case.
Why it can wake your PC
Microsoft's troubleshooting article on desktops that wake unexpectedly describes a maintenance task that can request a wake event. Its example is from Windows 8, where a regular maintenance task was set to run at 3:00 AM every day and an application could schedule a wake. The article names a checkbox under Automatic Maintenance called Allow scheduled maintenance to wake up my computer at the scheduled time, and says that clearing it stops the wake at the scheduled time.
The same article notes that on mobile computers, the wake setting may not be enabled when the PC has no ACPI Wake Alarm device. We did not confirm how this checkbox appears in Windows 11, so look for the wake option in the maintenance settings and follow the wording you see. If your PC does not stay asleep at all, see the guide on a PC that will not wake from sleep, which covers the opposite problem.
Note
A wake setting is a choice, not a fault. Clearing it means the scheduled work waits until you next use the PC. For a laptop that you carry around, that is often the better trade-off.
How to tell whether it is the cause
Before you change anything, check whether maintenance is actually running when you notice the slowdown. These checks only look; they do not change settings.
Step 1: Check the busy process in Task Manager
Press Ctrl + Shift + Esc to open Task Manager. While the PC is quiet, note which process is using the most disk, CPU or memory. If the same process is busy at the same time each day, that is a clue, not proof.
Task ManagerProcesses
You should see: a list of processes with CPU, memory and disk percentages.
If this does not help: open the Performance tab and then Open Resource Monitor to see the disk activity for each process name.
Step 2: Look at the maintenance tasks in Task Scheduler (look only)
Press Win + R, type taskschd.msc and press Enter. Open Task Scheduler Library, then Microsoft, then Windows, then TaskScheduler. Community answers name tasks such as Regular Maintenance and Maintenance Configurator in this folder, but the names can differ on your PC. Only read the last run and next run times. Do not disable or delete anything here.
Task Scheduler LibraryMicrosoftWindowsTaskScheduler
You should see: the maintenance tasks with their last and next run times.
If this does not help: the folder may be empty or the names may differ. Move on to the next two checks. If a task looks damaged or its program file is missing, see our Task Scheduler task image guide.
Step 3: Compare the times in Event Viewer
Microsoft's wake article gives the TaskScheduler maintenance log under Application and Services Logs, then Microsoft, then Windows, then TaskScheduler, then Maintenance. Open Event Viewer, go to that place and compare the time of each entry with the time your PC felt slow. Read the times and task names only. We do not list event IDs or error text here, because we did not confirm them. If the entries you find line up with service timeouts, our Service Control Manager errors guide explains those events.
You should see: entries with times and task names that you can match to your slow periods.
If this does not help: the log may be empty or quiet on your PC. Check the time stamps in Reliability Monitor against your sleep and wake history instead.
Step 4: Check which timers can wake the PC
Open Command Prompt as administrator and run the command below. Microsoft's wake article uses this command to list wake timers, including the one set for the regular maintenance task. It only reads the timers and changes nothing.
powercfg /waketimersYou should see: a list of timers that are set to wake the PC, with the program or task that set each one. If none are set, the output says so, and the wake is not the cause at that time. The exact wording can vary.
If this does not help: a timer may be set by a different app. Check that app's own settings rather than changing Windows tasks.
How to change the time or the wake setting
There are three safe changes: move the run time to when you are at your desk, clear the wake setting, or leave the PC plugged in and let the work finish. Each leaves Windows in its normal state. Make one change, test it for a few days, then decide whether you need another.
Before you start
Save your work and plug the PC into AC power. Do not change several settings at once, because you will not know which one helped.
Step 1: Open the maintenance settings
Open Control Panel, then Security and Maintenance, then Maintenance, then Change maintenance settings. Menu names can vary, and we did not open a Windows 11 page that confirms every name, so this path is general guidance.
Control PanelSecurity and MaintenanceMaintenanceChange maintenance settings
You should see: a setting for the daily run time and a checkbox about waking the computer.
If this does not help: search Control Panel for maintenance, or open Settings and search for maintenance, then use the wording you find.
Step 2: Move the run time
Choose a time when the PC is usually on and plugged in, and you are not using it. Pick a time you know is free, such as a lunch break if the PC stays on, rather than the moment you first sit down. Click OK to save.
You should see: the new time shown in the maintenance settings.
If this does not help: if the work still runs while you are working, the time may not be the only trigger. Go back to the cause checks above.
Step 3: Clear the wake setting if you do not want night wake-ups
Clear the checkbox that allows scheduled maintenance to wake up your computer at the scheduled time, then click OK. The work will then wait until you next use the PC, rather than waking it from sleep.
You should see: the checkbox cleared and the setting saved.
If this does not help: other apps can still set wake timers. Run the powercfg command again and read the output, then check the app that set any timer you did not expect.
Step 4: Let the work finish when you start the PC
If the PC is slow when you first open it, plug it in and leave it alone for a while. Restart only when Windows asks you to, or when the PC has been stuck for a long time. Some versions show Start maintenance and Stop maintenance options in the same area. We did not confirm their wording, so use what you see and avoid stopping work as a habit.
You should see: disk and fan activity drop when the work ends.
If this does not help: if updates keep failing, the Windows Update stuck guide covers that case in detail.
Decision tree: what to do next
Use this short tree after you have run the checks above.
- Is the slowdown at the same time each day?
- Yes: check the Task Scheduler entries and the wake timers for that time. If a maintenance task is running then, move the time or clear the wake setting.
- Yes, and the task is a Windows Update task: read the Windows Update guide before you change anything.
- No, and the busy task is a disk task: read the disk guides linked above.
- No: the slowdown is probably not maintenance. Check Task Manager for the process using the most resources.
- Yes: check the Task Scheduler entries and the wake timers for that time. If a maintenance task is running then, move the time or clear the wake setting.
- Does the PC wake from sleep at night?
- Yes: clear the wake setting, then check again after a few days.
- No: leave the wake setting alone and look at the run time instead.
A safe order to follow
Work through these steps in order. Each one is reversible, and you stop as soon as the problem is gone. For disk clean-up rather than scheduling, the Storage Sense guide covers the settings that Windows offers for that job.
- Note the time. Write down when the PC feels busy or warm, and whether it was plugged in.
- Check Task Manager. Look for the process using the disk or processor at that time.
- Look at Task Scheduler. Read the maintenance tasks and their last run times, and change nothing.
- Run the wake check. Run the powercfg command and read the output.
- Change one setting. Move the run time, or clear the wake checkbox.
- Test for a few days. If the PC is better, stop. If not, read the guides linked above.
What not to do
Some advice online goes too far. Each of these steps can cause more harm than the slowdown it is meant to fix.
Before you start
Do not disable Windows services or scheduled tasks in bulk, do not edit the registry, and do not follow a guide that turns off Windows maintenance altogether. Those steps can stop updates and security scans, and they are hard to undo. We do not give Group Policy steps in this guide.
Some sites promote a maintenance disabler or an optimizer that promises to stop the routine. We do not recommend them. The run time and wake settings above are built into Windows and are enough for most PCs.
When software can help and when it cannot
You do not need an optimizer or a maintenance tool to manage Windows Automatic Maintenance. The settings and checks in this guide are built into Windows. A tool that claims to speed up the routine usually changes the same things with less control, and some bundle unwanted extras that make a slowdown worse. For general speed topics that do not involve scheduling, the Windows 11 speed-up guide is the better place to start.
There is one case where software can help: a reputable antivirus program that is already installed and running its own scan. It is normal for it to run alongside the built-in scans. If a scan seems stuck or runs all the time, check that program's own settings first.
A note for Windows 10 users
Microsoft's support page says support for Windows 10 ended on October 14, 2025. The consumer Extended Security Updates program runs until October 12, 2027, according to Microsoft's ESU page. We did not confirm that the Windows 10 menus match the ones in this guide, and menu names can differ; after support ends, the PC will not receive new security updates through Windows Update unless it is enrolled in ESU.
Read the official pages before you decide: Microsoft's Windows 10 end of support page and Microsoft's consumer ESU page. If you are not sure what to do next, the Repair Assistant can point you to the right guide, and the PC repair guides on this site cover the rest.
Frequently asked questions
Questions about the schedule
Is Windows Automatic Maintenance a virus?
No. It is a built-in set of Windows tasks, and Microsoft describes it as keeping Windows and apps up to date and checking for malware. If something unfamiliar runs at that time, run a current antivirus scan before you change anything.
Does it run every night?
Not in a fixed way on every PC. Microsoft describes the tasks as running when the PC is idle and on AC power. Older versions had a documented 3 AM default, so check the settings on your own PC rather than relying on that time.
Will it run when my laptop is on battery?
Microsoft's documentation says these tasks run on AC power, so a laptop on battery normally waits. The work can run once the laptop is plugged in and idle.
Can I turn the whole routine off?
We do not give steps to switch off the whole routine. Stopping it in bulk can stop updates and security scans. Moving the run time or clearing the wake setting is the safer approach.
Questions about changing it
Why did my PC wake up at night?
The maintenance settings can allow scheduled work to wake a PC from sleep. Microsoft's troubleshooting article describes this for a regular maintenance task. Clear the wake checkbox in the maintenance settings if you do not want it.
Is the wake setting the same as sleep?
No. Sleep is a power state. The wake setting only controls whether scheduled maintenance can bring the PC out of sleep at its scheduled time.
Will moving the time fix a slow PC?
Only if maintenance is the cause. Check Task Manager and the maintenance times first. If the slowdown stays the same at other times, the cause is probably a different process.
Why does my PC feel slow after maintenance?
The work may still be finishing, and updates may need a restart. Restart when Windows asks, and leave the PC plugged in until the work ends. If the slowdown continues for days, check the guides on disk use and Windows Update.
How this guide was checked
Nothing in this guide was run on a real PC for this article. We read the Microsoft pages in the Sources section and wrote the steps from what they say. Where no Microsoft page confirmed a menu name or behaviour, we say so, and menu names can vary. We did not test the commands on a live machine. The times mentioned are older documented defaults, not a promise about your PC.
Last reviewed: November 24, 2026
Sources
- Automatic maintenance (Task Scheduler), Microsoft Learn - maintenance tasks, idle and AC power conditions, and the older 3 AM default
- Desktop wakes up unexpectedly from sleep or hibernation, Microsoft Learn - the wake setting, the Windows 8 example, the TaskScheduler log location and the powercfg wake timer command
- Windows 11 Automatic Maintenance, Microsoft Q&A - a community answer that names the TaskScheduler folder and task names; not an official Microsoft instruction
- Windows 10 support has ended on October 14, 2025, Microsoft Support - the Windows 10 end of support date
- Windows 10 Consumer Extended Security Updates, Microsoft - the consumer ESU end date of October 12, 2027