Windows 10 includes Active Hours, which lets you adjust the hours you expect to use your computer.
During these hours Windows will not install updates and no restarts will be scheduled, giving you better control of the computer. If o user set hours of active use, for example, between 10 a.m. and 3 p.m., Windows Update will not disturb the user during duration of this period. Only from 3 p.m. to 10 a.m., Windows Update will perform its regular maintenance and download, install updates, and reboot.
In the upcoming version of Windows 10 build 18282 (19H1) which is currently only seen by insiders, the functional your system will be able to automatically adjust active usage hours for you based on your device activity. Windows 10 Build 18282 introduces the “Intelligent Active Hours” feature. You can enable this setting to allow Windows to automatically adjust active hours for you based on your device activity. With Intelligent Active Hours enabled, reboots won't disrupt your productive time.
To set the hours of active use in Windows 10 October 2018, do the following:
1. Open the Settings application.
2. Go to Update and Security -> Windows Update.
3. On the right, click the Change Active Hours link
4. On the next page, set what hours you work with your computer and don't want to be disturbed. After setting the hours press symbol "N" (of the check) and finally the "Save" key
The time of your activities that you will define should not exceed 18 hours in 24 hours.
Alternatively you can set the hours through the registry. See how:
1. Open the Registry Editor
2. Go to: HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ WindowsUpdate \ UX \ Settings
3. In the right pane, set the start time from DWORD-32 to “ActiveHoursStart” and the start time from “ActiveHoursEnd”. They are adjusted from the price data (in hexadecimal format) of each price by setting the time in 24-hour format. That is, for 7 in the morning you just write 7 and for 4 in the afternoon you write 16.