What Is Automatic Maintenance in Windows 10 and Windows 11?
Automatic Maintenance is a built-in Windows feature that runs background maintenance tasks at a scheduled time, usually when the computer is idle. It is designed to keep the system healthy without requiring you to manually launch separate tools every day.
In Windows 10 and Windows 11, Automatic Maintenance can run system diagnostics, security-related checks, software updates, disk-related optimization tasks, and other scheduled maintenance jobs registered by Windows or installed programs. The exact set of tasks depends on your device, installed components, power state, and configuration.
Why Automatic Maintenance exists
Windows needs to perform many small background operations: checking update state, refreshing security data, running diagnostics, optimizing storage, and processing scheduled system tasks. Running all of this while you are actively using the PC can cause slowdowns. Automatic Maintenance reduces that impact by grouping many tasks into a predictable maintenance window.
When Automatic Maintenance runs
By default, Windows schedules Automatic Maintenance for a daily time, commonly around the early morning hours. If the computer is turned off or busy at that time, Windows can postpone the work and run it later when the PC is idle. On laptops, behavior may also depend on battery level, sleep mode, and whether the device is connected to power.
What Does Windows Automatic Maintenance Do?
Automatic Maintenance is a container for different maintenance activities. It does not always run the same tasks on every computer, but the following categories are common:
- Windows Update checks: verifying update state and preparing certain background update operations.
- Security maintenance: tasks related to Microsoft Defender Antivirus, security intelligence, and system protection components.
- System diagnostics: checking reliability, problem reports, and maintenance-related system health data.
- Storage optimization: running approved disk optimization operations, such as TRIM for SSDs or scheduled optimization for supported drives.
- Application maintenance: running scheduled tasks created by Microsoft apps or third-party programs that use the Windows maintenance framework.
Does Automatic Maintenance delete personal files?
No. Automatic Maintenance is not designed to delete your documents, photos, downloads, or desktop files. Some related Windows cleanup mechanisms may remove temporary files or expired update cache data, but personal files should not be removed by Automatic Maintenance itself.
How to Open Automatic Maintenance Settings in Windows 10 and Windows 11
The main Automatic Maintenance settings are still located in the classic Control Panel, even on Windows 11. You can open them through Security and Maintenance.
Method 1: Open via Control Panel
- Press Win + R.
- Type
controland press Enter. - Open System and Security.
- Click Security and Maintenance.
- Expand the Maintenance section.
- Click Change maintenance settings.
Method 2: Open directly with a command
You can also open the Security and Maintenance page directly from the Run dialog:
control /name Microsoft.ActionCenter
After the window opens, expand Maintenance and use the available maintenance links.
How to Change the Automatic Maintenance Time in Windows
Changing the maintenance time is the most useful setting for most users. Choose a time when the computer is usually on but not actively used.
- Open Control Panel.
- Go to System and Security β Security and Maintenance.
- Expand Maintenance.
- Click Change maintenance settings.
- In the Run maintenance tasks daily at drop-down menu, select the preferred time.
- Click OK to save the setting.
Recommended maintenance time
For a desktop PC that stays plugged in, early morning is usually fine. For a laptop that is often in a bag or disconnected from power, choose a time when it is normally open, plugged in, and idle β for example during lunch or shortly after work hours.
Desktop PC
Set maintenance to a time when the PC is powered on but unused, such as 2:00β4:00 AM or another quiet period.
Laptop
Use a time when the device is likely connected to AC power. Avoid times when the laptop is usually in sleep mode inside a bag.
Office PC
Schedule maintenance outside peak work hours, but not necessarily overnight if PCs are turned off after business hours.
How to Allow or Prevent Windows from Waking the PC for Maintenance
Windows can be allowed to wake the computer at the scheduled maintenance time. This can be useful for desktops, but inconvenient for laptops or systems in a bedroom.
Change the wake-up setting
- Open Control Panel β System and Security β Security and Maintenance.
- Expand Maintenance.
- Click Change maintenance settings.
- Enable or disable Allow scheduled maintenance to wake up my computer at the scheduled time.
- Click OK.
When should you disable wake-ups?
Disable wake-ups if the computer turns on unexpectedly at night, wakes a laptop while it is closed, or interrupts a quiet environment. If you disable this option, Windows will still run maintenance later when the computer is available.
Check power plan wake timers
If the PC still wakes unexpectedly, check the power plan wake timer setting:
- Open Control Panel β Hardware and Sound β Power Options.
- Click Change plan settings next to the active plan.
- Click Change advanced power settings.
- Expand Sleep β Allow wake timers.
- Set it to Disable or Important Wake Timers Only, depending on your preference.
powercfg /waketimers
The command above shows active wake timers that may wake the computer. Run it in Command Prompt or Windows Terminal.
How to Start or Stop Automatic Maintenance Manually
You can manually start maintenance if you want Windows to run pending maintenance tasks immediately. This is useful after a long period of the PC being off, after major updates, or when troubleshooting slow background activity.
Start maintenance manually
- Open Control Panel.
- Go to System and Security β Security and Maintenance.
- Expand Maintenance.
- Click Start maintenance.
Stop maintenance manually
- Return to Security and Maintenance.
- Expand Maintenance.
- If maintenance is running, click Stop maintenance.
How to Check Automatic Maintenance Tasks in Task Scheduler
Advanced users can inspect maintenance-related scheduled tasks in Task Scheduler. This is useful when maintenance fails, runs too long, or seems to start at the wrong time.
Open maintenance tasks
- Press Win + R.
- Type
taskschd.mscand press Enter. - Go to Task Scheduler Library β Microsoft β Windows β TaskScheduler.
- Look for tasks such as Regular Maintenance, Idle Maintenance, or Maintenance Configurator.
The names and visible tasks may vary by Windows version and system configuration. You can check Last Run Time, Last Run Result, and Next Run Time to understand whether the task is working.
Useful Task Scheduler checks
- Last Run Result: confirms whether the task completed successfully or returned an error code.
- History: shows task events if task history is enabled.
- Conditions: shows whether the task requires idle state, AC power, or wake permission.
- Triggers: shows when the task is scheduled to start.
Can You Disable Automatic Maintenance in Windows 10 and Windows 11?
For most users, disabling Automatic Maintenance is not recommended. The feature is part of normal Windows health management and usually improves reliability over time. Instead of disabling it, change the schedule, block wake-ups, or troubleshoot the task that causes high resource usage.
When disabling may be considered
There are a few situations where an administrator may temporarily disable Automatic Maintenance:
- A test environment where maintenance tasks interfere with controlled benchmarks.
- A kiosk or embedded workstation with a strictly managed maintenance window.
- A troubleshooting scenario where you need to isolate a specific scheduled task.
- A corporate environment where maintenance is handled by separate management tools.
Advanced registry method
Windows does not provide a simple on/off switch in the standard Automatic Maintenance settings. Advanced users sometimes use the registry to disable the maintenance framework. This should be treated as an administrative workaround, not a normal optimization step.
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\Maintenance
Create or change a DWORD (32-bit) Value named:
MaintenanceDisabled
Possible values:
0β Automatic Maintenance enabled.1β Automatic Maintenance disabled.
Automatic Maintenance Problems and How to Fix Them
If Automatic Maintenance causes high CPU usage, runs for a very long time, or never appears to finish, use the steps below.
Problem 1: Automatic Maintenance runs too often
This usually happens when the PC is not available at the scheduled time, so Windows keeps postponing maintenance until the next idle period.
- Set a maintenance time when the PC is normally on.
- Make sure the system has enough idle time to complete background work.
- Check Task Scheduler for failed maintenance tasks.
- Restart the PC after major Windows updates.
Problem 2: The PC wakes up at night
Disable the maintenance wake option and check power plan wake timers.
powercfg /waketimers
powercfg /lastwake
powercfg /lastwake can help identify what woke the computer most recently.
Problem 3: High CPU or disk usage during maintenance
Some temporary resource usage is normal. If it continues for hours, check which process is responsible in Task Manager.
- Press Ctrl + Shift + Esc to open Task Manager.
- Sort by CPU or Disk.
- Check whether the load comes from Windows Update, Microsoft Defender, disk optimization, indexing, or a third-party program.
- Let maintenance finish if the PC has been off for several days.
- If a specific third-party task causes the issue, update or uninstall that program.
Problem 4: Maintenance never finishes
Run basic Windows repair checks if maintenance repeatedly hangs or fails:
sfc /scannow
DISM /Online /Cleanup-Image /RestoreHealth
After both commands finish, restart the computer and manually start maintenance again from Security and Maintenance.
Problem 5: Maintenance settings are unavailable
If buttons are missing or unavailable, check the following:
- You are using an administrator account.
- The PC is not managed by organization policies.
- Task Scheduler service is running.
- Windows system files are not damaged.
services.msc
Open Services and check that Task Scheduler is running. On most systems, this service should not be disabled.
Automatic Maintenance in Windows: FAQ
Q Should I turn off Automatic Maintenance in Windows 11? βΌ
Q Is Automatic Maintenance the same as Disk Cleanup? βΌ
Q Does Automatic Maintenance slow down the computer? βΌ
Q Why does Automatic Maintenance start when I begin using the PC? βΌ
Q Can Automatic Maintenance wake a sleeping computer? βΌ
Q Is it safe to stop maintenance while it is running? βΌ
π Summary
Automatic Maintenance in Windows 10 and Windows 11 is best left enabled. It coordinates background tasks such as updates, diagnostics, security maintenance, and storage optimization so they run with minimal interruption.
For most users, the optimal setup is simple: choose a maintenance time when the PC is on but idle, disable wake-ups if the computer turns on at inconvenient times, and only use advanced registry changes for controlled administrative scenarios.