Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

4
  • 2
    If the script runs via Task Scheduler or like, it will run when the screen is off (computer ON, screen OFF). If you log in from another computer, the screen will turn ON.
    – anon
    Commented Sep 15, 2021 at 13:24
  • Sorry I should of been clearer in my question. I only want the script to be run at the moment when the screen turns off, the same goes for when it gets woken.
    – George
    Commented Sep 15, 2021 at 13:34
  • You need to review event logs and I added some information on that as well.
    – anon
    Commented Sep 15, 2021 at 13:38
  • Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer.
    – Community Bot
    Commented Sep 15, 2021 at 15:50