Create a wake timer
Create a new task in Task Scheduler. Give the task a name and enable the ‘Run with highest privileges’ option on the General tab. Navigate to the Triggers section.
Related: How to Update Google Chrome
Set a wake timer for the system to wake up from its slumber. Make your way to the Actions tab.
This part is only slightly difficult; you must enter an action in order for the task to be completed. It could be anything from opening a file to launching an app to running a script. Anything will suffice. You can use a script to start and stop an app. We have a script that will display a message box stating what triggered the system to wake up.
Finally, enable the ‘Wake the computer to run this task’ option on the Conditions tab. You’re done when you click Ok.
Message box script
If you want the script to display a message, open Notepad and paste the following into it.
@echo off echo x=msgbox("The System was woken from sleep" ,0, "Wake Up") >> msgbox.vbs start msgbox.vbs
You can make changes to the script. The message “The System was woken from sleep” is displayed in the message box, and the title of the message box is “Wake Up.” You are free to change it to whatever you want. Set the file as the task’s trigger by saving it with the BAT file extension.