Need to make Windows sleep automatically at a specific time or event? Here is a method to schedule Windows to sleep at a specific time.
In Windows, you can put the machine into sleep mode when you are not while using system. Whenever you place the system inside a sleep state, Windows saves the present system state to RAM or system memory. As long as you don’t completely turn off the machine, you are able to resume from the current state whenever you want. One of the benefits of putting the system to sleep is you conserve electricity and also have quick access to the system whenever needed.
Beginning with Windows 8, Microsoft is using Hybrid Sleep in most supported systems. As possible guess in the name itself, Hybrid Sleep is definitely an enhanced version where both Sleep and Hibernation are combined. In Hybrid Sleep mode, the Windows state is saved to both system memory and the hard disk drive. So, even though you completely power off the system, you can resume the system, much like with Hibernation. With Hybrid Sleep, you will get the very best of all possible worlds.
If you want to put Windows to rest in a specific time or on a specific event, use a bit of magic using the task scheduler to achieve the purpose. Allow me to show you how.
Make Windows Sleep At Specific Time
To make Windows sleep in a specific time, there is no proper built-in method. For instance, we are able to make use of the SetSuspendState command. However, that specific command hibernates the system, if the hibernation is enabled. So, if you want to put Windows to rest on schedule by using their command, you first need to disable hibernation. As possible guess, this is not the most elegant way to do things.
Thankfully, I discovered a neat tool called PsShutdown which makes the task easier and. PsShutdown is a free Microsoft SysInternals tool. Being a command-line tool, it really works flawlessly using the task scheduler. Yes, we will make use of the awesome task scheduler all over again to get the job done. Just follow the steps out of the box and you will be done in virtually no time.
Steps to follow along with
1. First, download PsShutdown from Microsoft’s official website. After downloading, open the ZIP and extract the psshutdown.exe file in it to a folder of your choice.
2. Once you have the file, open the “Task Scheduler” application by searching in the start menu.
3. In the task scheduler, click on the “Create basic task” choice to create a scheduled task.
4. Name the job anything you like. Just make sure the name is one thing descriptive. Click “Next”.
5. I wish to make Windows sleep daily in a specific time. So, I’m choosing the “Daily” option. If you want something else, you can choose the relevant option. Click “Next”.
6. Depending on what you choose in the last step, you may visit a different screen. Configure the settings when needed. Like me, if you wish to put Windows to rest every single day in a specific time, just change the time accordingly and click on “Next”. Also, make sure the “Recur every” is placed 1. That way, the job runs every day.
7. Select “Start a program” option. This way, we are able to use the download PsShutdown application.
8. Here, click the “Browse” button, find the psshutdown.exe file, select it and click on the “Open” button to include it towards the task scheduler. Next, add -d -t 0 -accepteula within the Arguments field. Click “Next”.
9. Click “Finish”.
10. We need to ensure the command is working as it ought to. So, find the task we simply created in the job scheduler’s main window. Next, right-click on it and select the “Run” option.
If the command is true, the body should immediately go into the sleep state.
That is it. In the future, based on the scheduled task, the system is going to be automatically put into sleep.