I have been trying to use the UDF posted by Sealeopard at the following:

SCHEDULETASK()

I am continually getting this error.

code:
[TRACE] Setting target computer to '\\navacbzw1'
[FAIL ] ITaskScheduler::SetTargetComputer hr=0x80070005

Does anyone know what this error refers to, why it is failing?

Thanks,
Shawn