
Setting Username and Passwords for a scheduled task in MS Task Scheduler
We have created a task in task scheduler, however when we copy it to another
machine, it assumes the user name for that machine. The user ID and Password
that the task was using gets dumped. I believe this means that the registry
is saving these settings, however we have been looking long and hard and
can't find it. I also tried looking in dozens of libraries dll's, ocx,
active X etc and have come up with squat.
I was wondering anyone has ever done anything like setting the user name a
password to a scheduled task programatically? If so, can you share with me
how, or at least where to look it up. We need it in VB script, WSH.
Thanks in Advance
Gordon Cashmore