Forum Discussion

justletmelogin50's avatar
justletmelogin50
Brass Contributor
Feb 09, 2025

Task Scheduler error 0x80070002

Hi all,

 

Windows 11 Pro 24H2

I want to run a scheduled task to start the screensaver to show a black screen.  The task is running as the local user only when logged on.

I set it up with the Action "%systemroot%\System32\scrnsave.scr /s"

When the task runs, it doesn't work and has the error 0x80070002 with Error Value: 2147942402.

Looking online this error suggests File not found.

If I copy and paste this command directly into a Run box it works fine though.  I tried using the full path c:\windows\system32\scrnsave.scr but get the same error.

 

Does anyone know why I am getting this error?

 

thanks

Justin

1 Reply

  • TheweBar's avatar
    TheweBar
    Brass Contributor

    Run schtasks /query /tn \task name as an administrator to check the path, or rebuild the task to resolve the issue.