Easy fix 0xFFFD0000 in Task Scheduler when running Powershell script

In my Task Scheduler I had error 0xFFFD0000 as a last run result on one of my Powershell scripts:

Scheduled Task error 0xFFFD0000 Powershell in task scheduler last run result

It appeared to be a path error to my ps1 script. I apparently had moved the script to another folder to reorganize some things. :)

To run a Powershell script in Powershell, I basically fill in these fields with the following values:

Run Powershell script in Task Scheduler 0xFFFD0000

Program/script: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
Add Arguments (optional): -File C:\Scripts\myScript\dailyreport.ps1
Start in (optional): <empty>

Any typo may result in a specific error. Here are some examples:

The system cannot find the file specified (800070002)

The field “Program/script” contains an invalid directory

The task is currently running. (041301) hangs

The field “Program/script” contains an invalid executable name extension. For example: powershell.sexe instead of powershell.exe would lead the task to be hanging. In the end, the task will time out after 72 hours.


The field “Add arguments (optional)” contains an invalid argument. For example: -Gile instead of -File could lead to this error.


The field “Add arguments (optional)” contains an invalid file name. For example: you refer to myscript.ps2 instead of myscript.ps1

You may also benefit from an external Microsoft site listing all Success and Error codes:

In addition, I have also experienced other errors according Scheduled Task errors:

4 1 vote
Article Rating
Notify of
1 Comment
Oldest Most Voted
Inline Feedbacks
View all comments

Thanks, helped me a lot

Would love your thoughts, please comment.x