Task scheduler: trigger on screensaver event possible?


  1. Posts : 2
    Windows 7 64bit
       #1

    Task scheduler: trigger on screensaver event possible?


    I got task scheduler to run a sync utility when the (on idle) trigger occurs. However, it would trigger while I am watching a full screen movie or video and exit out. Is there anyway to fix this?

    If not, I noticed my screen saver doesn't get initialize while watching a movie or video in full screen. Is there a way to set task scheduler to trigger when the screensaver occurs? How about trigger when power management turns off my monitor? I tried looking in Event Viewer for these but was unable to find something that matched.
      My Computer


  2. Posts : 2
    Windows 7 64bit
    Thread Starter
       #2

    Well, i found a solution. To answer my own question.

    Short answer: Yes, you can trigger based on screensaver.

    Long answer: You can, but the screen saver event is not logged by default. To enable logging you need to run gpedit.msc (Local Group Policy Editor). Navigate to Computer configuration > Windows Settings > Advanced Audit Policy Configuration > System Audit Policies > Logon/Logoff. Then in "Audit Other Logon/Logoff Event" check the box for Sucess. Doing so will enable Event logging for the screensaver so you can use it with task scheduler to trigger on the eventID 4802 which occurs when the screensaver starts. For more info

    Now my sync utility will run when the screensaver is initialized. I can now watch my movies in peace without being interrupted.
      My Computer


  3. Posts : 6,285
    Windows 10 Pro X64
       #3

    Good info, thanks for posting it.
      My Computer


  4. Posts : 1
    Win 7 Pro x64
       #4

    Computer configuration / Windows Settings / Security Settings / Advanced Audit Policy Configuration / System Audit Policies / Logon/Logoff. (You missed one.)

    I assume the event log is Security Log? Wouldn't the session locked event work as well (assuming the system was set to lock when the screen saver activates)?

    Great post, it opens up some possibilities, thanks!
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 14:37.
Find Us