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 the user sets active usage hours, for example, between 10 a.m. and 3 p.m., Windows Update will not disturb the user during this period. Only from 3 p.m. to 10 a.m., Windows Update will perform its regular maintenance and download, install updates, and restart.
In the upcoming version of Windows 10 build 18282 (19H1) which is currently seen only by Insider, your operating 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, do click in the Change active usage hours link
4. On the next page, set what hours you work with your computer and do not want to be bothered. After setting the hours, press the "n" symbol (of the check) and finally the "Save" button
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 window set the start time from DWORD-32 price “ActiveHoursStart” and the end time from “ActiveHoursEnd”. The are set from the price data (in hexadecimal format) of each price setting the time in 24-hour format. That is, for 7 in the morning you simply write 7 and for 4 in the afternoon you write 16.