page contents

About the Post

Author Information

HOW TO: Clear Old Server Entries in SQL Server Management Studio or Hyper-V Manager

In this article, I will show you how to remove old server entries from some common tools, like SQL Server Management Studio or Hyper-V Manager. As you may have encountered in your career, systems go through a lifecycle and name changes are pretty common, but sometimes our tools continue to cache those old login names, which over time can be hard to keep up with in your daily tasks. It will be hard to remember which server names are active and which ones have been either retired or renamed, that have stopped working. (Especially in today’s environment where we can deploy thousands of servers in a day or maybe in an hour) As an IT professional, it is getting harder to keep up with all of the new tools and technology that we are being introduced/relied upon to perform our roles. Hopefully today is one of those times, you read an article like this one and it makes your day easier.

So, how do you clear those old server names from the entries from these tools that we rely on so heavily? Well, the good news is it is possible and the better news is that it is very easy to do! So, let’s take a look into how we can fix both tools to reflect only

SQL Server Management Studio (SSMS)

SQL Server Management Studio (SSMS) as you use this tool, it will keep a list of server names that you have previously connected and will prompt you with a drop-down list of these connections (as seen below):

All you need to do is to open this “Connect to Server” dialog, then arrow down to the ones that you want to remove by highlighting the name, and hit Delete.

Now, you see that this server name has been removed:

See I told you it was an easy step to perform to clean up the server name list!

Hyper-V Manager

  1. Close the Hyper-V Manager.
  2. Proceed to “%AppData%\Microsoft\Windows\Hyper-V\Client\1.0\” folder.
  3. Rename the %.VMBrowser.Config filename to backup name like VMBrowser.Config_bak

  4. Re-open Hyper-V Manager and it will generate a new %.VMBrowser.Config file
  5. Now, you will no longer see the Ghosted Server Name Entries!
  6. Note: If you do not trust that method, you could also manually add the names by editing that file: %.VMBrowser.Config as seen below:

Tags: , , , , , ,

No comments yet.

Leave a Reply

Copy Protected by Chetan's WP-Copyprotect.