I work at a company that forces me to change my login password on my computer every so many days. The problem is that I have a number of scheduled tasks tied to my user account. After I change my login password, the tasks don't run until I change the password for those tasks. A lot of these are for backing up data.
currently, I have a batch file that has a bunch of tasks..
schtasks /change /tn "backup this" /rp password
schtasks /change /tn "do this" /rp password
there's a bunch of those, and i just have to quick replace the password after the /rp.
What I"m looking for, is a script or batch file or something that would ask me to input my password, and it would change the password field in the schtasks.
does anyone know a script for this?
I also need to add that editing the registry to allow blank passwords would get me in trouble. so no limitblankpassworduse or anything like that....
Edited by jeebstheman, 21 February 2007 - 01:34 PM.