Skip to main content
added 203 characters in body
Source Link
anon
anon

If a Windows computer is running (not suspended) and the screen turns of as a result of Windows Power Management and (possibly) the screen settings, then Windows is still running.

Scripts run via Task Scheduler or like will run. Updates will run. Actions like restart from Update will start up the screen.

Also if you remote in from another computer, the screen will turn on.

So there are some variations, but the computer will run scripts if the screen is off.

If you wish to try running a script resulting from a power event, you need to check the event logs.

Please see: Display all power related events (turn-on/-off/sleep/hibernate/...)?

If all this does not work (and I suspect not) then you most likely cannot do what you want. I have not run across any request (hundreds of customers) who need to be alerted when the screen turns off.

If a Windows computer is running (not suspended) and the screen turns of as a result of Windows Power Management and (possibly) the screen settings, then Windows is still running.

Scripts run via Task Scheduler or like will run. Updates will run. Actions like restart from Update will start up the screen.

Also if you remote in from another computer, the screen will turn on.

So there are some variations, but the computer will run scripts if the screen is off.

If you wish to try running a script resulting from a power event, you need to check the event logs.

Please see: Display all power related events (turn-on/-off/sleep/hibernate/...)?

If a Windows computer is running (not suspended) and the screen turns of as a result of Windows Power Management and (possibly) the screen settings, then Windows is still running.

Scripts run via Task Scheduler or like will run. Updates will run. Actions like restart from Update will start up the screen.

Also if you remote in from another computer, the screen will turn on.

So there are some variations, but the computer will run scripts if the screen is off.

If you wish to try running a script resulting from a power event, you need to check the event logs.

Please see: Display all power related events (turn-on/-off/sleep/hibernate/...)?

If all this does not work (and I suspect not) then you most likely cannot do what you want. I have not run across any request (hundreds of customers) who need to be alerted when the screen turns off.

added 4 characters in body
Source Link
anon
anon

If a Windows computer is running (not suspended) and the screen turns of as a result of Windows Power Management and (possibly) the screen settings, then Windows is still running.

Scripts run via Task Scheduler or like will run. Updates will run. Actions like restart from Update will start up the screen.

Also if you remote in from another computer, the screen will turn on.

So there are some variations, but the computer will run scripts if the screen is off.

If you wish to try running a script resulting from a power event, you need to check the event logs.

Please see: Display all power related events (turn-on/-off/sleep/hibernate/...)?

Also if you remote in from another computer, the screen will turn on.

So there are some variations, but the computer will run scripts if the screen is off.

If a Windows computer is running (not suspended) and the screen turns of as a result of Windows Power Management and (possibly) the screen settings, then Windows is still running.

Scripts run via Task Scheduler or like will run. Updates will run. Actions like restart from Update will start up the screen.

If you wish to try running a script resulting from a power event, you need to check the event logs.

Please see: Display all power related events (turn-on/-off/sleep/hibernate/...)?

Also if you remote in from another computer, the screen will turn on.

So there are some variations, but the computer will run scripts if the screen is off.

If a Windows computer is running (not suspended) and the screen turns of as a result of Windows Power Management and (possibly) the screen settings, then Windows is still running.

Scripts run via Task Scheduler or like will run. Updates will run. Actions like restart from Update will start up the screen.

Also if you remote in from another computer, the screen will turn on.

So there are some variations, but the computer will run scripts if the screen is off.

If you wish to try running a script resulting from a power event, you need to check the event logs.

Please see: Display all power related events (turn-on/-off/sleep/hibernate/...)?

Source Link
anon
anon

If a Windows computer is running (not suspended) and the screen turns of as a result of Windows Power Management and (possibly) the screen settings, then Windows is still running.

Scripts run via Task Scheduler or like will run. Updates will run. Actions like restart from Update will start up the screen.

If you wish to try running a script resulting from a power event, you need to check the event logs.

Please see: Display all power related events (turn-on/-off/sleep/hibernate/...)?

Also if you remote in from another computer, the screen will turn on.

So there are some variations, but the computer will run scripts if the screen is off.