Get the vSphere Client Running on Windows 7

I found an article in the VMware forums that had these steps so I decided to document them a little better and blog about it so that I have it.  Until VMware releases the officially supported Windows 7 version of the VI Client, I guess this hack will have to do.

Make sure you have the VI / vSphere Client installed.  The typical installation works just fine.  You can also download the files attached at the end of this post, to make the process a little easier.

When I tried to run the client without following these steps, I got an error, as I’m sure many others have, upon trying to log in to the server.

001

Error reads: Error parsing the server “[server]” “clients.xml” file. Login will continue, contact your system administrator.

After a little research, I came across this solution…

[ad#Google Adsense-1]

To make the VI / vSphere Client work with Windows 7, you need to track down a copy of System.dll from a non Windows 7 machine that has .NET 3.5 SP1 installed (provided in a zip at bottom of the page).  Copy the file located at:
%systemroot%Microsoft.NETFrameworkv2.0.50727System.dll

Next, create a folder on the Windows 7 machine where the vSphere client is installed and copy the System.dll that you retrieved into this folder.  For example:
C:Program Files (x86)VMwareInfrastructureVirtual Infrastructure ClientLauncherhack for the 64-bit version of Win 7, or:
C:Program FilesVMwareInfrastructureVirtual Infrastructure ClientLauncherhack for the 32-bit version.

In the Launcher directory, open the VpxClient.exe.config file in a text editor and add <runtime> and <developmentMode> elements as shown:

<?xml version=”1.0” encoding=”utf-8”>
<configuration>

<runtime>
<developmentMode developerInstallation=”true” />
</runtime>

</configuration>

If you have UAC enabled, make sure you open notepad or your other text editor as an administrator (right-click and ‘Run as Administrator’) or you won’t be able to save your file.

At this point, you should have the “hack” folder which is within the Launcher directory, the copied System.dll in the hack folder, and the edited VpxClient.exe.config file.

Next you need to add an environment variable:  Click Start > Right-Click ‘Computer’ > Click Properties.

002

In the above window, click on ‘Advanced system settings’.  This will open another window.

In the ‘Advanced’ tab, click on ‘Environment Variables…’ toward the bottom of the window.

003

Click ‘New…’ to add an environment variable called ‘devpath’ and a path to the folder where you stored the System.dll file.  In my case, the path was:

C:Program Files (x86)VMwareInfrastructureVirtual Infrastructure ClientLauncherhack

004

005

Close the windows.  You should now be able to run the VpxClient (VI / vSphere Client) from the desktop or the Start menu.

All credit for this solution goes to Fernando Tubio on this thread: http://communities.vmware.com/thread/211440.  He may not have originated the solution, but he provided it on that thread and that’s where I got it. 😉

006

For convenience, I’m including a copy of the System.dll and my VpxClient.exe.config file in this zip.  http://d3planet.com/rtfb/files/2009/10/VpxClient-Files-For-Win-7.zip

Note: In the thread, the solution provider discussed creating a .bat or .cmd file.  I could not get that method to work, so I used the environmental variables solution.

Good luck and hope this helps someone out.

Advertisements

2 thoughts on “Get the vSphere Client Running on Windows 7”

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 )

Google+ photo

You are commenting using your Google+ 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 )

w

Connecting to %s