D Barry said:
Can't believe that I cant find this info after all my searching, but
just where and how does the win2K and XP Task Schedulers store the
RunAs credentials (password).
Can some one point my to MS documentation. Basically, I'd like to
know how securely those credentials are stored.
Thanks
d.
Unless you work for them, its not documented!
This kind of thing is easy to delimit by running monitor
software in the background.
My guess is that the Pwd is encrypted somewhere in the usual
profile like
C:\Docume~1\<user>\Application Data\Microsoft\Protect\<sid>
Try running FileMon.exe from
www.sysinternals.com while you
reset the credentials of a task/job in the Mstask GUI.
P.S.
I tried for 20 minutes. Here's a few solid facts that I
noted:
1) when the Pwd is changed, its not stored in the
WinNT/tasks/*.JOB
2) the OS makes no attempt to use the Pwd until
the JOB is run, when it does a login. If the Pwd
and User don't match, then the JOB fails and the
error is written to the Mstask LOG file.
3) When you open the Mstask Property Page to change
the Pwd, this key pair is read:
C:\Docume~1\All Users\Application Data\Microsoft\Crypto\RSA\S-1-5-18
That container is defined early in the life of the OS when
the Mstask GUI is first used.
4) there were some writes into this file
C:\WINNT\security\Database\secedit.sdb
hth,
msp