Share via

How do i execute a task when system goes into standby

Anonymous
2020-03-31T07:49:51+00:00

Running Windows 10 64 Pro, for a HTPC.

i need to run a simple batch script whenever system goes into standby. I've tried the event trigger Kernal-Power 42 approach, but although the script starts, it doesn't finish before the system goes to sleep. 

Its not practical to manually run a script which includes standby, as i shut it down either from within an app or from a remote.

Ive also tried an app called Hibernate Trigger which works ok, but seems to lose its parameters when you restart.

Windows for home | Windows 10 | Sleep and Power on, off

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

1 answer

Sort by: Most helpful
  1. Anonymous
    2020-03-31T11:08:54+00:00

    i need to run a simple batch script whenever system goes into standby.

    I suspect you would end up with a dog biting its own tail. A system goes into standby after being idle for x minutes. Running a batch file would immediately pull it out of standby.

    Was this answer helpful?

    2 people found this answer helpful.
    0 comments No comments