How to Disable Automatic Maintenance Windows 11
- 5 steps
- Needs administrator rights
- Includes a restart or sign-out
Automatic maintenance in Windows 11 is controlled from Control Panel Security and Maintenance, where you can change its start time or stop it waking the PC. To switch it off completely, you edit one value in Registry Editor. Automatic Maintenance is the built-in feature that runs background tasks such as software updates and security scans, by default around 2:00 AM each day while the computer is idle.
You might disable it while troubleshooting, or to stop the PC waking up unexpectedly in the night. The Registry Editor method works on Home and Pro editions of a currently supported Windows 11 version (25H2 or 26H2). Turning maintenance off means you decide when these jobs run.
To disable automatic maintenance in Windows 11, open Registry Editor (regedit) and edit the MaintenanceDisabled value under 🗝️HKEY_LOCAL_MACHINE\
How Automatic Maintenance Works
Automatic Maintenance bundles the background jobs Windows runs regularly to keep the PC secure and healthy. A security scan is one example: it checks for malware while you are away from the machine.
Windows schedules these jobs together so they run in one quiet window instead of interrupting you at random times. If the PC is in use or on battery power, maintenance can wait for a later moment.
What Happens During Automatic Maintenance?
Here is what the feature normally covers:
- Windows Updates: Downloads and installs important security fixes and new features.
- Security Scans: Checks for harmful software and viruses using Windows Security.
- System Diagnostics: Checks to make sure system parts are working correctly.
- Performance Optimization: Tidies up storage to keep it fast. On older hard drives this means defragmenting (rearranging files so they sit together). On newer SSDs it means optimizing, which is a different operation.
- Software Updates: Sometimes, updates for other Microsoft programs are also part of this process.
All of this happens when you are not using the PC, so it rarely interrupts your work. That is the reason most people should leave it on. If you turn it off, you take over these jobs yourself.
Using the Registry Editor to Control Automatic Maintenance
If your only problem is the PC waking up at night, try the lower-risk option first. Security and Maintenance in Control Panel lets you move the start time or stop maintenance from waking the PC. It does not touch the registry, and you can reverse it at any time.
- Open Control Panel and go to System and Security Security and Maintenance. The Security and Maintenance page opens.
- Expand the Maintenance section, then click Change maintenance settings. A window with the maintenance schedule opens.
- In the Run maintenance tasks daily at list, pick a time when you are normally using the PC.
- Clear the check box named Allow scheduled maintenance to wake up my computer at the scheduled time to stop night-time wake-ups.
- Click OK. The window closes and the new schedule is saved.
That’s it. Maintenance still runs, but at the time you chose and without waking the PC. If you want it switched off entirely, continue with the Registry Editor method below.
The Registry Editor is a tool for viewing and changing the registry, the database where Windows stores its system settings. Use it when the normal settings screens do not go far enough. Be careful here. A wrong change can cause serious problems, so edit only the value described below.
Before you start, back up the registry key. In Registry Editor, click File, then Export, and save a copy. You can double-click that file later to restore it.
Automatic Maintenance is controlled by a registry value. The setting lives under 🗝️HKEY_LOCAL_MACHINE\
Step 1Open the Registry Editor
- Press Win+R on your keyboard. The Run box opens.
- Type
regeditinto the box and press Enter or click OK. - If a User Account Control (UAC) window appears, click Yes. If you are signed in with a standard account, Windows asks for admin credentials instead. Administrator rights are required to change this setting.
You should now see Registry Editor open, with a folder tree on the left and values on the right.
Step 2Go to the Correct Registry Location
Next, go to the registry key (a folder-like entry) that holds the Automatic Maintenance settings.
- In the left-hand pane, expand 🗝️HKEY_LOCAL_MACHINE and keep drilling down through the folders, one level at a time, until you reach the path below.
- As a shortcut, click the address bar at the top of Registry Editor, paste the path, and press Enter. This works on current Windows 11 builds.
The path is:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\Maintenance
That’s it for navigation. The key is now highlighted on the left, and its values are listed on the right. Check the path carefully, because a similar-looking key elsewhere is not the right one.
Step 3Change the ‘MaintenanceDisabled’ Setting
MaintenanceDisabled is the registry value that turns the background tasks off. It may not exist yet. In that case you create it by right-clicking an empty spot in the right pane, choosing New, selecting DWORD (32-bit) Value, and naming it MaintenanceDisabled. A DWORD is a registry value that holds a number. The steps below walk through this.
To Disable Automatic Maintenance:
- In the right side of the window, look for a value named
MaintenanceDisabled. - If it is not there, create it. Right-click an empty space in the right pane, select New, then choose DWORD (32-bit) Value. A new entry appears with its name ready to edit. Name it exactly
MaintenanceDisabled. - Double-click the
MaintenanceDisabledvalue. The Edit DWORD (32-bit) Value window opens. - In the Value data box, enter
1. - Make sure Base is set to Hexadecimal.
- Click OK. The value now shows the number you entered in the right pane.
That’s it. You now have Automatic Maintenance switched off at the registry level, once you restart the PC as described below.
Explanation: Setting the value to 1 for MaintenanceDisabled tells Windows to stop the automatic maintenance tasks.
To Enable Automatic Maintenance (Default):
To turn Automatic Maintenance back on, reverse the change:
- Go back to the same key in Registry Editor. If the
MaintenanceDisabledvalue is there, double-click it. - Change the Value data to
0. - Make sure Base is set to Hexadecimal.
- Click OK.
- Alternatively, remove the value. Right-click the
MaintenanceDisabledvalue and select Delete, then confirm if asked. If theMaintenanceDisabledvalue does not exist, there is nothing to delete, and maintenance is already at its default.
You should now have Automatic Maintenance allowed to run again on its normal schedule after the next restart.
Explanation: Setting the value to 0, or removing the value entirely, tells Windows to allow automatic maintenance tasks to run as scheduled.
Tip: Removing the MaintenanceDisabled value is often the most reliable way to re-enable maintenance, because it returns the system to its default behavior.
Step 4Close Registry Editor and Restart
When you have finished, close Registry Editor. Then restart the PC so that Windows services pick up the new setting. To do this, open Start, select Power, then select Restart. Save your open work first.
This applies whether you disabled or re-enabled maintenance. If you want to undo the change later, follow the enabling steps above and restart again.
That’s it. After the restart, Windows runs with the maintenance setting you chose.

Summary
With maintenance off, check Windows Update and run a Windows Security scan on a regular schedule, since nothing will do it for you at night. If you only wanted to stop night-time wake-ups, the Security and Maintenance settings in Control Panel are the safer fix. To go back to the default, set the value to 0 or delete it, then restart.
Have a question about this guide?
Answered by AI from this guide. Good questions may be added to this page — please don't include personal details.
Did this guide fix your problem?
About the Author
Richard
Tech Writer, IT Professional
Richard is a writer at Geek Rewind who turns complex IT tasks into clear, step-by-step guides. He draws on years of hands-on experience in system administration and enterprise IT operations, focusing on Windows, Linux and WordPress: the problems people actually run into, and the fixes that work. His server and WordPress guides come from systems he runs himself. Richard builds and maintains the platform behind Geek Rewind, from its Ubuntu servers and Nginx configuration to its custom WordPress plugins. Many new tutorials start with readers' questions, and he's always glad to answer them in the comments.
No comments yet — be the first to share your thoughts!