How to Prevent Windows 10 from Restarting Automatically
In this article
Windows 10 is designed to restart automatically for updates and maintenance, which can interrupt your work or gaming sessions. You can prevent these unexpected reboots by pausing updates, configuring active hours, or using the Group Policy Editor to disable automatic restarts entirely. This guide covers the most reliable methods to keep your PC running until you choose to shut it down.
What You'll Need
- A Windows 10 PC with administrator privileges
- Access to Settings or the Control Panel
- For advanced users: Access to Local Group Policy (Pro/Enterprise editions only)
Step-by-Step
- Pause Updates Temporarily: The quickest way to stop a restart is to pause updates. Open
Settings>Update & Security>Windows Update. Click the "Pause updates for 7 days" button. This prevents new downloads and stops the system from scheduling a restart based on pending updates for one week. - Configure Active Hours: Windows will not restart during your specified active hours. In
Settings>Update & Security>Windows Update, click "Change active hours." Select the start and end times that match your typical usage pattern. Windows will avoid restarting between these times unless you force an update. - Disable Automatic Restart via Registry (Home Edition): If you are on Windows 10 Home, you can prevent restarts after updates by editing the registry. Press
Win + R, typeregedit, and press Enter. Navigate toHKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update. Right-click in the right pane, selectNew>DWORD (32-bit) Value, name itNoAutoRebootWithLoggedOnUsers, and set its value to1. Restart your computer for changes to take effect. - Use Group Policy (Pro/Enterprise Edition): For Pro users, this is the most robust method. Press
Win + R, typegpedit.msc, and press Enter. Navigate toComputer Configuration>Administrative Templates>Windows Components>Windows Update. Double-clickNo auto-restart with logged on users for scheduled automatic updates installations. Set it toEnabledand click OK. This ensures Windows never forces a reboot while you are logged in. - Disable the Windows Update Service (Temporary Fix): As a last resort, you can stop the service entirely. Press
Win + R, typeservices.msc, and press Enter. FindWindows Updatein the list, right-click it, and selectProperties. Change the Startup type toDisabled. Note that this prevents all updates, including security patches, so remember to re-enable it later.
Common Mistakes
Many users attempt to disable updates permanently by deleting the update folder or renaming services, which often breaks the system's ability to receive critical security patches. Another common error is assuming that turning off "automatic restart" in the notification area stops all updates; it only hides the notification, but the update may still install and trigger a restart at the next opportunity. Additionally, users on Windows 10 Home often try to use Group Policy, which is not available on their edition, leading to confusion.
Tips
- Schedule Your Work: Instead of disabling updates forever, rely on Active Hours. This allows Windows to update when you are away without interrupting your workflow.
- Check for Pending Updates: Before pausing updates, ensure no large updates are already downloading. Pausing does not cancel an ongoing download; it only stops new ones.
- Use Maintenance Mode: If you need to run a specific application that conflicts with updates, consider creating a System Restore point before making registry or policy changes. This allows you to revert if something goes wrong.
- Regular Check-ins: Even if you prevent automatic restarts, manually check for updates once a month to ensure your system remains secure against vulnerabilities.
Troubleshooting
If Windows continues to restart despite these settings, first verify that you have applied the changes correctly. For registry edits, ensure the key name matches exactly and the value is set to 1. For Group Policy, ensure the policy is set to "Enabled" rather than "Not Configured." If the issue persists, check if third-party software (such as antivirus or optimization tools) is overriding Windows settings. You can also try running the Windows Update Troubleshooter by going to Settings > Update & Security > Troubleshoot > Additional troubleshooters > Windows Update. If all else fails, resetting the Windows Update components by clearing the C:\Windows\SoftwareDistribution folder may resolve stuck update states causing phantom restarts.
Frequently Asked Questions
Will pausing updates stop my PC from restarting?
Yes, pausing updates for up to 35 days (in newer versions) prevents Windows from downloading new updates and scheduling restarts based on those updates.
Can I completely disable Windows Update?
You can disable the Windows Update service, but Microsoft strongly advises against this as it leaves your system vulnerable to security threats. It is better to manage update timing.
Why did my PC restart even though I paused updates?
This usually happens if an update was already downloaded before you paused. Windows may still install pre-downloaded updates. You must delete the pending updates or wait for the pause period to expire.
Does this work on Windows 10 Home?
The Group Policy method is not available on Home edition. Use the Registry edit method or Active Hours configuration instead.
How do I resume updates after preventing restarts?
Simply reverse the steps: enable the Group Policy, change the registry value back to 0 or delete it, or resume updates in the Settings menu.