You can prevent Windows 10 from automatically restarting, for the purpose of installing Windows Updates using the Active Hours feature.

There are lots of feedback from Windows 10 users that Windows restarted automatically after updates were downloaded and they were cut off from what they were doing as Windows restarted. Or it restarted and installed a new version of Windows.

Active Hours:

But now Windows has provided a feature Active Hours that will prevent this. This will make Windows restart less annoying and the user will have his say when to restart. Although now also Windows provides an option when to restart or Restart Now option but with Active Hours, more control for users is provided.

By default updates are downloaded and installed automatically and Active Hours actually do not change that behavior but they add an additional option which ensures the user is not disturbed by reboot while using the system.

This option is provided in the latest Windows 10 Insider Preview Build 14316 and will be part of Windows Anniversary updates for general user which will be available later this year.

To access Active Hours, open Settings > Update and Security > Windows Update > Change Active Hours

Clicking on it provides option to set the timings when you are working on the system and do not want Windows to reboot.

“Active Hours lets us know when you usually use this device. When a restart is necessary to finish installing an update, we won’t automatically restart your device during active hours.”

So set the timings and Save.

Apart from that, in case you finished your work and now wants to Restart to finish the update process, there’s another option ‘Restart options’ just below Change Active Hours.

This option allows you to temporarily override active hours and schedule a custom time to finish installing this update. Make sure your device is plugged in at the scheduled time.

So with Active Hours, a user will have better control over Restarts for finishing the update process.