Link to home
Start Free TrialLog in
Avatar of Steve Endow
Steve EndowFlag for United States of America

asked on

SQL Server Managment Studio: Change default login

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
ASKER CERTIFIED SOLUTION
Avatar of lcohan
lcohan
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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.
Avatar of Steve Endow

ASKER

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".
Thanks!