>>Apparently SchTasks can schedule jobs on a remote computer:
http://en.wikipedia.org/wiki/Schtasks#Usage>>
>>For that syntax, it looks like you need to provide credentials (user name/password) for an account that is a local admin on that computer.
>>
>>For testing purposes, if you are running on a domain, you could try the domain admin user name/password.
>
>The fact is that this is running from the Web. And, from the Web, the account is under the application pool. That account does not have any right on the other server. And, this is not running under a domain. So, I cannot put a domain's account in the application pool.
I don't know about IIS or its application pool, but I suspect MS purposely makes what you're trying to do hard or impossible, as it would be a potentially very serious security hole.
Can you call a separate EXE from your application pool, using RUNAS to get elevated privileges? It sounds like to run SchTasks with an RPC call requires local admin privileges as well as privileges on the remote computer.
Regards. Al
"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov
Neither a despot, nor a doormat, be
Every app wants to be a database app when it grows up