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... ;-)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.