How-To : Running the vSphere 4 Client on Microsoft Windows 7 (RTM/Retail)

Running the VMware vSphere 4 client on a Windows 7 machine just doesn’t seem to work. After the Windows 7 RTM version was released, we could use the vSphere Client to connect to an ESX 3.5 host with no problems. However you still cannot connect to a vSphere 4 host. This lesson describes how to "fix" this issue with a workaround that was presented on the VMware Community Forums (thanks to all on that post!). This is a simple and concise way of implementing the "fix" without having to do a lot of changes to your system (some other blogs have shown the more "difficult" route to accomplish this same thing). What is nice about this method is that it’s easily removable and doesn’t change any system settings permanently.

The Error

media_1256236923217.png

Here I will show the error when connecting our vSphere client to a vSphere 4 server.

media_1256236944803.png

Here is a screenshot of the error. It reads:
Error parsing the server "192.168.70.199" "clients.xml" file. Login will continue, contact your system administrator.
When you click on the "Ok" button, you will get the following error.

media_1256236966000.png

This error reads:
The type initializer for ‘VirtualInfrastructure.Utils.HttpWebRequestProxy’ thew an exception.

The Workaround Fix

We have pre-packaged the files that are needed to "fix" (e.g. workaround) this issue.

Download only ONE of the files below per the version of Windows 7 you are using (e.g either 32bit or 64bit).

http://lewanps.files.wordpress.com/2009/10/viclient4_fix_win7-x32-zip.doc (for 32bit)
http://blog.lewan.com/wp-content/uploads/2009/10/viclient4_fix_win7-x64-zip.doc (for 64bit)

Our blog system won’t allow .zip files so I renamed the files to .doc. Once you download correct file above, RENAME the file to end in a .zip extension and then proceed with the next steps below.

media_1256240056649.png

Once you have renamed the file, right click on the file and select "Extract All".

media_1256240148714.png

Next, extract the files to the location below:
For 32bit, extract to: C:Program FilesVMwareInfrastructure
For 64bit, extract to: C:Program Files (x86)VMwareInfrastructure
In our screenshot, we’re extracting to a 32bit system.
Check the box that says to "Show extracted files when complete".

media_1256240184229.png

You will get a few "Confirm Folder Replace" options. Check the box that says "Do this for all current items" and then click on the "Yes" button to continue.

media_1256240212912.png

Now select the "Do this for the next conflicts" checkmark. Then select the "Copy and Replace" option. We are basically replacing 2 simple configuration files for the vSphere client and for Update Manager. The changes are simple and easy to remove once this issue has been resolved by VMware.

media_1256240246072.png

Next select the checkmark for "Do this for all current items" and then select the "Continue" button. Windows is asking for "admin level" permission to replace the files that we told it to in the previous step.

New Program Links

media_1256240290342.png

After the extraction happens, a box will appear like the one in the screenshot. The two links for the vSphere Client and for the vSphere Update Client are NEW links that will need to be used to launch either program. Feel free to copy these links to your desktop or Start Menu. You MUST use these new links in order for the clients to work.

Connected!

media_1256240816575.png

Launch the vSphere Client using the link described in the previous step. Type in your vSphere Servers’ IP address, your login and password, and viola! you should now connect. Once connected, you can click on the "Inventory" link to see the vSphere server.

media_1256241008122.png

Here is your vSphere server, using the vSphere Client on Windows 7!

This entry was posted in Manuals & How-To's by virtualdennis. Bookmark the permalink.

About virtualdennis

I have over 18 years helping small to large enterprise businesses nationwide with their enterprise storage, backup and recovery, disaster recovery and system virtualization solutions. He holds numerous storage and virtualization certifications and has personally delivered over 300 complex enterprise solution implementations. He has been privileged to speak at various national events on the topics of datacenter virtualization, end-user virtualization, hyper-converged infrastructure and disaster recovery.

4 thoughts on “How-To : Running the vSphere 4 Client on Microsoft Windows 7 (RTM/Retail)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s