Running VMware vSphere Client on Windows 7

VMWare

Many of you, like myself, have started running Windows 7 as their primary desktop OS and find it to be a massive improvement over Windows Vista on so many levels.

One of the very few inconveniences I have found with it, and this is not an bug or problem with Windows 7 itself, is the inability to run the VMware vSphere Client.

UPDATE: Good News – This issue has now been resolved in VMware ESX/ESXi 4.0 Update 1 (U1).

When attempting to run the client the following errors are received and you are unable to proceed any further:

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

 

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

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

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

 

Luckily there have been a few good VMware forum posts such as this one by ftubio which outlines how to successfully run the vSphere Client under Windows 7.  I thought I’d put together this brief post with a few screenshots to outline the required steps.

I am running the x64 version of Windows 7 so you will notice that any reference to the ‘Program Files’ will have an ‘(x86)’ at the end of it.  If you are running the x86 version of Windows 7 then ignore the ‘(x86)’ portion of the directory path (ie: C:\Program Files (x86) –> C:\Program Files).

Follow these 4 basic steps and you’ll be up and running in no time!

Step 1.

imageDownload this DLL called system.dll

*Note:  This DLL is usually found in the  %SystemRoot%\Microsoft.NET\Framework\v2.0.50727\  directory of a non Windows 7 PC with  .NET v3.5 SP1 installed.

 

Step 2.

Once downloaded install it in the “C:\Program Files (x86)\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.

VMware vSphere Client Windows 7

Step 3.

Next edit the “VpxClient.exe.config” file which can be found in the “C:\Program Files (x86)\VMware\Infrastructure\Virtual Infrastructure Client\Launcher” directory and add the following three lines to it in the location specified in the screenshot below.  Then save the changes.

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

VMware vSphere Client Windows 7

 

Step 4. 

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

VMware vSphere Client Windows 7

 

Create a new ‘System’ variable called ‘DEVPATH’ and assign the following variable value:

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

 

VMware vSphere Client Windows 7

 

You are now ready to start using the VMware vSphere Client on your Windows 7 machine!  Some people have reported having to run the client as an ‘Administrator’ so if you are having difficulties it may pay to try this – I luckily didn’t experience this problem. Also you will likely have to reboot your machine (or restart the explorer.exe process) for your new path information to come into effect.

 

VMware vSphere Client Windows 7

 

Technorati Tags: ,,,

Related posts:

  1. Link – Running MS Exchange on VMware vSphere over Fibre Channel, iSCSI or NFS The VMware performance team have released a white paper...
  2. How to create a bootable VMware ESXi 3.5 & 4.0 (vSphere) USB pen drive. There are a couple of methods to create a...
  3. Installing and Running VMware vSphere (ESX 4.0) on your lab HP Proliant ML110 or ML115. With the release of VMware’s vSphere and ESX 4.0...
  4. vWire – New Virtualization Infrastructure Management Product for use with VMware VI or vSphere. Tripwire the data center compliance and infrastructure management software...
  5. Disk Based De-duplicated Backup for your Test Lab with Windows Home Server Here’s another great article from TechHead guest contributor, James...

You can leave a response, or trackback from your own site.

121 Responses to “Running VMware vSphere Client on Windows 7”

  1. Vladan says:

    Since Windows 7 is still in RC Checked Build (checked today on our MSDN subscribtions portal), I’m waiting for the RTM to test this. Since then, VMware might release an update to fix this… I hope… -:).

    Thanks

    [Reply]

  2. ccostan says:

    Great Write-up. The Screenshots make the post very easy to follow and understand.

    Thanks.
    CARLO.

    [Reply]

  3. [...] To – http://www.techhead.co.uk/running-vmware-vsphere-client-on-windows-7 VMware, Windows 7 /* */ Comments (0) Trackbacks (0) Leave a comment [...]

  4. Panu says:

    The instruction was exactly correct, but the System.dll file offered for download at this site was wrong version at least for my system. After failing with the downloaded file (size 2 385 345) I copied the System.dll from a working system (size 3 149 824 bytes) and my system started working.

    [Reply]

    Kiwi Si Reply:

    Hi Panu,

    Thanks for letting me know. Is there any chance you could email me your version of the System.dll and I will add that to the article as an alternative?

    Thanks, :)

    Simon

    [Reply]

  5. jjb says:

    the System.dll did not work for me either.
    vSphere just crashed upon loading.

    This link has a version of the file that did work for me:
    http://www.virtuallifestyle.nl/2009/05/vmware-vsphere-client-on-microsoft-windows-7/

    [Reply]

    Kiwi Si Reply:

    Thanks for letting me know – I have now swapped out the system.dll I had for downloaded for the working one. :)

    Cheers,

    Simon

    [Reply]

  6. [...] This post was Twitted by GreggRobertson5 [...]

  7. [...] This post was Twitted by wbinford [...]

  8. [...] Die Lösung dafür findet man aber zum Glück hier. [...]

  9. damtux says:

    Thanks a lot for your tips guys ! That Helps a lot !!

    [Reply]

  10. al says:

    Worked great on 7 Enterprise 64bit RTM. Thanks!

    [Reply]

  11. Derek says:

    Worked great value article. Keep up the good work.

    [Reply]

  12. Joe says:

    Everytime I try this, I get “Configuration System Failed to initialize” Any ideas? I’m running it as administrator and followed all the above directions.

    [Reply]

    Kiwi Si Reply:

    Hi Joe,

    It sounds like you may not have the correct path to the DLL added to Windows 7 PC’s Environment Variables. Also bear in mind this path varies depending on whether you have an x64 or x96 copy of Windows 7 install. Did you download and use the DLL from my site?

    Hope this helps,

    Simon

    [Reply]

    ozaz1326 Reply:

    hi Kiwi Si,
    l tried same things and details but just showing
    entrance window
    after enter username and password
    its displaying same issue

    do you have anything else…?

    [Reply]

    Kiwi Si Reply:

    Hi Ozaz,

    Are you getting any other error messages or is it just showing a blank type of window?

    Cheers,

    Si

    Ozaz Reply:

    no, same errors

  13. dtsirlis says:

    Awesome, thank you so much!

    [Reply]

  14. aslezak says:

    I wrote the following post that fixes this problem… at least it worked for me… hope it helps!

    http://aslezak.com/getting-vmware-vsphere-working-on-windows-7-r

    Andy

    [Reply]

    aslezak Reply:

    ugh – that was in reply to Joe regarding the “Configuration System Failed to initialize” error.

    [Reply]

    Joe Reply:

    Thanks aslezak, this got me up and running :)

    -Joe

    [Reply]

  15. [...] When i recently set up my ESX box I had an error when i tried to launch the vSphere Client. Luckily there is a workaround for this problem for which the instructions are located here: http://www.techhead.co.uk/running-vmware-vsphere-client-on-windows-7 [...]

  16. gogua says:

    Hello!

    I’m still getting the error after applying this solution. I’m running Windows 7 RTM Ultimate 32bit

    Some one could help me.

    Thanks for this post….

    [Reply]

  17. Andersen says:

    I tried aslezak’s fix for “Configuration System Failed to initialize” error, no luck.

    I checked, re-checked the Lib folder, still no luck. =*(

    Win7 RTM 32-bit

    [Reply]

    aslezak Reply:

    Are you running the program as administrator via properties > compatibility? I also set compatibility mode to vista sp2 on my machine. I realize I didn’t add that step to my blog post. If that fixes it, I’ll add it… please let me know either way…

    Also, what do you me you re-checked the lib folder? Can you elaborate?

    [Reply]

  18. gogua says:

    Hello!

    i’ve installed Windows XP mode virtualpc machine from microsoft, and install vsphere at Windowsxp, then close XP, close virtual machine, and run vsphere from windows 7 Menu without anyproblem.

    See this link: http://www.microsoft.com/windows/virtual-pc/download.aspx

    Regards

    [Reply]

  19. adrihenper says:

    Hi,

    Thanks for this tip, here its work now!!!!!

    Kind regards,

    [Reply]

  20. Qwerk says:

    just what I was looking for

    thanks it works

    [Reply]

  21. shope928 says:

    Perfect. Thanks for the great tip.

    [Reply]

  22. jj says:

    Nice work. Fixed…

    [Reply]

  23. dc says:

    Works great on Windows 7 Enterprise. Should let VMWare know so they don’t look so stupid just saying yeah we know it doesn’t work…so what…do they really hate Microsoft that much?

    [Reply]

  24. Brukus says:

    Nice work
    thanks

    [Reply]

  25. GIGG says:

    Muchas gracias. Excelente trabajo.

    Thanks for this tip, here its work now!!!!!

    [Reply]

  26. [...] solution est proposée par le site Techhead http://www.techhead.co.uk/running-vmware-vsphere-client-on-windows-7 en attendant que le client soit compatible avec [...]

  27. Mike_D says:

    It also works if you set a user environment variable, rather than a system wide one, which is probably more sensible.

    [Reply]

    Kiwi Si Reply:

    Hi Mike,

    Good point – though I guess it depends if the PC you do this on is used by multiple users. If just one user then using the ‘user’ environment variable makes more sense.

    Cheers,

    Si

    [Reply]

  28. praj says:

    Note that the configuration file should actually have the runtime section first within the configuration section in this order (sorry about the format — commenting limitations):

    configuration
    runtime
    developmentMode
    runtime
    system.net
    appSettings
    configuration

    [Reply]

  29. praj says:

    If you don’t have the configuration file in the format I mentioned above you will get a “please enter a valid server name” message.

    [Reply]

  30. Ed says:

    The not being able to run the vsphere client as administrator thing seems to be a permissions issue. I assigned the owner of the lib folder to the SYSTEM user and had it propagate down to the system.dll file, and that seemed to fix the problem for me.

    [Reply]

  31. Ed says:

    Err… I mean, not being able to run vsphere without being an admin. Sorry..

    [Reply]

  32. CG0501 says:

    Perfect, once I’d learned how to use my keyboard properly! :) Remeber to log in as an administrator before doing this.

    Great post, thanks.

    [Reply]

  33. JanJ says:

    It worked for me.
    on Win7 enterprise x64 (official version MS MVL site )
    thanks

    [Reply]

  34. non says:

    As noted above in the blog post… you really need system.dll from a NON win7 machine. Just spent an hour with system.dlls from win7’s windows\microsoft.net folders.

    [Reply]

  35. [...] ran into a great blog posting here:  http://www.techhead.co.uk/running-vmware-vsphere-client-on-windows-7 on how to enable the VMware vsphere infrastructure client to run on a Windows 7 pc. Share and [...]

  36. dweisseg says:

    I also had delete the vSphere client shortcut off the desktonp, and then re add it from “C:\Program Files (x86)\VMware\Infrastructure\Virtual Infrastructure Client\Launcher”. Then it worked

    [Reply]

  37. Brandt says:

    Awesome work. I love it when someone explains it correctly and well!!.

    Thanks

    [Reply]

  38. Rune says:

    Ok. That does it. x64 Windows has been around for ages. BASIC VMware software doesn’t support iy. (!?).

    What a clown company.

    [Reply]

  39. [...] want to wait until VMware fixes the issue either. So I did a trusty google search and found this article for the vSphere Client, and this article for the Host Update Utility. Both worked as [...]

  40. Mark Tarquini says:

    worked great for me as well, many thanks!

    [Reply]

  41. Luis Enrique says:

    Thanks for this solution It was good for me, on Windows 7 Ultimate 64bits

    [Reply]

  42. [...] vSphere client on Windows 7 2009 October 28 by William Moore I have been struggling with this one since I started running the Windows 7 RC.  Now that Windows 7 has officially been released there is this workaround that worked for http://www.techhead.co.uk/running-vmware-vsphere-client-on-windows-7 [...]

  43. raj says:

    Thanks it worked for me. using win 7 32 bit. just correct the path for 32bit.

    [Reply]

  44. This worked a treat. Many thanks.

    [Reply]

  45. The Dog says:

    Worked perfectly, thanks so much!

    [Reply]

  46. great work,
    easy procedure with nice screenshots
    simple to change the configuration, and it works !!!

    thanks

    [Reply]

  47. kdao2000 says:

    The instructuion is easy to follow and works for me on x32 Windows 7 pro.

    [Reply]

  48. JADU says:

    Great post. Thanks a lot.

    [Reply]

  49. [...] Kiwi Si at Techhead has found a better workaround but still while this gets things working there should be a better option. We all pay a lot of money for VMWare and as such should deserve better treatment. Categories: VMWare, Windows Tags: ESXi, Problem, vSphere, Windows 7 Comments (0) Trackbacks (0) Leave a comment Trackback [...]

  50. [...] cependant trouvé une astuce à cette adresse qui permet de le faire tourner sur 7 [...]

  51. Davide says:

    Thank you! Thank you! Thank you! Thank you! Thank you! Thank you! Thank you! Thank you! Thank you! Thank you! Thank you! Thank you! Thank you! Thank you! Thank you! Thank you! Thank you!

    Now it works!

    [Reply]

  52. angry vmuser says:

    @vmware.com
    shame on you. still no working vsphere client out of the box. tssss. zzzzzz

    [Reply]

  53. Imajica says:

    Thankyou for compiling this and making it easy. Now if only they could get a vSphere client that runs natively on Linux my life would be slightly more complete.

    [Reply]

  54. Jimmy says:

    worked perfectly :)

    [Reply]

  55. Brett says:

    You sir rock!

    Thanks for doing this. I was sick of booting XP under Virtualbox! I needed console access to a new datacenter install today. This works perfectly.

    Thanks again!

    [Reply]

  56. brian says:

    right on the money. Running w7 Ultimate. Ran through the above steps, which have been made very easy, and the vic runs like a champ, didn’t even require a reboot! awesome job man

    [Reply]

  57. Vin says:

    For those interested: This fix works for running vSphere on Server 2008R2 as well, although I had to create the “lib” folder as instructed.

    Probably not a lot of people run it on this system, but i thought this may be helpful.

    Great fix!

    [Reply]

  58. Telmo says:

    Worked like a charm. Thanks

    [Reply]

  59. [...] Fortunately, here are a handy set of directions to get it working. [...]

  60. Martin says:

    Thx for this very good and easy to understand workaraound!
    It works great!! :-)

    [Reply]

  61. [...] get on it). I’m posting this here more for my own sake than anyone else’s. Thanks to techhead.co.uk for the walkthrough – reproduced almost verbatim here. Also see this VMWare forum post for [...]

  62. TimC says:

    Two small corrections/updates I’d like to make.

    First, on your step 4, you tell people to use a capital L in Lib, while in step 1 you use a lowercase l.

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

    Should be:
    C:\Program Files (x86)\VMware\Infrastructure\Virtual Infrastructure Client\Launcher\lib

    Not a big deal, but it would be good to be consistent.

    Second, as far as I can tell, you have to reboot after creating the DEVPATH. It would not work for me until I did. Also, the only reason anyone should have to “Run as administrator” is if they set the DEVPATH for USER instead of SYSTEM.

    [Reply]

    Kiwi Si Reply:

    Hi Tim,

    Thanks for the comments – good point.

    I have updated the article accordingly.

    I didn’t have to rebooot after defining the DEVPATH though I have made a note in case others do.

    Thanks again,

    Simon

    [Reply]

  63. Andreas says:

    Its important, that you make this lines:

    Thats my fault, why i get the “Configuration System Failed to initialize” error.

    [Reply]

  64. guy says:

    works like a charme! ymmd! Very well worked out how to! thanks!

    [Reply]

  65. Marc says:

    Works like a charm, tried it on Windows 7 Ultimate x86 with the necessary adjustments.

    Thanks for the tutorial.

    Cheers

    [Reply]

  66. [...] that fixes the problem when installing on Windows 7 desktops – eliminating the need for the workaround VI admins have had to configure until [...]

  67. Clau says:

    Works perfect! Thanks!

    [Reply]

  68. Gerry ORourke says:

    thank you so much.
    Really appreciate it.

    Worked like a charm!

    [Reply]

  69. hmbm says:

    thanks bro…. it’s working!!!!

    [Reply]

  70. Daniel says:

    Worked perfectly thank you!
    Shame VMware haven’t addressed this problem.

    [Reply]

  71. Bhaskar says:

    Awesome. Very helpful notes. Great work.

    [Reply]

  72. Netpros says:

    Great, works, saved me considerable time

    [Reply]

  73. Daniel says:

    Great!!!!! It works!!!

    [Reply]

  74. Christian Worton says:

    Life saver, thankyou so much! :)

    [Reply]

  75. Erik vd Groef says:

    I am running Windows 7 also.

    Had installed the 3.5 client installed at first.

    Now i “upgraded” the 3.5 version with the Vsphere client and that works without making any changes as suggested.

    regards.

    [Reply]

  76. Burak Uysal says:

    With Vsphere U1 released 19th Nov 2009, Windows 7 and Windows 2008 R2 are officially supported and vsphere client works straight out of the box.

    Burak

    [Reply]

  77. [...] in prezent, ca sa poti folosi clientul pe Windows 7, erau necesare niste operatiuni suplimentare ( http://www.techhead.co.uk/running-vmware-vsphere-client-on-windows-7 sau search pe google), dar care nu ajutau intotdeauna. Mie cel putin, nu mi-a functionat niciodata [...]

  78. Kiwi Si says:

    Thanks to everyone who has commented so far in this post. So glad it has helped. :)

    Cheers,

    Simon
    TechHead

    [Reply]

  79. Pricey says:

    Great notes, my client works perfectly now.

    [Reply]

  80. ozaz1326 says:

    hi, l m getting an error when l do this process. while, when l double click on vmware vsphere client
    l m getting this error:

    CLR Error:80004005
    The program will be end.

    waiting your help.

    best regards…

    [Reply]

  81. Lester Penguinne says:

    Ok so after applying this fix (which does work) I noted that all of a sudden it stopped working. But after a reboot it worked again. cannot point to any specific thing that is/was causing it but I went in the the setting and lookaed at teh devpath variable. for some reason it was %program files%\….. so I changed it back to c:\program files and tada it works again. why it changed is a mystery (windows update perhaps?) but now that it is back it works again
    Thanks
    LP

    [Reply]

    Kiwi Si Reply:

    Hi Lester,

    Is your vSphere Client still playing up? Have you looked at upgrading to vSphere 4.0 Update 1 yet as this resolves the Windows 7 incompatibility issue?

    All the best,

    Simon

    [Reply]

  82. ADAM says:

    It worked !!!!!!!!!!!!!!!!!
    thanks buddy..

    [Reply]

  83. SLGizmo says:

    Thank you very much. I have been pulling my hair out for some time now and I don’t have much left hehehehe. Dude you rock thanks again.

    [Reply]

  84. Thorsten says:

    Thank you very much, that works fine on my Windows 7 x64 !!!!

    [Reply]

  85. Klemen Sor?nik says:

    Hi,

    this article make my life easier…: )
    Until now i have dedicated virtual machine running Windows XP and with vSphere client to manage my ESXI.

    Thank you a lot.

    Klemen S.

    [Reply]

    Kiwi Si Reply:

    Hi Klemen,

    Thanks for the comment – glad the article was of use. :)

    Cheers,

    Simon

    [Reply]

  86. shali says:

    thanks problem solved.

    [Reply]

  87. ChrisG says:

    If you are able to, install vShpere 4 update 1 (refer VMWare KB article 1011329.) This fixes this and a number of other problems.

    [Reply]

  88. Ted says:

    THANK YOU!!!

    You’d think thatr VMware would get their stuff together on this one!

    [Reply]

  89. [...] Posted on January 14, 2010. Filed under: VMWARE | Check this link : Running VMware vSphere Client on Windows 7 [...]

  90. Mohammad says:

    Thanks a lot. God bless u. it works properly

    [Reply]

  91. Michael Ramm says:

    THANKS so much for this, Simon. I got my new Windows 7 Dell Latitude E6500 and ran into the problem (because I have not updated my Hosts to U1, yet). Your screenshots made it SO EASY when everywhere else I looked was a sea of text to wade through.

    [Reply]

    Kiwi Si Reply:

    Hi Michael,

    Glad this post has come in useful to you and others. I’m personally a big fan of using screen shots and pictures – makes it much easier to follow. Even when writing it. :)

    All the best,

    Simon

    [Reply]

Leave a Reply

You can add images to your comment by clicking here.

PHD Virtual - esXpress
StarWind Software
Virtualization Pro Summit 2010
Virtu-Al.net
TrainSignal - vSphere Pro
Veeam - Backup & Replication