Multiple server names in list

DanM 31 Reputation points
2020-10-05T16:30:41.01+00:00

Ever since upgrading to SQL Server 2019 and SSMS 18.6, when I sign in, the dropdown list of server names (in the authentication window) is doubled. I have 2 instances defined. Now I each of them twice for a total of 4 instances in the list. Everything seems to work okay, but it's annoying to have the extras. Why are they there? Can I get rid of the duplicates?

SQL Server Other
0 comments No comments
{count} votes

Accepted answer
  1. Cris Zhan-MSFT 6,661 Reputation points
    2020-10-06T02:55:27.61+00:00

    Hi @DanM ,

    The way mentioned by JeffreyWilliams-3310 is the easiest way for SSMS 18.6 to clear items from this list.Just describe in detail:

    1. Open the Microsoft SQL Server Management Studio (SSMS).
    2. Open the Connect to Server dialog (File->Connect Object Explorer, Object Explorer-> Connect-> Database Engine, etc).
    3. Click on the Server Name field drop down list’s down arrow.
    4. Hover over the items you want to remove.
    5. Press the delete (DEL) key on your keyboard.

    In addition, according to my test, if the windows authentication and SQL Server authentication are both used to log in to the instance, duplicate server names will appear in the server name list in SSMS 18.6 (also 17.9.1), which is a design behavior.


    If the answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.
    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Jeffrey Williams 1,896 Reputation points
    2020-10-05T20:33:45.277+00:00

    You can remove the items using the delete key while hovering over the item in the list.

    1 person found this answer helpful.
    0 comments No comments

  2. DanM 31 Reputation points
    2020-10-06T14:13:25.433+00:00

    That was simple! Thank you both for your help and prompt replies.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.