Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Task scheduler: trigger on screensaver event possible?

13 Jul 2012   #1

Windows 7 64bit
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 System SpecsSystem Spec
13 Jul 2012   #2

Windows 7 64bit

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 System SpecsSystem Spec
13 Jul 2012   #3

Windows 10 Pro X64

Good info, thanks for posting it.
My System SpecsSystem Spec

10 May 2018   #4

Win 7 Pro x64

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 System SpecsSystem Spec

 Task scheduler: trigger on screensaver event possible?

Thread Tools

Similar help and support threads
Thread Forum
need task schedule with event data, not just ID for trigger
I need to differentiate two tasks that use the same event ID but data is different. Any suggestions? Thanks, Ray
Task Scheduler recognizes only first trigger
Hi, the problem is if I create a new task for the task scheduler which is having multiple triggers, only the first entered trigger is recogized and used. E.g., I have two weekly triggers to execute a program. The first selects Mon, Tue, Wed, Thu, and Fri to run the program. The second...
Performance & Maintenance
How to trigger 'task scheduler' on new wifi connection?
Hey everyone, Searched everywhere, and really striking out on how to do this (if it's even possible). I'd like to use Task Scheduler (or some other program) to automatically perform a task when my Android phone connects to my home wifi network (my PC is plugged into this router). Is there a...
Network & Sharing
Help with using idle trigger in Win Task Scheduler
OK I know i've bombarded the forums lately with a couple threads all somewhat related. Point of this thread -- how to correctly set the idle trigger in windows task scheduler. There is a MSFT article Task Idle Conditions (Windows) which tries to explain it, but I can't figure it out. I...
Performance & Maintenance
Task Scheduler Trigger @ Program shutdown
Hello, I would like a particular Task to run each time the Firefox application is closed, or, perhaps easier, each time my computer shutdowns. But I have no idea how to set up such Trigger. Have any of you an idea on how I should proceed? Thanks for the help.
Performance & Maintenance

Our Sites

Site Links

About Us

Find 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 04:57.
Twitter Facebook