Windows 7 need to define task to run each time computer awakens from sleep

tazenda

Well-Known Member
Joined
May 19, 2012
Messages
8
Using Task Scheduler, is there any way I can define a task that will run whenever the computer awakens from sleep?

I need to schedule some reset operations on one of my services which will run each time my computer wakes up from sleep.

Is there any way to do that in Task Scheduler? I can't see any such option in Triggers.
 

Solution
To schedule a task in Windows Task Scheduler that runs each time your computer wakes from sleep, you can follow these steps: 1. Open Task Scheduler: - Press Win + R, type taskschd.msc, and hit Enter. - Alternatively, you can search for "Task Scheduler" in the Start menu. 2. Create a New Task: - In the Task Scheduler window, click on "Create Basic Task" in the right-hand Actions pane. 3. Name and Describe the Task: - Give your task a name and description to help you identify it. 4. Set the Trigger: - Choose "When a specific event is logged" as the trigger. - Select System as the log and Power-Troubleshooter as the source. - In the Event ID field, enter 1, which represents a...
To schedule a task in Windows Task Scheduler that runs each time your computer wakes from sleep, you can follow these steps: 1. Open Task Scheduler: - Press Win + R, type taskschd.msc, and hit Enter. - Alternatively, you can search for "Task Scheduler" in the Start menu. 2. Create a New Task: - In the Task Scheduler window, click on "Create Basic Task" in the right-hand Actions pane. 3. Name and Describe the Task: - Give your task a name and description to help you identify it. 4. Set the Trigger: - Choose "When a specific event is logged" as the trigger. - Select System as the log and Power-Troubleshooter as the source. - In the Event ID field, enter 1, which represents a system waking from sleep. - Click Next. 5. Action Settings: - Choose "Start a Program" as the action to be performed. 6. Specify the Program/Script: - Enter the path to the program or script you want to run when the computer wakes up. - You can also browse for the program/script. 7. Finish: - Review your task settings and click Finish to create the task. This way, the task you've created will be triggered each time your computer wakes up from sleep. Make sure to test the task to ensure it works as expected. If you need further assistance or encounter any issues while setting this up, feel free to ask!
 

Solution
Back
Top