Scheduled Tasks job loses password when coping to another computer
Posted on 2006-07-14
I have a job from "Scheduled Tasks" that I want to copy to other computers on our network. Even thought the username/password are the same, I still need to put the password in again after copying the task to a new computer.
In other words, after you take the job file from "C:\WINDOWS\Tasks" and copy it to another computer, it fails to run unless you re-enter the password. I would like to be able to copy the file to other computers on the network and have it work without having to open up the task scheduler, double click on the task, click set password, etc. I'm not sure if there is a place in the registry where the password is kept. If so, I could just import a reg file. Maybe it's more complicated and I need to make a VB program that uses an API to insert the password.
Does anyone have any information on how to put in the password without going into "Scheduled Tasks". Thanks in advance!