Can run script manually, but not with task scheduler

Copper Contributor


I've read quite a few posts regarding this issue and I've tried a whole bunch of tips, but I can't get the task scheduler to run my script. Could anyone please help me out here?

These are the setting I've got at the moment:


(Arguments: -ExecutionPolicy Bypass -File C:\Users\insept\Desktop\TheRealMatrix.ps1 )








2 Replies

Hi @RL 


On task scheduler, what's the last run result code showing?




Heya! I was testing this out locally on my own computer.

But when I moved the script to the server were I wanted to run it the task seems to run just fine.


I can see that I got the result code 4294770688 in the history log on my own computer. Haven't been digging deeper in to what exactly caused it not to run properly since it worked on the server.