Running VmWare vSphere client on Windows

When attempting to run the vmware vsphere client the following errors are received and is unable to login or proceed any further:

“Error parsing the server “<server name” “clients.xml” file.”

“The type initializer for ‘VirtualInfrastructure.Utils.HttpWebRequestProxy’ threw an exception.”

Follow the following easy steps and you will be ready to go.

Download this DLL called system.dll

Once downloaded install it in the “C:\Program Files\VMware\Infrastructure\Virtual Infrastructure Client\Launcher\Lib” directory. If the ‘lib’ directory doesn’t exist then create it and drop the dll file into it.

Next edit the “VpxClient.exe.config” file which can be found in the “C:\Program Files\VMware\Infrastructure\Virtual Infrastructure Client\Launcher” directory and add the following three lines to it before the last line. Then save the changes.

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

The file after the changes will look like below:

<?xml version=”1.0″ encoding=”utf-8″?>
<configuration>
<system.net>
<connectionManagement>
<clear/>
<add address=”*” maxconnection=”8″ />
</connectionManagement>
</system.net>
<appSettings>
<add key = “protocolports” value = “https:443″/>
</appSettings>
<runtime>
<developmentMode developerInstallation=”true”/>
</runtime>
</configuration>

From the Windows ‘System Properties’ click the ‘Advanced’ tab and then the ‘Environment Variables’ button as we want to add a new ‘System’ variable.

Create a new ‘System’ variable called ‘DEVPATH’ and assign the following variable value, or as a User variable if you are running the vsphere client as an user.

C:\Program Files (x86)\VMware\Infrastructure\Virtual Infrastructure Client\Launcher\Lib

You are now ready to start using the VMware vSphere Client on your Windows machine.

Enable Ping Replies from your Windows 2008 Server

via the local Command Prompt

On your Server Core machine, at a command prompt, type the following:

netsh firewall set icmpsetting 8

This will allow you to ping the Server Core server from a remote machine, and receive a reply.

You can always run the following command in order to disable this option:

netsh firewall set icmpsetting 8 disable