When you create a Scheduled Task in Windows, it gives you the option of running the task as a different user, including saving the password.

How secure is the password that is stored?

  • To my reckoning, it must either store the password as plain text (probably not that likely), or reversibly-encrypted (which really reduces to security-by-obfuscation), but perhaps I have missed something.
    – Hutch
    Apr 10, 2014 at 19:24

1 Answer 1


I have not verified that, but the obvious way on windows would be to use CryptProtectData with CRYPTPROTECT_LOCAL_MACHINE.

At least that is the way passwords are stored in SQL Server Management Studio... reversable... ;-)

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .