vExpert Guest Post: Jason Boche

Are you a full time VI Administrator? Managing a large environment with several vCenter Servers? Is providing vSphere Client connection parameters on a regular basis giving you Carpal Tunnel Syndrome? Following are a few tips which may help you out by reducing the amount of data entry you have to perform each time you reach for the vSphere Client

Tip #1: Leverage the “Use Windows session credentials” option wherever possible. This prevents you from having to type in your User name and Password for the connection:

Tip #2: Make use of the IP address / Name pull down box when possible. The values in this box are stored in the registry in the following key (you can pre-populate this key with connection points throughout your infrastructure when deploying the vSphere Client to administrative desktops):
HKEY_CURRENT_USERSoftwareVMwareVMware Infrastructure ClientPreferences
RecentConnections

Tip #3: Alternatively, you can use the -s parameter to pre-populate the IP address / Name field (ie. “C:Program Files (x86)VMwareInfrastructureVirtual Infrastructure ClientLauncherVpxClient.exe” -s myhost):

Tip #4: What if you can’t use integrated Windows session credentials with the vCenter Server you’re connecting to? Launch the vSphere Client with the -u parameter to pre-populate the User name field (ie. “C:Program Files (x86)VMwareInfrastructureVirtual Infrastructure ClientLauncherVpxClient.exe” -u jason):

Tip #5: Here’s an option I’d advise you to use very cautiously – caching the password portion of your credentials. Launch the vSphere Client with the -p parameter to pre-populate the Password field (ie. “C:Program Files (x86)VMwareInfrastructureVirtual Infrastructure ClientLauncherVpxClient.exe” -u jason -p test123):

Greg W Stuart
Greg is the owner and editor of vDestination.com. He's been a VMware vExpert every year since 2011. Greg enjoys spending time with his wife and 3 kids. He works as a Sr. Consultant at VMware and resides in Northern Virginia, 15 minutes west of Washington DC.

3 thoughts on “vSphere Client Caching

  1. Don’t forget about my favorite one: -passthroughAuth

    “C:Program Files (x86)VMwareInfrastructureVirtual Infrastructure ClientLauncherVpxClient.exe” -passthroughAuth -s myhost.domain.local”

    It enhances Tip 1 in that you don’t even have to click Ok for it to start logging you in. I use it on most vCenter servers so that I can just click on the icon and hit enter for it to start loading. It’s either lazy or clever – still trying to decide…

Leave a Reply

Your email address will not be published. Required fields are marked *