Q. I'm trying to run the WMware vSphere Client on Windows 7, but I get an error parsing the clients.xml file and login fails. What's wrong?

John Savill

June 23, 2009

2 Min Read
ITPro Today logo in a gray background | ITPro Today

A. I hit this problem, which is caused by the fact that the VMware client isn't supported under Windows 7 today. One solution is to install the VMware client in a virtual machine running Vista/XP, which works great. You can even use the Windows 7 XP compatibility mode.

As an alternative, there is a hack to make it work directly on Windows 7:

  1. Copy the file system.dll from the %systemroot%WindowsMicrosoft.NETFrameworkv2.0.50727 folder of a Windows Vista/XP installation which has .NET 3.5 SP1 installed to a temporary area

  2. On your Windows 7 client, move to the C:Program Files (x86)VMwareInfrastructureVirtual Infrastructure ClientLauncher folder if you're running 64-bit or C:Program FilesVMwareInfrastructureVirtual Infrastructure ClientLauncher if running 32-bit

  3. Create a new sub folder name LibVista or LibXP and copy in the system.dll file

  4. Now open the VpxClient.exe.config file in the Launcher folder in a text editor. Add the section below to the file (don't duplicate the part)

            
  5. Create a file, vpxclientwin7.cmd, in the Launcher folder with the following content. Note I'm running 64-bit. If you are 32-bit replace ProgramFiles(x86) with ProgramFiles.

    SET DEVPATH=%ProgramFiles(x86)%VMwareInfrastructureVirtual Infrastructure ClientLauncherLibVista"%ProgramFiles(x86)%VMwareInfrastructureVirtualInfrastructure ClientLauncherVpxClient.exe"
  6. You can now start the Vpx client by running this file

I can now run under Windows 7, as shown here. Note that this is a workaround and shouldn't be considered a long-term solution. A Windows 7 supported client will be made available closer to Windows 7's release.

Click to expand.

Related Reading


Videos:


Audio:



Check out hundreds more useful Q&As like this in John Savill's FAQ for Windows. Also, watch instructional videos made by John at ITTV.net.

About the Author

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like