How to Disable Remember Password Checkbox in SSMS

sql-server-2008-r2ssms

Some time we are providing same laptop for 4-5 employees in our office for some testing purpose (since a costly licensed tool is exist in that laptop only), also asked them to do not click the Remember password checkbox in SSMS to store the credentials.

But few of them accidentally click that checkbox, so each time we need to clear the SqlStudio.bin to solve the problem. Instead of that it is nice to disable the Remember password option in the SSMS in that particular laptop.

Is it possible to disable the remember password checkbox in SSMS?

The expecting behavior is as below:

Always disable the Remember password check box

Best Answer

No, this is not possible, unless you reverse engineer SSMS and either hide the checkbox or make it a no-op, then recompile and deploy. And repeat every time you upgrade, apply a service pack, etc. (To be clear: this is not what I recommend.)

I have a better solution, though:

Why don't your 4-5 employees use different profiles? This takes a tiny bit more disk space, sure, but each profile gets its own SqlStudio.bin - then you could use Windows Authentication, too, which means they don't have to type their password or check a box, and it simplifies auditing, too, in case this isn't the most egregious thing they do.