Windows task scheduler not triggering a task on Windows 10

batch filescheduled-tasksvbscriptwindowswindows 10

I have a task that is supposed to run a script I made, every 10 minutes, but it just doesn't seem to trigger it.

In the task scheduler it says that next run time is in 10 minutes, but when the time comes, nothing happens.

I have multiple triggers just because I was hoping at least one of them might work:

  • One time. At 0.00 – After triggered run every 10 minutes.
  • At log on of any user – After triggered run every 10 minutes.
  • On idle – After triggered run every 10 minutes.

Since "next run time" appears, you would think the triggers are working…
Nothing happens though.

And yes, I am sure the script itself works.
It's a vbscript, which I thought should work with the scheduler, but just in case, I made a batch to run the script and put the batch under the scheduled trigger, but neither way worked.

Any idea what's wrong?

EDIT: I now use a small program called system scheduler. My script is running fine with that and I don't imagine it uses much resources so I can just keep using that.

It would still be useful to figure out what's wrong with the windows task scheduler though, so answers are still appreciated.

Best Answer

Under start a program, you would point to cscript and not to the vbs itself.

C:\Windows\System32\Cscript.exe

Then add arguments:

D:\Dropbox\My programs\ip.vbs

Related Question