SQL Server Managment Studio: Change default login

Steve Endow
Steve Endow used Ask the Experts™
on
Occasionally I have to test different logins with SQL Server on my development machine, so I'll use the test login on Management Studio.

After I do this, Management Studio remembers the test account and keeps it the default.  So now, every time I launch Management Studio again, I have to change the login back to 'sa'.

See attached screen shot.

Even after I delete the testuser login, it still shows as the default Login, so it's obviously being cached somewhere.

I've searched the registry for my "testuser" account, but it doesn't seem to be saved in the registry.  I've checked a few places to see if it is stored in a config file, but I couldn't find anything with a brief search.

Anyone know how to get rid of my 'testuser' account in the Login list or at least make it so that it is NOT the default login?

It isn't the end of the world, but it's really, really annoying.
SQLLogin.jpg
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Database Analyst
Commented:
lcohanDatabase Analyst

Commented:
One comment (and sorry I hit submit too soon...) the above will clear the entire list cached for all SQL servers/logins so you can type in the servername/login and check box to remember password if you like.

Author

Commented:
Awesome, thanks, that did the trick!

My google-fu was weak--I was searching for "default login", but that didn't get any results.  Would never have thought to use "remembered login".

Author

Commented:
Thanks!

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial