Quick tip: The maximum amount of time you can set is 18 hours. Specify the time range you usually use your device. Turn off the Automatically adjust active hours for this device based on activity toggle switch.To configure active hours manually on your device to prevent sudden restarts, use these steps: Also, this means that as your screen time schedule changes, the active hours will adjust accordingly. Once you complete these steps, Windows 10 will analyze how you use the device, and it'll configure the active hours automatically. Turn on the Automatically adjust active hours for this device based on activity toggle switch. To enable automatic active hours on Windows 10, use these steps: You can allow the system to configure active hours automatically based on your activities, or you can set a specific time range manually. Starting with Windows 10 version 1903, there are two ways to enable active hours. How to reschedule automatic restart on Windows 10.How to enable active hours on Windows 10.In this Windows 10 guide, we walk you through the steps to configure active hours on your device to prevent sudden reboots in the middle of your work to apply updates.