Removing the remembered login and password list in SQL Server Management Studio

前端 未结 10 3142
一生所求
一生所求 2020-11-30 17:18

I\'ve recently used our company\'s spare laptop (that has a general user set up) while mine was being repaired. I\'ve checked the \"Remember password\" option in SQL Server

10条回答
  •  误落风尘
    2020-11-30 17:58

    As gluecks pointed out, no more SqlStudio.bin in Microsoft SQL Server Management Studio 18. I also found this UserSettings.xml in C:\Users\userName\AppData\Roaming\Microsoft\SQL Server Management Studio\18.0. But removing the containing the credential seems not working, it comes right back on the xml file, if I close and re-open it again.

    Turns out, you need to close the SQL Server Management Studio first, then edit the UserSettings.xml file in your favorite editor, e.g. Visual Studio Code. I guess it's cached somewhere in SSMS besides this xml file?! And it's not on Control Panel\All Control Panel Items\Credential Manager\Windows Credentials.

提交回复
热议问题