Sorry Jens, I'm using your UDF "SCHEDULETASK" to schedule the task. It works fine when I run it locally, but when I specify a remote machine name I get the error.