How to clear or edit VMware vSphere Client's connection history cluttered with old server names and IPs
I recently figured out an easy way to clear out that sometimes long VMware vSphere Client history, as I was cleaning up my home lab and starting fresh.
I believe you'll find this simple technique quite handy as well, especially if you're a busy and meticulous VMware sysadmin wishing your list would show just the servers you still care about. I realize the vSphere Client is going away soon, but I suspect people will still be using it to administer their 6.0-and-earlier ESXi hosts for years to come.
The cool thing about this tweak is that you can edit what's in that list, or even rearrange the order, just by editing the comma-delimited registry key.
Editing your Windows registry may have unintended consequences, export the key and/or backup your system first. You'll also need to have admin rights.
- type Win+R to launch the Run dialogue
- type regedit, press enter
- select Yes when prompted for confirmation
- type Ctrl+F and type in RecentConnections, press OK and wait...it will bring you to this spot in the registry:
\Computer\HKEY_CURRENT_USER\SOFTWARE\VMware\VMware Infrastructure Client\Preferences
- double-click on RecentConnections
- in the Value data field, prune, re-order, or even delete all the comma-delimited entries, then click OK
- launch VMware vSphere Client
- list is blank, you can go back to loving life again
Pro tip - This list of plain text can easily be created from other sources, such as a spreadsheet or RVTools export.
This method yields the same exact results, using mostly mouse moves to get the job done in about a minute. Enjoy!
Same video on YouTube, in 720p, also with no audio.
See also at TinkerTry
Download URLs for VMware vSphere Client (2089791):
includes this direct link to latest (and likely last) release, VMware vSphere Client 6.0 Update 2.
- Use Chrome for VMware-related taskbar shortcuts, unclutter your browser-based UIs so they look like native apps!