How to Stop Windows from Restarting Overnight for Updates
Windows 11; Windows 10 differences noted where they exist · Last checked · Suggest an edit
https://instructions.wiki/windows/stop-windows-from-restarting-overnight-for-updates
The PC was left with work open and by morning everything is closed and a fresh sign-in screen is waiting. Windows installed an update and restarted on its own during what it decided were your idle hours. Two settings control that timing, and neither one is off by default.
Turn off the immediate restart switch
Go to Settings, Windows Update, Advanced options. Turn off Restart this device as soon as possible when a restart is required. That switch is what lets Windows reboot outside the normal schedule, including the middle of the night.
Turn on the restart notice
On the same page, turn on Notify me when a restart is required to finish updating. Windows then shows a warning before the reboot instead of taking the machine down while nobody is watching.
Set active hours to cover the time the PC is in use
Still under Advanced options, open Active hours. Set it to Manually and choose a range as wide as Windows allows, such as 6 AM to 5 AM, so almost no part of the day counts as idle. Leaving it on Automatically lets Windows guess from usage patterns, which often misreads a PC that stays on overnight.
Pause updates when a restart would be costly
On the main Windows Update page, use Pause updates and pick 1 to 5 weeks. Nothing downloads or installs during that window, which covers a deadline or a trip. Windows 10 has the same control under Settings, Update & Security, Windows Update.
Restart on your own schedule
Once an update is downloaded, the Windows Update page offers Restart now and Schedule the restart. Picking a time yourself is what actually ends the problem, because every deferral eventually expires.
A pause always runs out. When the pause period ends, Windows must install everything it held back before it will pause again, and that batch is usually large. Plan a restart near the end of the pause rather than letting it choose one.
Windows 11 Pro can wait longer. Pro, Enterprise, and Education editions can defer feature updates further through Group Policy under Windows Update for Business. Home has no such control, so active hours and pausing are the whole toolkit there.