run a program every time the computer comes out of hibernation

Orion Maps 26 Reputation points
2022-03-31T07:51:46.437+00:00

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 for business Windows Client for IT Pros User experience Other
0 comments No comments
{count} vote

Accepted answer
  1. Limitless Technology 39,916 Reputation points
    2022-04-06T09:29:28.82+00:00

    Hi @Orion Maps

    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--

    3 people found this answer helpful.

2 additional answers

Sort by: Most helpful
  1. Orion Maps 26 Reputation points
    2022-04-08T09:35:35.007+00:00
    0 comments No comments

  2. Orion Maps 26 Reputation points
    2022-04-11T06:34:32.72+00:00

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

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.