PowerShell Scheduled task fails with error code: 0xFFFD0000 and 4294770688 if Run Hourly Every Day

-2

On a Windows Server 2012 R2 Build 9600, I have a Scheduled Task that runs successfully on demand.

I need it to run every hour every day.

if I change it to "Run Hourly, Every Day", it fails with error codes: 0xFFFD0000 and 4294770688, which stands for "The field “Add arguments (optional)” contains an invalid file name".

This is a bit odd, because everything is ok on that field and this only happens with that schedule combination.

As example, If I schedule it to run once a day at some time, it runs ok.

Best Regards to All

scheduled-tasks
asked on Stack Overflow Feb 18, 2021 by rui • edited Feb 18, 2021 by rui

1 Answer

0

I got it to work.

I had to set it up to "Run Once, Every Hour, Indefinitely"

Like: Run "One time, Start at 0h00, Repeat Task Every 1 hour, Indefinitely"

Also do not use the trigger option Stop Task if it runs longer than because it will throw back the 0xFFFD0000 error. Use it on the Settings instead.

answered on Stack Overflow Feb 18, 2021 by rui • edited Feb 20, 2021 by rui

User contributions licensed under CC BY-SA 3.0