question

OrionMaps-5690 avatar image
0 Votes"
OrionMaps-5690 asked OrionMaps-5690 answered

run a program every time the computer comes out of hibernation

Hello,

I want to run a program every time the computer comes out of hibernation or sleep. In the task scheduler I see that I have the option of when an event occurs, but I can't find something related to the reactivation of the computer in the list.

Is it possible to run a task when it wakes up?

Greetings

windows-10-generalwindows-10-setup
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

LimitlessTechnology-2700 avatar image
1 Vote"
LimitlessTechnology-2700 answered

Hi @OrionMaps-5690

This is perfectly possible. Here's a guide for you to follow:

1) Open Task Scheduler and click on “Create a Task” to create a new task.
2) In the new panel which opens, fill the “General” tab to suit your needs.
3) Next, switch to the “Triggers” tab and choose “New”. Another Panel will open. At the top of this Panel, choose “On an event” from the drop-down menu.

4) Then choose “Custom” under Settings, and hit “New Event Filter”. Create a “Custom Event Filter” with:

Event Level: Information
Log Name: System
Source: Power-Troubleshooter
Event ID: 1
Task Scheduler Edit Events

5) That was the important part. Now switch to the Actions tab and choose the program you wish to run.
6) In Conditions tab, uncheck the option labeled “Start the task only if the computer is on AC power”.
7) Finally, save the task by clicking on OK.


I hope this answers your question.

Thanks.


--If the reply is helpful, please Upvote and Accept as answer--

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

OrionMaps-5690 avatar image
0 Votes"
OrionMaps-5690 answered
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

OrionMaps-5690 avatar image
0 Votes"
OrionMaps-5690 answered

Now try to start minimized. I have added /min to the argument box but it doesn't work

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.