I wasted a bit of time on this issue today, so I thought I’d add it to my blog.
I just wanted to schedule a task in Windows 7 Task Scheduler to run every hour forever. I already had this working on an old XP box so thought porting to a new Windows 7 box would be easy. I copied and pasted all of the options and then clicked run. The task failed and in the ‘Last Run Result’ column in the task list on the ‘Task Scheduler Library’ page I got the error code 0x8007010B.
It turns out that this is caused by enclosing the ‘Start in’ path in quotes! This is surprising as you are required to surround the ‘Program/script’ path in quotes if you have spaces in the path.
Anyway, I removed the quotes and it ran OK.