Windows 10 has been delivering loads of updates to its millions of users world wide. Users who are in a corporate or enterprise environment often does not notice this or feel this since the updates are managed by the IT team using products such as Windows Server Updates Service (WSUS). For others who use Windows 10 devices as stand alone, this becomes annoying due to the unscheduled restarts. Although initially it prompts a notification whether to delay the restart, generally users do lose track of time and face these restarts.
With the Windows 10 Anniversary update, a new feature called Active Hours was introduced. By setting this feature, Windows would be notified on when the device is used and the update installation and restart would not occur during the active hours.
To change or set a new active time;
Click on settings in start menu
Click on Update and Security
Click on Change Active Hours
Do the necessary change and click save