Removing the remembered login and password list in SQL Server Management Studio
Removing the remembered login and password list in SQL Server Management Studio
This works for SQL Server Management Studio v18.0
The file "SqlStudio.bin" doesn't seem to exist any longer. Instead my settings are all stored in this file:
C:\Users\*********\AppData\Roaming\Microsoft\SQL Server Management Studio\18.0\UserSettings.xml
- Open it in any Texteditor like Notepad++
- ctrl+f for the username to be removed
- then delete the entire
<Element>.......</Element>
block that surrounds it.
<ConnectionOptions>
<LastServerType>8c91a03d-f9b4-46c0-a305-b5dcc79ff907</LastServerType>
<LastAuthenticationMethod>1</LastAuthenticationMethod>
<ServerTypes>
<Element>
<Key>
<guid>8c91a03d-f9b4-46c0-a305-b5dcc79ff907</guid>
</Key>
<Value>
<ServerTypeItem>
<Servers>
下面这个可用
EDIT: An even easier and working solution for v18.0 (Preview 7) would be:
-
Go to the "Connect to Server" dialogue window:
-
Click the down-arrow icon marked green in the screenshot.
-
Use the arrow-keys on the keyboard to navigate up/down
-
Press the DEL key on keyboard to delete the entry.
-
Close the dialogue window and when you reopen it the entry will indeed be removed.
作者:Chuck Lu GitHub |
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 全程不用写代码,我用AI程序员写了一个飞机大战
· DeepSeek 开源周回顾「GitHub 热点速览」
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· 记一次.NET内存居高不下排查解决与启示
· 白话解读 Dapr 1.15:你的「微服务管家」又秀新绝活了