Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

If, when connecting to a database with sql server management studio and you select "remember password"... where and how is it saved?

I presume it is somehow encrypted using your windows login password?

share|improve this question
What version of windows, what version of SQL Studio? –  JNK Sep 15 '10 at 14:23
Hi JNK, It's XP SP3 and SSMS 2005 –  Alex Key Nov 23 '10 at 14:27

1 Answer 1

up vote 1 down vote accepted

It probably uses a technology called DPAPI. There's some info about it at http://msdn.microsoft.com/en-us/library/ms995355.aspx. Basically encryption is based on the login password but they keys can also be backed up. In a domain environment, automatic backup is probably enabled - relying on a very secure & trusted domain controller.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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